libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] how can used libuwind ?


From: Yang Jie
Subject: [Libunwind-devel] how can used libuwind ?
Date: Fri, 18 Aug 2017 12:39:26 +0800

I use libuwind in openwrt like this :
https://github.com/openwrt/openwrt/tree/master/package/libs/libunwind

I run Gtest-trace for test, get this result:

Normal backtrace:
        normal trace:

        via backtrace():

        via unw_backtrace():
FAILURE: unw_step() loop and unw_backtrace() depths differ: 0 vs. 0
FAILURE: unw_step() loop and backtrace() depths differ: 0 vs. 0

Backtrace across signal handler:
sighandler: got signal 15, sp=0x7fcb7bd8
        normal trace:

        via backtrace():

        via unw_backtrace():
FAILURE: unw_step() loop and unw_backtrace() depths differ: 0 vs. 0
FAILURE: unw_step() loop and backtrace() depths differ: 0 vs. 0

Backtrace across signal handler on alternate stack:
sighandler: got signal 15, sp=0x77cf8ce8
        normal trace:

        via backtrace():

        via unw_backtrace():
FAILURE: unw_step() loop and unw_backtrace() depths differ: 0 vs. 0
FAILURE: unw_step() loop and backtrace() depths differ: 0 vs. 0
FAILURE: detected 6 errors

I run Gtest-bt for test, get this result:
Normal backtrace:
        explicit backtrace:
0000000000400df8 <main+0x438>                     (sp=000000007ffee7a0)


        via backtrace():

Backtrace across signal handler:
sighandler: got signal 15, sp=0x7ffee548
        explicit backtrace:
0000000000400df8 <main+0x438>                     (sp=000000007ffee448)


        via backtrace():

Backtrace across signal handler on alternate stack:
sighandler: got signal 15, sp=0x77768ce8
        explicit backtrace:
0000000000400df8 <main+0x438>                     (sp=0000000077768be8)


        via backtrace():
SUCCESS.


I used toolchain:
mipsel-openwrt-linux-uclibc-gcc

how can  solve this problem?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]