[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] libunwind on x86 (32-bit) not using unwind info?
From: |
Ralph Loader |
Subject: |
Re: [Libunwind-devel] libunwind on x86 (32-bit) not using unwind info? |
Date: |
Mon, 31 Mar 2008 21:25:50 +1300 |
> >
> > 2. unwinding with -fomit-frame-pointer doesn't work and often
> > segfaults.
> >
>
> Which version of libunwind are you testing?
I first noticed problems with whatever Fedora rawhide has. So I
built 0.99-alpha myself and still have the same problems.
Attached is a test-case. If you build it with -fomit-frame-pointer,
and run, it crashes inside libunwind almost immediately.
If you build it without -fomit-frame-pointer, then it doesn't crash,
but something is still going wrong with the unwinding; you hit
dwarf_find_proc_info with some wierd addresses:
IP=0xbfb3c5a3 not found
IP=0xbfb3c5d3 not found
IP=0xbfb3c5af not found
IP=0xbfb3c5bb not found
IP=0xbfb3c5d3 not found
IP=0xbfb3c5eb not found
IP=0xbfb3c5bb not found
That's somewhere above the stack and definately not a real IP...
Ralph.
unwind-test.c
Description: Text Data