From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: ladebug and threads
Date: 1997/04/18 [thread overview]
Message-ID: <335760D3.2D85@zko.dec.com> (raw)
In-Reply-To: 5j38ue$bf6@shellx.best.com
Dilip Dasilva wrote:
>
> 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.
That's all there is. The trace goes all the way to "thdBase" (#13),
which is the base frame of any thread's call stack.
What's happened here is that an exception was raised in the thread, and
not handled. The stack was unwound to thdBase, which didn't want it, and
so it was reraised. Since there were no more exception frames, the
process was aborted.
Although we'd thought we'd fixed that problem in Digital UNIX 4.0 with
the switch to the architectural exception model, it turned out that
there were a lot of subtle binary compatibility issues that confused
things, and it still happened more often that it should.
This has been fixed for quite a while in current sources, although, for
some reason, it hasn't been patched into the currently available earlier
versions as far as I can tell.
> Stack trace for thread 2
.
.
.
> #13 0x3ff80574490 in thdBase(0x0, 0x0, 0x0, 0x0, 0x45586732, 0x3)
> DebugInformat\
> ionStrippedFromFile101:???
/---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\
| Digital Equipment Corporation 110 Spit Brook Rd ZKO2-3/Q18 |
| 603.881.2218, FAX 603.881.0120 Nashua NH 03062-2698 |
\-----------------[ Better Living Through Concurrency ]----------------/
prev parent reply other threads:[~1997-04-18 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-16 4:00 ladebug and threads Dilip Dasilva
1997-04-18 4:00 ` Dave Butenhof [this message]
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