From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: 2.6.3 Heisenbug in unwind.c
Date: Thu, 11 Mar 2004 07:56:03 +0000 [thread overview]
Message-ID: <16464.7059.383875.295183@napali.hpl.hp.com> (raw)
In-Reply-To: <2654.1077624337@ocs3.ocs.com.au>
>>>>> On Wed, 10 Mar 2004 16:27:07 +1100, Keith Owens <kaos@sgi.com> said:
Keith> One possible contender for this unwind Heisenbug. Building a
Keith> 2.6.4-rc3 kernel with gcc version 3.2.3 20030502 (Red Hat
Keith> Linux 3.2.3-24) and GNU ld version 2.14.90.0.4 20030523. The
Keith> unwind data in vmlinux is invalid, with overlapping entries.
Keith> If this command reports anything at all then your unwind data
Keith> is stuffed.
Keith> readelf -u vmlinux | grep '+[a-f0-9]*>:' | head -5
Keith> An extract of the descriptor triplets looks like this. It
Keith> seems that the unwind descriptors for .text and .init.text
Keith> have been merged together, as if both sections started at the
Keith> same offset.
Keith> 00015a00 00015a70 005ced40
Keith> 00015a80 00015b20 005ced58
Keith> 00015ac0 00015d10 005c6828 Illegal insert, belongs to __init text
Keith> 00015b20 00015ca0 005ced70
Keith> 00015ca0 00015d30 005ced90
Keith> 00015d20 00015e50 005c6848 Illegal insert, belongs to __init text
Keith> 00015d40 00015f90 005ceda8
Keith> 00015e60 00015f90 005c6868
Keith> 00015fa0 000162e0 005c6888
How nasty!
I don't see this problem with:
gcc version 3.3.3 20040125
ld version 2.14.90.0.7 20031029 Debian GNU/Linux
I doubt it's a gcc bug. Can you try with a more recent version
of binutils?
Keith> Depending on precisely where the interrupt occurs, you may
Keith> pick up a correct or an incorrect unwind descriptor. Which
Keith> in turn affects the backtrace, and explains why changing code
Keith> size may the Heisenbug move.
Yeah, that would certainly explain it! Good hunting!
--david
next prev parent reply other threads:[~2004-03-11 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16464.7059.383875.295183@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox