Android app quit crashes in OpenGL on calling JUCEApplication::getInstance()->quit()


#1

We have an Android app that uses OpenGL for drawing.

We have implemented the back button behavior for Android and when on the main screen if the user presses back, we call JUCEApplication::getInstance()->quit() to exit the app. This unfortunately results in the app asserting and crashing when juce::OpenGLContext::detach is called to release the context in the main window destructor.

Thinking that it was being released too late, I tried detaching earlier before calling the quit() function. This removes the assert and crash there but now when the view components get destroyed in the window destructor, they crash because removing components cause repaints.

I’m not sure how to get around this circular order of destruction bug. This may be a bug in JUCE’s opengl lifetime management in Android since the same issue doesnt appear to happen on IOS.

Any thoughts on how to address this? I have a screenshot of the stack since Android studio doesn’t allow copying it as text.
https://drive.google.com/file/d/0B8PjfYoH7sLGVVRhN0h3TGlIaVk/view?usp=sharing


#2

Can you check the adb logcat for what’s exactly causing the crash. Looking at the stack trace I think it’s due to a pending Java exception. It would be good to know exactly which exception it is.

In any case, you often get these kind of crashes when you are calling detach in base class - where the derived child class allocates some OpenGL resources. In this case, detach is called when the child class has already de-allocated.


#3

Hi Fabian,

FWIW we’re detaching in the same class that calls

I can work around the opengl crash by doing the detach earlier on before the view destruction occurs. However the actual view components are crashing on destruction independent of opengl. I’ve disabled opengl and I’m still crashing on destruction of the UI.
We tried calling clearContentComponent() earlier on but that causes the same crash.

This is the trace from android monitor.

                                                               [ 09-11 11:52:21.005 16083:16313 D/         ]
                                                               PlayerBase::stop() from IPlayer

