[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] libunwind backtrace on mips64
From: |
Siddharth Bhojnagarwala |
Subject: |
Re: [Libunwind-devel] libunwind backtrace on mips64 |
Date: |
Thu, 22 Dec 2011 00:56:08 +0000 |
Here is the output with debug level set to 31. Any clues?
>_ULmips_init_local: (cursor=0xffff86aad0)
>_ULmips_step: (cursor=0xffff86aad0)
>get_rs_cache: get_rs_cache: acquiring lock
>_ULmips_dwarf_find_proc_info: looking for IP=0x5555785d9f
>callback: checking , base=0x0)
>callback: checking /opt/thoroughbred/lib/libgtest.so.0,
base=0x55555a0000)
>callback: checking /opt/thoroughbred/lib/libpthread.so.0,
base=0x5555650000)
>callback: checking /opt/thoroughbred/lib/librt.so.1,
base=0x5555680000)
>callback: checking
/opt/thoroughbred/lib/libTosUtilsTestProto.so, base=0x55556a0000)
>callback: checking /opt/thoroughbred/lib/libdl.so.2,
base=0x55556f0000)
>callback: checking
/opt/thoroughbred/lib/libtcmalloc_debug.so.0, base=0x5555710000)
>callback: found table
`/opt/thoroughbred/lib/libtcmalloc_debug.so.0': segbase=0x555579ca20, len=593,
gp=0xa7550, table_data=0x555579ca2c
>callback: Trying to find .debug_frame
>locate_debug_info: calculated bounds of 55710000-557e6990 for
'/opt/thoroughbred/lib/libtcmalloc_debug.so.0'
>callback: couldn't load .debug_frame
>lookup: e->start_ip_offset = fffbf300
>lookup: e->start_ip_offset = fffc904c
>lookup: e->start_ip_offset = ffff238c
>lookup: e->start_ip_offset = fffef670
>lookup: e->start_ip_offset = fffca234
>lookup: e->start_ip_offset = fffca840
>lookup: e->start_ip_offset = fffeefe0
>lookup: e->start_ip_offset = fffcaa50
>lookup: e->start_ip_offset = fffcaad8
>_ULmips_dwarf_search_unwind_table: ip=0x5555785d9f,
start_ip=0xfffffffffffcaad8
>_ULmips_dwarf_search_unwind_table: e->fde_offset = 18718, segbase = 5579ca20,
>debug_frame_base = 0, fde_addr = 557b5138
>_ULmips_dwarf_extract_proc_info_from_fde: FDE @ 0x55557b5138
>_ULmips_dwarf_extract_proc_info_from_fde: looking for CIE at
address 557b50e8
>parse_cie: CIE parsed OK, augmentation = "zRP",
handler=0x5555a3cb18
>_ULmips_dwarf_extract_proc_info_from_fde: FDE covers IP
0x55557674f8-0x5555767590, LSDA=0x0
>put_rs_cache: unmasking signals/interrupts and releasing lock
>_ULmips_dwarf_step: returning -10
>_ULmips_init_local: (cursor=0xffff862430)
>_ULmips_step: (cursor=0xffff862430)
>get_rs_cache: get_rs_cache: acquiring lock
>put_rs_cache: unmasking signals/interrupts and releasing lock
>_ULmips_dwarf_step: returning 1
>_ULmips_step: (cursor=0xffff862430)
>get_rs_cache: get_rs_cache: acquiring lock
>_ULmips_dwarf_find_proc_info: looking for IP=0x5555777023
>callback: checking , base=0x0)
>callback: checking /opt/thoroughbred/lib/libgtest.so.0,
base=0x55555a0000)
>callback: checking /opt/thoroughbred/lib/libpthread.so.0,
base=0x5555650000)
>callback: checking /opt/thoroughbred/lib/librt.so.1,
base=0x5555680000)
>callback: checking
/opt/thoroughbred/lib/libTosUtilsTestProto.so, base=0x55556a0000)
>callback: checking /opt/thoroughbred/lib/libdl.so.2,
base=0x55556f0000)
>callback: checking
/opt/thoroughbred/lib/libtcmalloc_debug.so.0, base=0x5555710000)
>callback: found table
`/opt/thoroughbred/lib/libtcmalloc_debug.so.0': segbase=0x555579ca20, len=593,
gp=0xa7550, table_data=0x555579ca2c
>callback: Trying to find .debug_frame
>locate_debug_info: calculated bounds of 55710000-557e6990 for
'/opt/thoroughbred/lib/libtcmalloc_debug.so.0'
>callback: couldn't load .debug_frame
>lookup: e->start_ip_offset = fffbf300
>lookup: e->start_ip_offset = fffc904c
>lookup: e->start_ip_offset = ffff238c
>lookup: e->start_ip_offset = fffef670
>lookup: e->start_ip_offset = fffca234
>lookup: e->start_ip_offset = fffca840
>lookup: e->start_ip_offset = fffeefe0
>lookup: e->start_ip_offset = fffcaa50
>lookup: e->start_ip_offset = fffcaad8
>_ULmips_dwarf_search_unwind_table: ip=0x5555777023,
start_ip=0xfffffffffffcaad8
>_ULmips_dwarf_search_unwind_table: e->fde_offset = 18718, segbase = 5579ca20,
>debug_frame_base = 0, fde_addr = 557b5138
>_ULmips_dwarf_extract_proc_info_from_fde: FDE @ 0x55557b5138
>_ULmips_dwarf_extract_proc_info_from_fde: looking for CIE at
address 557b50e8
>parse_cie: CIE parsed OK, augmentation = "zRP",
handler=0x5555a3cb18
>_ULmips_dwarf_extract_proc_info_from_fde: FDE covers IP
0x55557674f8-0x5555767590, LSDA=0x0
>put_rs_cache: unmasking signals/interrupts and releasing lock
>_ULmips_dwarf_step: returning -10
Regards,
Sid
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Arun Sharma
Sent: Wednesday, December 21, 2011 6:48 PM
To: Siddharth Bhojnagarwala
Cc: address@hidden
Subject: Re: [Libunwind-devel] libunwind backtrace on mips64
On Wed, Dec 21, 2011 at 2:56 PM, Siddharth Bhojnagarwala <address@hidden> wrote:
> I am wondering if libunwind is not able to get full backtrace on
> mips64 all the time? I mean does use of certain things (line inline
> functions, function pointers, static functions) break libunwind? It
> is only able to get 1 level backtrace.
>
You want to compile libunwind with
configure --enable-debug
and run with UNW_DEBUG_LEVEL=n to figure out what's going wrong.
Examples here:
http://thread.gmane.org/gmane.comp.lib.unwind.devel/520/focus=522
-Arun