[Interest] Qt Android Crash on libQt5Purchasing

Elvis Stansvik elvstone at gmail.com
Fri Jun 14 17:37:56 CEST 2019


Den fre 14 juni 2019 11:36Nuno Santos <nunosantos at imaginando.pt> skrev:

> Hi,
>
> I’m having a real hard time find a solution to a crash that is hunting me
> for a couple of months on Android systems with my Qt based Android apps.
>
> The crash reports on Google Play point to libQt5Purchasing but it doesn’t
> happen on all devices. I have finally found a device on which I can
> reproduce the problem.
>
> I would like to share the output of a crash reproduced on a Samsung Galaxy
> S4 running 5.0.1
>
> Can someone please take a look at this logcat output and tell me if there
> is another possible cause for the problem? I have bolded some of the events.
>

I've never developed for Android, but is it possible to run a debug build
(including debug build of Qt) on the failing device, to pinpoint where
within libQt5Purchasing it is crashing?

That would shine more light on it, unless someone recognizes it right off
the bat.

Elvis


> Has someone had similar problems in the past?
>
> Thanks in advance,
>
> Best regards,
>
> Nuno
>
> I/Timeline( 1528): Timeline: Activity_launch_request id:com.imaginando.drc
> time:1573929
> V/ApplicationPolicy(  902): isApplicationStateBlocked userId 0 pkgname
> com.imaginando.drc
> I/ActivityManager(  902): START u0 {act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER] flg=0x10200000
> cmp=com.imaginando.drc/.DRCActivity (has extras)} from uid 10029 on display
> 0
> D/ResourcesManager(  902): creating new AssetManager and set to
> /data/app/com.imaginando.drc-1/base.apk
> I/ActivityManager(  902): Start proc com.imaginando.drc for activity
> com.imaginando.drc/.DRCActivity: pid=18080 uid=10202 gids={50202, 9997,
> 3003, 1028, 1015} abi=armeabi-v7a
> D/ResourcesManager(18080): creating new AssetManager and set to
> /data/app/com.imaginando.drc-1/base.apk
> D/DRC     (18080): Starting activity
> I/Qt JAVA (18080): Can't find
> '/data/data/com.imaginando.drc/qt-reserved-files/lib/libQt5QuickParticles.so'
> D/DRC     (18080): Starting service
> D/ActivityManager(  902): startService
> callerProcessName:com.imaginando.drc, calleePkgName: com.imaginando.drc
> D/OneSignal(18080): curActivity is NOW:
> com.imaginando.drc.DRCActivity:com.imaginando.drc.DRCActivity at 2f6d4af1
> *E/com.facebook.a.b.v(18080): java.lang.ClassNotFoundException: Didn't
> find class "com.android.vending.billing.IInAppBillingService$Stub" on path:
> DexPathList[[zip file *"/data/app/com.imaginando.drc-1/base.apk"],nativeLibraryDirectories=[/data/app/com.imaginando.drc-1/lib/arm,
> /vendor/lib, /system/lib]]
> I/Finsky  (14819): [1805] erx.b(9): com.imaginando.drc: Account determined
> from installer data - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> I/Finsky  (14819): [1805] erx.b(16): com.imaginando.drc: Account from
> preferred account - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> D/ResourcesManager( 1272): creating new AssetManager and set to
> /data/app/com.imaginando.drc-1/base.apk
> W/GCM     (18080): GCM SDK is deprecated, com.imaginando.drc should update
> to use FCM
> I/ActivityManager(  902): Displayed com.imaginando.drc/.DRCActivity:
> +1s303ms
> I/Timeline(  902): Timeline: Activity_windows_visible id:
> ActivityRecord{3a3d66f1 u0 com.imaginando.drc/.DRCActivity t239}
> time:1575256
> I/WindowManager(  902): Screen frozen for +1s210ms due to Window{2bd0e662
> u0 Starting com.imaginando.drc}
> *I/OneSignal(18080): Caused by: java.lang.ClassNotFoundException: Didn't
> find class "com.google.android.gms.ads.identifier.AdvertisingIdClient" on
> path: DexPathList[[zip file *"/data/app/com.imaginando.drc-1/base.apk"],nativeLibraryDirectories=[/data/app/com.imaginando.drc-1/lib/arm,
> /vendor/lib, /system/lib]]
> E/Vold    (  280): Failed to find mounted volume for
> /storage/extSdCard/Android/data/com.imaginando.drc/files/Documents/
> W/ContextImpl(18080): Failed to ensure directory:
> /storage/extSdCard/Android/data/com.imaginando.drc/files/Documents
> I/Finsky  (14819): [1802] erx.b(9): com.imaginando.drc: Account determined
> from installer data - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> I/Finsky  (14819): [1802] erx.b(16): com.imaginando.drc: Account from
> preferred account - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> I/Finsky  (14819): [1805] erx.b(9): com.imaginando.drc: Account determined
> from installer data - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> I/Finsky  (14819): [1805] erx.b(16): com.imaginando.drc: Account from
> preferred account - [4NDPNfBN-V-DD6HE13G2sQ96SRU]
> I/Timeline(  902): Timeline: Activity_windows_visible id:
> ActivityRecord{3a3d66f1 u0 com.imaginando.drc/.DRCActivity t239}
> time:1582379
> D/DRC     (18080): Initializing Android services
> I/art     (18080): Rejecting re-init on previously-failed class
> java.lang.Class<com.imaginando.drc.IMidiManager$1>
> I/art     (18080): Rejecting re-init on previously-failed class
> java.lang.Class<com.imaginando.drc.IMidiManager$1>
> I/art     (18080): Rejecting re-init on previously-failed class
> java.lang.Class<com.imaginando.drc.IMidiManager$3>
> I/art     (18080): Rejecting re-init on previously-failed class
> java.lang.Class<com.imaginando.drc.IMidiManager$3>
> D/DRC     (18080): Starting MIDI Mananger
> D/DRC     (18080): Current CPU ID is 1
> D/DRC     (18080): Thread affinity set
> W/DRC     (18080): qrc:/qml/PanelOscillators.qml:242:13: Unable to assign
> [undefined] to QString
> W/DRC     (18080): qrc:/qml/MainView.qml:68: TypeError: Cannot call method
> 'indexOf' of undefined
> W/DRC     (18080): qrc:/qml/MainView.qml:67: TypeError: Cannot read
> property 'sampleRates' of null
> F/art     (18080): sart/runtime/thread.cc:1108]   at void
> com.imaginando.drc.IMidiManager.<init>(com.imaginando.drc.DRCActivity)
> ((null):-1)
> F/art     (18080): sart/runtime/thread.cc:1108]   at void
> com.imaginando.drc.DRCActivity.initialize() ((null):-1)
> F/art     (18080): sart/runtime/thread.cc:1108]   at void
> com.imaginando.drc.DRCActivity.applicationState(int) ((null):-1)
> *F/art     (18080): sart/runtime/runtime.cc:286 <http://runtime.cc:286>]
> native: #11 pc 00005967
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Purchasing.so (???)*
> F/art     (18080): sart/runtime/runtime.cc:286]   at void
> com.imaginando.drc.IMidiManager.<init>(com.imaginando.drc.DRCActivity)
> ((null):-1)
> F/art     (18080): sart/runtime/runtime.cc:286]   at void
> com.imaginando.drc.DRCActivity.initialize() ((null):-1)
> F/art     (18080): sart/runtime/runtime.cc:286]   at void
> com.imaginando.drc.DRCActivity.applicationState(int) ((null):-1)
> *F/art     (18080): sart/runtime/runtime.cc:286 <http://runtime.cc:286>]
> native: #11 pc 00005967
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Purchasing.so (???)*
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #02 pc 0016f075
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_Z12qt_safe_pollP6pollfdjPK8timespec+144)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #03 pc 0016fa47
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+282)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #04 pc 00146ca5
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+232)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #05 pc 00086b33
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN7QThread4execEv+82)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #06 pc 000873db
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so (???)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #02 pc 0016f075
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_Z12qt_safe_pollP6pollfdjPK8timespec+144)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #03 pc 0016fa47
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+282)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #04 pc 00146ca5
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+232)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #05 pc 00086b33
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN7QThread4execEv+82)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #06 pc 001aeaf1
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Qml.so (???)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #02 pc 0008b351
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so (???)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #03 pc 0008b197
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer+86)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #04 pc 0008b121
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Core.so
> (_ZN14QWaitCondition4waitEP6QMutexm+72)
> F/art     (18080): sart/runtime/runtime.cc:286]   native: #05 pc 00117591
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Quick.so (???)
> I/DEBUG   (  298): pid: 18080, tid: 18125, name: qtMainLoopThrea  >>>
> com.imaginando.drc <<<
> *I/DEBUG   (  298):     #10 pc 00005967
>  /data/app/com.imaginando.drc-1/lib/arm/libQt5Purchasing.so*
> W/ActivityManager(  902):   Force finishing activity
> com.imaginando.drc/.DRCActivity
> I/WindowState(  902): WIN DEATH: Window{11ec775e u0
> com.imaginando.drc/com.imaginando.drc.DRCActivity}
> *E/WindowState(  902): The process of this window already died:
> Window{11ec775e u0 com.imaginando.drc/com.imaginando.drc.DRCActivity} :
> android.os.DeadObjectException*
> I/ActivityManager(  902): Process com.imaginando.drc (pid 18080)(adj 1)
> has died(112,466)
> *W/ActivityManager(  902): Scheduling restart of crashed service
> com.imaginando.drc/.DRCService in 1000ms*
> D/ResourcesManager(  902): creating new AssetManager and set to
> /data/app/com.imaginando.drc-1/base.apk
> D/CrashAnrDetector(  902): pid: 18080, tid: 18125, name: qtMainLoopThrea
>  >>> com.imaginando.drc <<<
> D/CrashAnrDetector(  902): processName:com.imaginando.drc
> D/CrashAnrDetector(  902): broadcastEvent : com.imaginando.drc
> SYSTEM_TOMBSTONE
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190614/3e754e0f/attachment.html>


More information about the Interest mailing list