09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: JNI CallIntMethodV called with pending exception java.lang.IllegalArgumentException: Service not registered: java.lang.Object@c5ebb78
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at android.app.IServiceConnection android.app.LoadedApk.forgetServiceDispatcher(android.content.Context, android.content.ServiceConnection) (LoadedApk.java:1466)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.ContextImpl.unbindService(android.content.ServiceConnection) (ContextImpl.java:1622)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.content.ContextWrapper.unbindService(android.content.ServiceConnection) (ContextWrapper.java:697)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void com.cakewalk.bartleby.bartleby.quitApp() (bartleby.java:-2)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void com.cakewalk.bartleby.bartleby.onDestroy() (bartleby.java:327)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.Activity.performDestroy() (Activity.java:7177)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.Instrumentation.callActivityOnDestroy(android.app.Activity) (Instrumentation.java:1248)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at android.app.ActivityThread$ActivityClientRecord android.app.ActivityThread.performDestroyActivity(android.os.IBinder, boolean, int, boolean) (ActivityThread.java:4425)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.ActivityThread.handleDestroyActivity(android.os.IBinder, boolean, int, boolean) (ActivityThread.java:4456)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.ActivityThread.-wrap5(android.app.ActivityThread, android.os.IBinder, boolean, int, boolean) (ActivityThread.java:-1)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1654)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.os.Looper.loop() (Looper.java:164)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504]
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] in call to CallIntMethodV
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] from void com.cakewalk.bartleby.bartleby.quitApp()
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] “main” prio=5 tid=1 Runnable
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] | group=“main” sCount=0 dsCount=0 flags=0 obj=0x72c3d568 self=0xe4304000
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] | sysTid=16083 nice=0 cgrp=default sched=0/0 handle=0xe7d264a8
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] | state=R schedstat=( 3398528747 160265777 2583 ) utm=310 stm=29 core=0 HZ=100
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] | stack=0xff230000-0xff232000 stackSize=8MB
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] | held mutexes= “mutator lock”(shared held)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #00 pc 002c45b7 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #01 pc 00355a83 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+202)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #02 pc 00351f67 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+34)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #03 pc 0022f6e9 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+736)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #04 pc 0022fadf /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #05 pc 000d2583 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+42)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #06 pc 000d211f /system/lib/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+354)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #07 pc 000d0915 /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+600)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #08 pc 000d4ec7 /system/lib/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+90)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #09 pc 000d4185 /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+488)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #10 pc 000c57c3 /system/lib/libart.so (_ZN3art8CheckJNI14CallIntMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+42)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #11 pc 005f7708 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN7_JNIEnv14CallIntMethodVEP8_jobjectP10_jmethodIDSt9__va_list+132)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #12 pc 005f7630 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZNK4juce9GlobalRef13callIntMethodEP10_jmethodIDz+112)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #13 pc 00c2a0e0 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZNK4juce20AndroidComponentPeer9getBoundsEv+96)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #14 pc 00ab5474 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component24internalRepaintUncheckedENS_9RectangleIiEEb+388)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #15 pc 00ab585c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component15internalRepaintENS_9RectangleIiEE+188)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #16 pc 00ab562c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component24internalRepaintUncheckedENS_9RectangleIiEEb+828)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #17 pc 00ab585c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component15internalRepaintENS_9RectangleIiEE+188)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #18 pc 00ab562c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component24internalRepaintUncheckedENS_9RectangleIiEEb+828)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #19 pc 00ab585c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component15internalRepaintENS_9RectangleIiEE+188)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #20 pc 00ab562c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component24internalRepaintUncheckedENS_9RectangleIiEEb+828)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #21 pc 00ab585c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component15internalRepaintENS_9RectangleIiEE+188)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #22 pc 00aac7c0 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component13repaintParentEv+128)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #23 pc 00aab738 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component20removeChildComponentEibb+328)
09-11 11:52:21.191 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #24 pc 00aab258 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9ComponentD2Ev+452)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #25 pc 00acc120 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce6ButtonD2Ev+532)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #26 pc 0060fdc8 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN10SyncButtonD2Ev+124)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #27 pc 0067ca90 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN24IdeaSpaceHeaderComponentD1Ev+124)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #28 pc 00670010 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN18IdeaSpaceComponentD2Ev+512)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #29 pc 0068ab6c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN20MainContentComponentD2Ev+960)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #30 pc 0068ad98 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN20MainContentComponentD0Ev+32)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #31 pc 008118dc /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce9Component11SafePointerIS0_E13deleteAndZeroEv+64)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #32 pc 00b0bf90 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce15ResizableWindow21clearContentComponentEv+56)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #33 pc 006d0110 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN19BartlebyApplication10MainWindowD2Ev+48)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #34 pc 006d01ac /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN19BartlebyApplication10MainWindowD0Ev+32)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #35 pc 006d030c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (ZN4juce21ContainerDeletePolicyIN19BartlebyApplication10MainWindowEE7destroyEPS2+88)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #36 pc 006cf758 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (ZN4juce13ScopedPointerIN19BartlebyApplication10MainWindowEEaSEPS2+88)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #37 pc 006cf804 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN19BartlebyApplication8shutdownEv+76)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #38 pc 0098124c /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce19JUCEApplicationBase11shutdownAppEv+140)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #39 pc 009810e0 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (_ZN4juce19JUCEApplicationBase23appWillTerminateByForceEv+80)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #40 pc 00bc2608 /data/app/com.cakewalk.bartleby-OFsYgXkS9wAP6l194M9vQw==/lib/arm/libjuce_jni.so (Java_com_cakewalk_bartleby_bartleby_quitApp+44)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #41 pc 003e0269 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #42 pc 003dc521 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #43 pc 003e0a93 /system/lib/libart.so (art_quick_invoke_stub+226)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #44 pc 000ac255 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+140)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #45 pc 001f1763 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #46 pc 001eccfd /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+576)
09-11 11:52:21.192 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #47 pc 0020c7e5 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE1ELb0ELb0EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+296)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #48 pc 0020ab2b /system/lib/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+38010)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #49 pc 001d432d /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+420)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #50 pc 001d962f /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #51 pc 001ecce7 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+554)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #52 pc 0020b5b5 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE2ELb0ELb0EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+412)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #53 pc 00208b75 /system/lib/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+29892)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #54 pc 001d432d /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+420)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #55 pc 001d962f /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #56 pc 001ecce7 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+554)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #57 pc 0020b5b5 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE2ELb0ELb0EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+412)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #58 pc 00208b75 /system/lib/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+29892)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #59 pc 001d432d /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+420)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #60 pc 001d962f /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #61 pc 001ecce7 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+554)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #62 pc 0020b5b5 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE2ELb0ELb0EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+412)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] native: #63 pc 00208b75 /system/lib/libart.so (_ZN3art11interpreter17ExecuteSwitchImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_b+29892)
09-11 11:52:21.193 16083-16083/com.cakewalk.bartleby A/zygote: java_vm_ext.cc:504] at com.cakewalk.bartleby.bartleby.quitApp(Native method)


#4

The actual java exception should appear a few lines before the above line.


#5

Hi Fabian,

Thats all I get from the log. If you look below in the log I posted there is another version of that line and above it is the full dump.
FWIW in the debug window I see this:

juce::CanvasMinimal = {juce::CanvasMinimal_Class}
Signal = SIGABRT (signal SIGABRT)
this = {_JNIEnv * | 0xe43b1230} 0xe43b1230


#6

Ah I see that the log is truncated in the forum post. Here is a link to the log.
https://drive.google.com/file/d/0B8PjfYoH7sLGSWxBalJ2ajluX1E/view?usp=sharing

BTW can you contact me via e-mail? I can give you more details since some information can’t be posted since its sensitive.