TpattersonDtrac opened a new issue, #1846:
URL: https://github.com/apache/cordova-android/issues/1846

   # Bug Report
   
   ## Problem
   
   ### What does actually happen?
   
   We released a new version of our app, and have received a crash reported in 
the play store console. One of the changes we made is updating cordova-android 
to `14.0.1`.
   The crash is in libmonochrome one of chromium's shared libraries on android.
   
   <details>
   <summary>Crash Stacktrace</summary>
   
   ```
   *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
   pid: 0, tid: 24243 >>> com.datatrac.hybrid.driver <<<
   
   backtrace:
     #00  pc 0x00000000040596ac  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #01  pc 0x000000000573b09c  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #02  pc 0x00000000077dbaac  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #03  pc 0x00000000044f65ec  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #04  pc 0x000000000836f230  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #05  pc 0x00000000022213f0  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #06  pc 0x00000000071169c0  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #07  pc 0x0000000006a71298  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #08  pc 0x0000000006a71210  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #09  pc 0x0000000007263290  
/data/app/~~Y0AKRkW_3qhUO4VMWSk3Bw==/com.google.android.trichromelibrary_733905133-Ys69ivX5H5Apsc8utbOAdQ==/base.apk!libmonochrome_64.so
 (BuildId: b88b475f87aa29101fb197018cc079f784d7b4b1)
     #10  pc 0x0000000000018224  /system/lib64/libutils.so 
(android::Looper::pollInner(int)+1060)
     #11  pc 0x0000000000017da0  /system/lib64/libutils.so 
(android::Looper::pollOnce(int, int*, int*, void**)+112)
     #12  pc 0x0000000000167b7c  /system/lib64/libandroid_runtime.so 
(android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, 
int)+44)
     #13  pc 0x0000000001022da0  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(art_jni_trampoline+112)
     #14  pc 0x0000000000a5ec98  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(android.os.MessageQueue.next+280)
     #15  pc 0x0000000000a5b6e0  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(android.os.Looper.loopOnce+96)
     #16  pc 0x0000000000a5b5d8  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(android.os.Looper.loop+1112)
     #17  pc 0x000000000077ca50  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(android.app.ActivityThread.main+2320)
     #18  pc 0x000000000032d460  /apex/com.android.art/lib64/libart.so 
(art_quick_invoke_static_stub+640)
     #19  pc 0x00000000003273d0  /apex/com.android.art/lib64/libart.so 
(_jobject* 
art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable 
const&, _jobject*, _jobject*, _jobject*, unsigned long)+544)
     #20  pc 0x00000000005c6f80  /apex/com.android.art/lib64/libart.so 
(art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) 
(.__uniq.165753521025965369065708152063621506277)+32)
     #21  pc 0x0000000001023f84  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(art_jni_trampoline+116)
     #22  pc 0x00000000009c39e8  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136)
     #23  pc 0x00000000009ce570  
/data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat 
(com.android.internal.os.ZygoteInit.main+3520)
     #24  pc 0x000000000032d460  /apex/com.android.art/lib64/libart.so 
(art_quick_invoke_static_stub+640)
     #25  pc 0x000000000032bfc8  /apex/com.android.art/lib64/libart.so 
(art::JValue 
art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable 
const&, _jobject*, _jmethodID*, std::__va_list)+800)
     #26  pc 0x000000000064a488  /apex/com.android.art/lib64/libart.so 
(art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, 
std::__va_list)+156)
     #27  pc 0x00000000000c1ce8  /system/lib64/libandroid_runtime.so 
(_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
     #28  pc 0x00000000000ce444  /system/lib64/libandroid_runtime.so 
(android::AndroidRuntime::start(char const*, android::Vector<android::String8> 
const&, bool)+852)
     #29  pc 0x0000000000002574  /system/bin/app_process64 (main+1300)
     #30  pc 0x0000000000084d70  /apex/com.android.runtime/lib64/bionic/libc.so 
(__libc_init+96)
   ```
   
   </details>
   
   ## Information
   
   We are not sure if this problem is even caused by cordova as we did update a 
native plugin, add a new native plugin, and change our target sdk version. We 
are unsure how to approach debugging the crash as the stacktrace is entirely 
within chromium code.
   
   
   ### Command or Code
   We do not know how to reproduce at this time.
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   We have reports of the crash occurring on android 11 through 16, and on a 
wide variety of devices including Samsung, Motorola, and Pixel.
   
   
   
   ### Version information
   <!--
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   We are targeting a minimum sdk version 24 and a target sdk of 35
   <details>
       <summary>Cordova and Cordova Plugin Versions</summary>
   
   ```json
       "cordova": "12.0.0",
       "cordova-android": "14.0.1",
       "cordova-plugin-media": "^7.0.0",
       "cordova-plugin-file": "8.1.3",
       "@datalogic/cordova-plugin-datalogic": "0.4.1",
       "@havesource/cordova-plugin-push": "6.0.1",
       "com.bluefletch.motorola": 
"https://github.com/DatatracCorporation/motorola-datawedge-cordova-plugin";,
       "cordova-android-firebase-gradle-release": "4.0.0",
       "cordova-android-play-services-gradle-release": "4.0.0",
       "cordova-android-support-gradle-release": "3.0.1",
       "cordova-background-geolocation-lt": "4.17.6",
       "cordova-open-native-settings": "1.5.5",
       "cordova-plugin-add-swift-support": "2.0.2",
       "cordova-plugin-advanced-http": "3.3.1",
       "cordova-plugin-android-permissions": "1.1.5",
       "cordova-plugin-background-fetch": "7.2.4",
       "cordova-plugin-badge": "github:katzer/cordova-plugin-badge",
       "cordova-plugin-bluetooth-serial": 
"github:DatatracCorporation/BluetoothSerial#0.5.3",
       "cordova-plugin-call-number": "1.0.1",
       "cordova-plugin-camera": "8.0.0",
       "cordova-plugin-device": "3.0.0",
       "cordova-plugin-inappbrowser": "6.0.0",
       "cordova-plugin-ios-disableshaketoedit": "1.0.0",
       "cordova-plugin-local-notification": 
"github:katzer/cordova-plugin-local-notifications#3360c59",
       "cordova-plugin-native-ringtones": 
"github:TpattersonDtrac/cordova-plugin-native-ringtones",
       "cordova-plugin-network-information": "3.0.0",
       "cordova-plugin-screen-orientation": "3.0.4",
       "cordova-plugin-sim": "1.3.3",
       "cordova-plugin-spinnerdialog": "1.3.2",
       "cordova-plugin-statusbar": "4.0.0",
       "cordova-plugin-vibration": "3.1.1",
       "dff-cordova-plugin-common": 
"github:lumpimosa/dff.CordovaPlugin.Common#d3253d3",
       "dff-cordova-plugin-honeywell": 
"github:TpattersonDtrac/dff-cordova-plugin-honeywell#fixVersionIncompat",
       "ischemaview-cordova-plugin-nativestorage": 
"github:ischemaview/cordova-plugin-nativestorage#v2.4.3-no-migrate.0",
       "motorola-datawedge-cordova-plugin-master": 
"github:DatatracCorporation/motorola-datawedge-cordova-plugin",
       "sentry-cordova": "1.5.0",
       "cordova-plugin-appavailability": "0.4.2",
   ```
   </details>
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to