public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.3 Heisenbug in unwind.c
@ 2004-02-24 12:05 Keith Owens
  2004-02-24 14:29 ` David Mosberger
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Keith Owens @ 2004-02-24 12:05 UTC (permalink / raw)
  To: linux-ia64

I am seeing a Heisenbug in the 2.6.3 kernel unwind code.  The symptoms
are that the backtrace terminates early, usually failing to unwind past
an interrupt frame.  Andreas, this _may_ be what you are seeing.

Changing the config options (sn2->dig) makes backtrace work again.
Turning on UNW_DEBUG to debug the unwinder makes backtrace work again :(.
Adding 30 dummy functions (which only call printk and are never called
themselves) to unwind.c makes the backtrace work again.

That last one really worries me.  All it does is shift the position of
the real unwind code within the kernel without changing the unwind code
itself.  Looks like an uninitialised pointer somewhere.

gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
GNU assembler version 2.14.90.0.4 (ia64-unknown-linux-gnu) using BFD version 2.14.90.0.4 20030523


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-17 22:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-24 12:05 2.6.3 Heisenbug in unwind.c Keith Owens
2004-02-24 14:29 ` David Mosberger
2004-03-10  5:27 ` Keith Owens
2004-03-11  7:56 ` David Mosberger
2004-03-11  8:14 ` Keith Owens
2004-03-15  6:52 ` Keith Owens
2004-03-16  6:22 ` Keith Owens
2004-03-16 10:42 ` Keith Owens
2004-03-17 22:46 ` Keith Owens

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