From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1c2378a3b7ece8ec,start X-Google-Attributes: gidfee84,public From: Art Stine Subject: Problems with ladebug and DECthreads Date: 1996/07/25 Message-ID: <28enm0dcgx.fsf@cobra.visix.com>#1/1 X-Deja-AN: 170091951 organization: Visix Software Inc. newsgroups: comp.unix.osf.osf1 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