From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,330023513388f0b4,start X-Google-Attributes: gid1164f8,public X-Google-Thread: f678f,330023513388f0b4,start X-Google-Attributes: gidf678f,public From: dilip@best.com (Dilip Dasilva) Subject: ladebug and threads Date: 1997/04/16 Message-ID: <5j38ue$bf6@shellx.best.com>#1/1 X-Deja-AN: 235262549 Organization: BEST Internet Communications Newsgroups: comp.unix.osf.misc,comp.sys.dec Hi, I have a program that has multiple threads. When I use a core file to find out where the program crashed, it gives me very little info about the thread that actually crashed. For instance, the stack trace of the thread that crashed lists the following info. I cannot go up far enough in the stack to find out where in my code the thread crashed. The other threads show exactly where they are in the code (usually blocked). Without being able to pinpoint the crash, the core file is practically useless. Thanks, Dilip Stack trace for thread 2 >0 0x3ff8053eab0 in nxm_thread_kill(0x3ffc0081e10, 0x3ffc0080338, 0x8, 0x3ffc0\ 080310, 0x2, 0x14001a030) DebugInformationStrippedFromFile19:??? #1 0x3ff8056ed4c in pthread_kill(0x3ffc0082590, 0x14001a030, 0x2130455, 0x3ff8\ 055be50, 0x0, 0x140057e78) DebugInformationStrippedFromFile99:??? #2 0x3ff805756ec in UnknownProcedure10FromFile103(0x2130455, 0x3ff8055be50, 0x\ 0, 0x140057e78, 0x3ff8010fb04, 0x3ffc0080c50) DebugInformationStrippedFromFile1\ 03:??? #3 0x3ff8010fb00 in /usr/shlib/libc_r.so #4 0x3ff80159f40 in raise(0x3ff8010fb04, 0x3ffc0080c50, 0x3ff80159f44, 0x3ff80\ 575618, 0x3ff80170a6c, 0x0) DebugInformationStrippedFromFile441:??? #5 0x3ff80170a68 in abort(0x140057438, 0x0, 0x0, 0x0, 0xffffffff00000000, 0x17\ 7db013) DebugInformationStrippedFromFile329:??? #6 0x3ff80565b04 in errAbort(0x0, 0x0, 0xffffffff00000000, 0x177db013, 0x3ff80\ 56639c, 0x3ffc00802a0) DebugInformationStrippedFromFile90:??? #7 0x3ff80566398 in UnknownProcedure2FromFile91(0x1400576f8, 0x3ff80566864, 0x\ 1400579d8, 0x3ff8055be50, 0x140057a80, 0x3ff807b3488) DebugInformationStrippedF\ romFile91:??? #8 0x3ff807b220c in UnknownProcedure4FromFile1(0x3ff807b3624, 0x0, 0x1400576f8\ , 0x3ff80574490, 0x140057a48, 0x3ff80566864) DebugInformationStrippedFromFile1:\ ??? #9 0x3ff807b3620 in UnknownProcedure16FromFile1(0x0, 0x140057e78, 0x140057e78,\ 0x140056f18, 0xabadabad00beed00, 0x0) DebugInformationStrippedFromFile1:??? #10 0x3ff807b3664 in exc_unwind(0x140057e78, 0x140056f18, 0xabadabad00beed00, 0\ x0, 0x3ff807b254c, 0x0) DebugInformationStrippedFromFile1:??? #11 0x3ff807b2548 in exc_raise_exception(0x10, 0x100000041, 0x100007f21080002, \ 0x0, 0x41, 0x0) DebugInformationStrippedFromFile1:??? #12 0x3ff80566864 in pthread_exc_raise_np(0x0, 0x0, 0x3ff80573ee0, 0x120018030,\ 0x14001a030, 0x0) DebugInformationStrippedFromFile91:??? #13 0x3ff80574490 in thdBase(0x0, 0x0, 0x0, 0x0, 0x45586732, 0x3) DebugInformat\ ionStrippedFromFile101:???