[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Application crashes on Android while trying to log error message
From:       Kálmán Viktor <viktorvector () gmail ! com>
Date:       2018-08-28 13:30:23
Message-ID: CA+sJfQzEBWLAgod3tYaoGwtJmpvBu2YB9QqC9axBYiiAKhbjCw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I have these "stacktraces" in my Play Console but they are not too verbose

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.my.app <<<
backtrace:
 #00 pc 000000000004b590 /system/lib/libc.so (tgkill+12)
 #01 pc 000000000001a473 /system/lib/libc.so (abort+54)
 #02 pc 000000000006ce5b
/data/app/com.my.app-20mmUlGYjBL4x4J0WwRNnA==/lib/arm/libQt5Core.so
(_ZNK14QMessageLogger5fatalEPKcz+50)
 #03 pc 000000000034cec7
/data/app/com.my.app-20mmUlGYjBL4x4J0WwRNnA==/lib/arm/libMyApp.so


*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.my.app <<<
backtrace:
 #00 pc 0000000000049c34 /system/lib/libc.so (tgkill+12)
 #01 pc 00000000000473d3 /system/lib/libc.so (pthread_kill+34)
 #02 pc 000000000001d525 /system/lib/libc.so (raise+10)
 #03 pc 0000000000019071 /system/lib/libc.so (__libc_android_abort+34)
 #04 pc 00000000000170d4 /system/lib/libc.so (abort+4)
 #05 pc 000000000006ce5b /data/app/com.my.app-2/lib/arm/libQt5Core.so
(_ZNK14QMessageLogger5fatalEPKcz+50)
 #06 pc 000000000034cec7 /data/app/com.my.app-2/lib/arm/libMyApp.so


Would it be possible to somehow catch these in Python so the app doesn't
crash?
(I tested a build on my phone that returns None in a pyqtProperty(bool)
decorated method and basically got the same stacktrace but it was a little
more verbose, however on the live app I have no idea which method is the
bad cause I get no information, the app just crashes)

[Attachment #5 (text/html)]

<div dir="ltr">Hello,<div><br></div><div>I have these &quot;stacktraces&quot; in my \
Play Console but they are not too verbose</div><div><br></div><div><div>*** *** *** \
*** *** *** *** *** *** *** *** *** *** *** *** ***</div><div>pid: 0, tid: 0 \
&gt;&gt;&gt; com.my.app &lt;&lt;&lt;</div><div></div><div>backtrace:</div><div>  #00 \
pc 000000000004b590 /system/lib/libc.so (tgkill+12)</div><div>  #01 pc \
000000000001a473 /system/lib/libc.so (abort+54)</div><div>  #02 pc 000000000006ce5b \
/data/app/com.my.app-20mmUlGYjBL4x4J0WwRNnA==/lib/arm/libQt5Core.so \
(_ZNK14QMessageLogger5fatalEPKcz+50)</div><div>  #03 pc 000000000034cec7 \
/data/app/com.my.app-20mmUlGYjBL4x4J0WwRNnA==/lib/arm/libMyApp.so</div><div>  \
</div><div>  </div><div>*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** \
***</div><div>pid: 0, tid: 0 &gt;&gt;&gt; com.my.app \
&lt;&lt;&lt;</div><div></div><div>backtrace:</div><div>  #00 pc 0000000000049c34 \
/system/lib/libc.so (tgkill+12)</div><div>  #01 pc 00000000000473d3 \
/system/lib/libc.so (pthread_kill+34)</div><div>  #02 pc 000000000001d525 \
/system/lib/libc.so (raise+10)</div><div>  #03 pc 0000000000019071 \
/system/lib/libc.so (__libc_android_abort+34)</div><div>  #04 pc 00000000000170d4 \
/system/lib/libc.so (abort+4)</div><div>  #05 pc 000000000006ce5b \
/data/app/com.my.app-2/lib/arm/libQt5Core.so \
(_ZNK14QMessageLogger5fatalEPKcz+50)</div><div>  #06 pc 000000000034cec7 \
/data/app/com.my.app-2/lib/arm/libMyApp.so</div></div><div><br></div><div><br></div><div>Would \
it be possible to somehow catch these in Python so the app doesn&#39;t crash?<br>(I \
tested a build on my phone that returns None in a pyqtProperty(bool) decorated method \
and basically got the same stacktrace but it was a little more verbose, however on \
the live app I have no idea which method is the bad cause I get no information, the \
app just crashes)</div><div><br></div><div><br></div><div><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic