Stack traces en Google console ...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Stack traces en Google console ...

Franck Richard

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!

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/2154a5a2-cce6-4596-932a-421b213547a4n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Stack traces en Google console ...

Andrew Esh-3
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

On Tue, Nov 17, 2020 at 3:46 PM Franck Richard <[hidden email]> wrote:

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!

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/2154a5a2-cce6-4596-932a-421b213547a4n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAAjyq-evdD3%2B-qearpgd%2BuNrV-CMnHoS8a%2BQ7Obyu2VoaH0__g%40mail.gmail.com.