Stack traces en Google console ...

33 views
Skip to first unread message

Franck Richard

unread,
Nov 17, 2020, 4:46:57 PM11/17/20
to android-ndk

Hello,

I develop applications for Android. I regularly receive stack traces on Google console which indicate crashes.

The problem is that I don't know how to use them...

For example, here is one of them:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> net.winstars3 <<<<<

backtrace:
  #00 pc 00000000001f8234 /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libWinStars3_arm64-v8a.so (QWinStars3View::processCalculations()+94776)
  #00 pc 000000000000002ff344 /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libWinStars3_arm64-v8a.so
  #00 pc 000000000021405c /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libQt5Core_arm64-v8a.so
  #00 pc 00000000000000218d10 /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libQt5Core_arm64-v8a.so (QTimer::timeout(QTimer::QPrivateSignal)+56)
  #00 pc 0000000000000020cd30 /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libQt5Core_arm64-v8a.so (QObject::event(QEvent*)+120)
  #00 pc 0000000000000018fe88 /data/app/net.winstars3-GoGDvRdK5EFbUfuQgLSrXA==/lib/arm64/libQt5Widgets_arm64-v8a.so (QApplicationPrivate::notify_helper(QObject*, QEvent*)+304)



What does the +94776 after the processCalculs() function mean? Is it the number of bytes between the start of the function and the crash?

How to convert this number into a line number in the source code.

Using Android Studio, is it possible to define a breakpoint with these parameters?

Thank you!

Andrew Esh

unread,
Nov 17, 2020, 11:51:44 PM11/17/20
to andro...@googlegroups.com
The plus numbers are the bytes of offset after the start of the named symbol where the instruction pointer was for that frame.

https://stackoverflow.com/questions/18012737/what-do-the-numbers-mean-in-a-stack-trace

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/2154a5a2-cce6-4596-932a-421b213547a4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages