Git Product home page Git Product logo

android-ndk-backtrace-test's People

Contributors

alexeikh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-ndk-backtrace-test's Issues

pc addr difference with aosp libunwind.so

I use both LIBUNWIND_WITH_REGISTERS_METHOD & UNWIND_BACKTRACE_WITH_REGISTERS_METHOD to get backtrace, but the pc addr is a little difference with tombstone file, the offset is typically 4 or 2 before I reset the Thumb bit.

I guess there is some difference between libunwind.so & libunwind_llvm.so, do you know why?

Here is mine:
backtrace:
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #00 pc 0001761c /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (+-487340516)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #1 pc 00017610 /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (crash5()+7)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #02 pc 0001762a /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (crash4()+7)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #03 pc 00017634 /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (crash3()+7)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #04 pc 0001763e /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (crash2()+7)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #05 pc 00017650 /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (crash1(void*)+15)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #06 pc 00047094 /system/lib/libc.so (+-334712684)
06-17 14:31:39.584 9852 9784 D NativeCrashHandler: #07 pc 00019bde /system/lib/libc.so (+-334898210)

Android tombstone:
backtrace:
06-17 14:31:54.809 10389 10389 F DEBUG : #00 pc 0001761c /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so
06-17 14:31:54.809 10389 10389 F DEBUG : #1 pc 0001760d /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (_Z6crash5v+4)
06-17 14:31:54.809 10389 10389 F DEBUG : #02 pc 00017627 /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (_Z6crash4v+4)
06-17 14:31:54.809 10389 10389 F DEBUG : #03 pc 00017631 /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (_Z6crash3v+4)
06-17 14:31:54.809 10389 10389 F DEBUG : #04 pc 0001763b /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (_Z6crash2v+4)
06-17 14:31:54.809 10389 10389 F DEBUG : #05 pc 0001764d /data/app/com.smile.gifmaker-1/lib/arm/libnative-crash-handler.so (_Z6crash1Pv+12)
06-17 14:31:54.809 10389 10389 F DEBUG : #06 pc 00047093 /system/lib/libc.so (_ZL15__pthread_startPv+22)
06-17 14:31:54.809 10389 10389 F DEBUG : #07 pc 00019bdd /system/lib/libc.so (__start_thread+6)

Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.