From: Art Stine <abstine@cobra.visix.com>
Subject: Problems with ladebug and DECthreads
Date: 1996/07/25 [thread overview]
Message-ID: <28enm0dcgx.fsf@cobra.visix.com> (raw)
I just installed DU v4.0 (and the associated patch OSF400-037 that was on
ftp.service.digital.com) and for the life of me, I cannot seem to
make ladebug call pthread_debug() or pthread_debug_cmd while running
my MT program. I followed the suggestion the the Guide to DECthreads
about calling pthread_debug() early on in the program execution
(I call it right off in main() ) and it works when called from
the program, but when I try to call it from ladebug, it always
crashes:
162 %ladebug _vmutextest
Welcome to the Ladebug Debugger Version 4.0-19
------------------
object file name: _vmutextest
Reading symbolic information ...done
(ladebug) stop in _vmutexDestroy
[#1: stop in void _vmutexDestroy(vmutex*) ]
(ladebug) run
Context initialization failed.
Unable to switch to decthreads mode.
DECthreads debug> q
< program runs for awhile, then hits the breakpoint >
[1] stopped at [_vmutexDestroy:100 0x120008994]
100 if (!mutex)
(ladebug) call pthread_debug()
-- Thread received signal SEGV
stopped at [utlStrncpy: ??? 0x3ff81027cd0]
(ladebug)
If I do this from dbx, it works fine ... hmmm...
thanks for any pointers
-art
---- __
Art Stine \ / /(_ /\/ 11440 Commerce Park Drive
Software Engineer \/ / __)/ /\ Reston, Virginia 22091
abstine@visix.com Software Inc Voice: (703) 758-2767 (direct)
(703) 758-8230 (main)
"Spambi, Spambi, as much fun as (800) 832-8668 (toll-free)
potted meat can-be..." FAX: (703) 758-0233
reply other threads:[~1996-07-25 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox