Page 1 of 1

android errors when user shakes

Posted: Sun Jul 26, 2026 1:56 am
by bamakojeff
Is anyone seeing a problem with android apps when the user shakes? I'm seeing this error in my Google Play dashboard a lot with my latest version:
[base.apk] com.runrev.android.Engine$2.onShake

My app does not have any motion listeners, so it's not my code dying. It looks like Android hands the shake off to the Livecode (runrev) engine, and the engine throws an error. I ran the backtrace through Claude and all it can suggest is report it as a bug because it's happening in the engine.

This is livecode 10.0.5, so I guess I will upload the next version built in 11.0 and see if the issue remains. But if anyone has seen this before, I'd love to hear about it. Is it possible to tell the engine to simply ignore shake events from Android? I can't see anything in the StandAlone Application settings. Or should I create a global "on motionStart" event just to trap this? But it looks like it happens in the livecode engine, so...

Any thoughts or ideas would be welcome.

Thanks.

Jeff

Here's the stack trace from the play store dashboard if anyone is interested.

Code: Select all

pid: 0, tid: 13951 >>> com.claypotfrog.gntsp <<<

backtrace:
  #00  pc 0x000000000034eda8  /data/app/~~_wT9Jj7m1d35dItRixdlMw==/com.claypotfrog.gntsp-mGqWRMZFaYYsldu-pGRLBA==/split_config.arm64_v8a.apk!Standalone
  #01  pc 0x0000000000dc1500  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+112)
  #02  pc 0x000000000072c39c  /apex/com.android.art/lib64/libart.so (nterp_helper+780)
  #03  pc 0x000000000001bfc2  /data/app/~~_wT9Jj7m1d35dItRixdlMw==/com.claypotfrog.gntsp-mGqWRMZFaYYsldu-pGRLBA==/base.apk (com.runrev.android.Engine$2.onShake+6)
  #04  pc 0x000000000072c884  /apex/com.android.art/lib64/libart.so (nterp_helper+2036)
  #05  pc 0x0000000000026aea  /data/app/~~_wT9Jj7m1d35dItRixdlMw==/com.claypotfrog.gntsp-mGqWRMZFaYYsldu-pGRLBA==/base.apk (com.runrev.android.ShakeEventListener.onAccelerationChanged+206)
  #06  pc 0x00000000000089a0  /data/app/~~_wT9Jj7m1d35dItRixdlMw==/com.claypotfrog.gntsp-mGqWRMZFaYYsldu-pGRLBA==/oat/arm64/base.odex (com.runrev.android.AccelerationChangeListener.onSensorChanged+96)
  #07  pc 0x00000000008a4880  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent+688)
  #08  pc 0x0000000000298f94  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
  #09  pc 0x0000000000295dc8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+888)
  #10  pc 0x0000000000675e80  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+276)
  #11  pc 0x00000000000fe3cc  /system/lib64/libandroid_runtime.so (_JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)+120)
  #12  pc 0x000000000023a6c8  /system/lib64/libandroid_runtime.so ((anonymous namespace)::Receiver::handleEvent(int, int, void*)+484)
  #13  pc 0x0000000000016c30  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+1192)
  #14  pc 0x00000000001d7fe0  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
  #15  pc 0x0000000000dbae70  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+112)
  #16  pc 0x0000000000963dd0  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.MessageQueue.nextLegacy+160)
  #17  pc 0x000000000095a12c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+92)
  #18  pc 0x000000000095a054  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+244)
  #19  pc 0x000000000065addc  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ActivityThread.main+1628)
  #20  pc 0x0000000000299260  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640)
  #21  pc 0x000000000028a194  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+552)
  #22  pc 0x00000000006334c8  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+36)
  #23  pc 0x0000000000dbc084  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+116)
  #24  pc 0x0000000000cafc1c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+108)
  #25  pc 0x0000000000cb810c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3244)
  #26  pc 0x0000000000299260  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640)
  #27  pc 0x0000000000296cb0  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+760)
  #28  pc 0x00000000006a4960  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+164)
  #29  pc 0x000000000010308c  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104)
  #30  pc 0x000000000012d510  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+908)
  #31  pc 0x00000000000045b8  /system/bin/app_process64 (main+1284)
  #32  pc 0x0000000000069ef8  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+120)