Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Understanding backtraces in Google Play Console

Understanding backtraces in Google Play Console

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 267 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by
    #1

    Hello,

    In Google Play Console, I have backtraces that I can't understand, like :

    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    pid: 0, tid: 21857 >>> net.test <<<
    
    backtrace:
      #00 pc 0x000000000008a0d4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
      #01 pc 0x0000000000045b88 /apex/com.android.runtime/lib64/bionic/libc.so (free+96)
      #02 pc 0x0000000000220308 /data/app/~~j88M7vCssnoC0vnYTkcNbA==/net.test-XbZqTMoJQhwU33E2CodCpg==/lib/arm64/libtest_arm64-v8a.so (QTest:closeEvent(QCloseEvent*)+780)
      #03 pc 0x00000000001c72bc /data/app/~~j88M7vCssnoC0vnYTkcNbA==/net.test-XbZqTMoJQhwU33E2CodCpg==/lib/arm64/libQt5Widgets_arm64-v8a.so (QWidget::event(QEvent*)+124)
    

    What do the numbers after the functions mean? For example closeEvent(QCloseEvent*)+780

    How to find the corresponding line in my code?

    Thank you for your help!

    JonBJ 1 Reply Last reply
    0
    • F Francky033

      Hello,

      In Google Play Console, I have backtraces that I can't understand, like :

      *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      pid: 0, tid: 21857 >>> net.test <<<
      
      backtrace:
        #00 pc 0x000000000008a0d4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
        #01 pc 0x0000000000045b88 /apex/com.android.runtime/lib64/bionic/libc.so (free+96)
        #02 pc 0x0000000000220308 /data/app/~~j88M7vCssnoC0vnYTkcNbA==/net.test-XbZqTMoJQhwU33E2CodCpg==/lib/arm64/libtest_arm64-v8a.so (QTest:closeEvent(QCloseEvent*)+780)
        #03 pc 0x00000000001c72bc /data/app/~~j88M7vCssnoC0vnYTkcNbA==/net.test-XbZqTMoJQhwU33E2CodCpg==/lib/arm64/libQt5Widgets_arm64-v8a.so (QWidget::event(QEvent*)+124)
      

      What do the numbers after the functions mean? For example closeEvent(QCloseEvent*)+780

      How to find the corresponding line in my code?

      Thank you for your help!

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Francky033
      I think they are "offsets" into the specified function. If you were lucky they would be source line numbers, but I suspect they are not (no source code/not compiled for debug) and are just the byte offset from start of function to the statement it was executing. And I don't think there is any way of mapping that back to a line number, unless you want to look at the disassembly and figure out what that corresponds to in the source.

      F 1 Reply Last reply
      0
      • JonBJ JonB

        @Francky033
        I think they are "offsets" into the specified function. If you were lucky they would be source line numbers, but I suspect they are not (no source code/not compiled for debug) and are just the byte offset from start of function to the statement it was executing. And I don't think there is any way of mapping that back to a line number, unless you want to look at the disassembly and figure out what that corresponds to in the source.

        F Offline
        F Offline
        Francky033
        wrote on last edited by
        #3

        Thanks @JonB for the precisions. I am using Android Studio to identify the lines of code, and it seems to work. Thanks!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved