Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problems with ladebug and DECthreads
@ 1996-07-25  4:00 Art Stine
  0 siblings, 0 replies; only message in thread
From: Art Stine @ 1996-07-25  4:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-25  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-25  4:00 Problems with ladebug and DECthreads Art Stine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox