[PyQt] Android crashes

Kálmán Viktor viktorvector at gmail.com
Tue Apr 17 10:43:33 BST 2018


We have recently released our Android client in the app store and I see
weird crashes, there is mainly 2 categories.

One looks like this:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.my.app <<<

backtrace:
  #00  pc 00000000007a323c
/data/app/com.my.app-iKDbJjkEEJRo37MXTF-nlQ==/lib/arm/libMyapp.so
(PySys_SetObject+24)



The other looks like this
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.my.app <<<

backtrace:
  #00  pc 000000000004b520  /system/lib/libc.so (tgkill+12)
  #01  pc 000000000001a453  /system/lib/libc.so (abort+54)
  #02  pc 000000000006ce5b
/data/app/com.my.aoo-cGOoB_LsJlH2RTPTKYMGyw==/lib/arm/libQt5Core.so
(_ZNK14QMessageLogger5fatalEPKcz+50)
  #03  pc 000000000034cea7
/data/app/com.my.app-cGOoB_LsJlH2RTPTKYMGyw==/lib/arm/libMyapp.so


I've seen the 2nd on my development phone a few times, it usually happens
if the app crashes and it tries to log it but it fails, about the
PySys_SetObject
I have no idea.

Also I've noticed that both crashes have only happened on Android 8/8.1
(tho the sample size is very small, only ~10+ crashes)

I'm using NDK r10e, Python 3.5.3, Qt 5.9.1 (and PyQt version that was out
that time).

Has anyone faced similar issues before? Would upgrading to 5.9.5 and newer
PyQt might help or just a waste of manpower?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180417/ee141ad4/attachment.html>


More information about the PyQt mailing list