[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Testing time
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] Testing time |
Date: |
Thu, 31 Mar 2011 23:45:25 -0700 |
On Fri, Mar 25, 2011 at 8:12 PM, Arun Sharma <address@hidden> wrote:
> FAILURE: unw_step() returned -8 for ip=2b566374879e (start ip=2b566374879e)
> unwind failed with ret=-8
> FAILURE: detected 2 errors
> FAIL: run-ptrace-misc
I looked into this failure a bit more. It looks like missing unwind
info for _dl_rtld_di_serinfo in /lib/ld-linux.so.2 (rtld) shipped with
ubuntu.
Running with -v shows:
00007ff044d2b79d _dl_rtld_di_serinfo+0x1c6d (sp=00007fff4bb1ae50)
proc=00007ff044d2b5c0-00007ff044d2c3ad
handler=0 lsda=0
00007ff044d2f791 _dl_rtld_di_serinfo+0x5c61 (sp=00007fff4bb1ae60)
proc=00007ff044d2f6a0-00007ff044d2f894
handler=0 lsda=0
00007ff044d36325 _dl_make_stack_executable+0x2b55 (sp=00007fff4bb1aeb0)
proc=00007ff044d362f0-00007ff044d36351
handler=0 lsda=0
000000000040075c func+0x8c (sp=00007fff4bb1af00)
proc=00000000004006d0-0000000000400776
handler=0 lsda=0
000000000040070b func+0x3b (sp=00007fff4bb1bf30)
proc=00000000004006d0-0000000000400776
handler=0 lsda=0
000000000040124e bar+0xace (sp=00007fff4bb1cf60)
proc=0000000000400780-0000000000401274
handler=0 lsda=0
00000000004012b3 main+0x33 (sp=00007fff4bb1d330)
proc=0000000000401280-00000000004012ca
handler=0 lsda=0
00007ff0449bcc4d __libc_start_main+0xfd (sp=00007fff4bb1d340)
proc=00007ff0449bcb50-00007ff0449bcd17
handler=0 lsda=0
0000000000400609 _start+0x29 (sp=0000FAILURE:
unw_step() returned -8 for ip=7ff044d2b79e (start ip=7ff044d2b79e)
and sure enough, readelf shows there is no unwind info for
_dl_rtld_di_serinfo. Hopefully, gcc-4.5+ compiled distros get this
right.
-Arun