Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2941] Android: Galaxy Tab; Non repro crash - App UI locks up (back button non responsive though vibrate and sound associated with action fire) followed by the UI suddenly becoming responsive and app crashes. No reliable repro steps, but seen 4X today

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0
ComponentsiOS
Labelscrash, galaxy, lockup, release-1.6.0, reported-1.6.0, tab, ui
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:33:26.000+0000
Updated2011-04-17T02:00:30.000+0000

Description

I have seen this issue 4X today, and cannot reliably reproduce it. What happens is:
the test wil load, then when I hit the back button the UI becomes non responsive. The button will generate feedback 9audio and vibe), and then all of sudden the UI is responsive, the app goes back a level and crashes.

log:

E/WindowManager( 4685): Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@480a8a30 that was originally added here
E/WindowManager( 4685): android.view.WindowLeaked: Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@480a8a30 that was originally added here
E/WindowManager( 4685): at android.view.ViewRoot.(ViewRoot.java:247)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:171)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:114)
E/WindowManager( 4685): at android.view.Window$LocalWindowManager.addView(Window.java:424)
E/WindowManager( 4685): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager( 4685): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:225)
E/WindowManager( 4685): at ti.modules.titanium.ui.AlertDialogProxy.handleShow(AlertDialogProxy.java:55)
E/WindowManager( 4685): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:212)
E/WindowManager( 4685): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager( 4685): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 4685): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/WindowManager( 4685): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 4685): at java.lang.reflect.Method.invoke(Method.java:521)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/WindowManager( 4685): at dalvik.system.NativeStart.main(Native Method)
E/KrollCallback( 4685): (kroll$8) [5,1511056] Error, invocation: [callMethod Accelerometer.Accelerometer:event:update null], message: null
E/KrollCallback( 4685): java.lang.NullPointerException
E/KrollCallback( 4685): at org.appcelerator.titanium.TiContext.getScope(TiContext.java:203)
E/KrollCallback( 4685): at org.appcelerator.kroll.KrollObject.put(KrollObject.java:62)
E/KrollCallback( 4685): at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2126)
E/KrollCallback( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1623)
E/KrollCallback( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1613)
E/KrollCallback( 4685): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1417)
E/KrollCallback( 4685): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 4685): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 4685): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 4685): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:139)
E/KrollCallback( 4685): at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:163)
E/KrollCallback( 4685): at android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 4685): at android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 4685): at android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 4685): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
E/ShutdownThread( 2471): IsShutDownStarted()
I/KeyInputQueue( 2471): Input event
D/KeyInputQueue( 2471): screenCaptureKeyFlag setting 0
W/dalvikvm( 4685): threadid=7: thread exiting with uncaught exception (group=0x4001d7d0)
E/WindowManager( 4685): Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@481ddcf8 that was originally added here
E/WindowManager( 4685): android.view.WindowLeaked: Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@481ddcf8 that was originally added here
E/WindowManager( 4685): at android.view.ViewRoot.(ViewRoot.java:247)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:171)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:114)
E/WindowManager( 4685): at android.view.Window$LocalWindowManager.addView(Window.java:424)
E/WindowManager( 4685): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager( 4685): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:225)
E/WindowManager( 4685): at ti.modules.titanium.ui.AlertDialogProxy.handleShow(AlertDialogProxy.java:55)
E/WindowManager( 4685): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:212)
E/WindowManager( 4685): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager( 4685): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 4685): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/WindowManager( 4685): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 4685): at java.lang.reflect.Method.invoke(Method.java:521)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/WindowManager( 4685): at dalvik.system.NativeStart.main(Native Method)
E/WindowManager( 4685): Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@48545528 that was originally added here
E/WindowManager( 4685): android.view.WindowLeaked: Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@48545528 that was originally added here
E/WindowManager( 4685): at android.view.ViewRoot.(ViewRoot.java:247)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:171)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:114)
E/WindowManager( 4685): at android.view.Window$LocalWindowManager.addView(Window.java:424)
E/WindowManager( 4685): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager( 4685): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:225)
E/WindowManager( 4685): at ti.modules.titanium.ui.AlertDialogProxy.handleShow(AlertDialogProxy.java:55)
E/WindowManager( 4685): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:212)
E/WindowManager( 4685): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager( 4685): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 4685): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/WindowManager( 4685): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 4685): at java.lang.reflect.Method.invoke(Method.java:521)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/WindowManager( 4685): at dalvik.system.NativeStart.main(Native Method)
E/TiUncaughtHandler( 4685): (kroll$8) [31,1511087] Sending event: exception on thread: kroll$8 msg:org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException; Titanium 1.6.0,2011/01/24 08:15,1cb22a
E/TiUncaughtHandler( 4685): org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781)
E/TiUncaughtHandler( 4685): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:149)
E/TiUncaughtHandler( 4685): at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:163)
E/TiUncaughtHandler( 4685): at android.os.Handler.handleCallback(Handler.java:587)
E/TiUncaughtHandler( 4685): at android.os.Handler.dispatchMessage(Handler.java:92)
E/TiUncaughtHandler( 4685): at android.os.Looper.loop(Looper.java:123)
E/TiUncaughtHandler( 4685): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
E/TiUncaughtHandler( 4685): Caused by: java.lang.NullPointerException
E/TiUncaughtHandler( 4685): at org.appcelerator.titanium.TiContext.getScope(TiContext.java:203)
E/TiUncaughtHandler( 4685): at org.appcelerator.kroll.KrollObject.put(KrollObject.java:62)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2126)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1623)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1613)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1417)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/TiUncaughtHandler( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/TiUncaughtHandler( 4685): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:139)
E/TiUncaughtHandler( 4685): ... 5 more
D/TiApplication( 4685): (kroll$8) [12,1511099] Analytics Event: type=ti.crash
D/TiApplication( 4685): event=ti.crash
D/TiApplication( 4685): timestamp=2011-01-24T23:52:33.216-0800
D/TiApplication( 4685): mid=3263dea3-57c0-42eb-a4ae-94fedc17f916
D/TiApplication( 4685): sid=c886a03a-cec5-4202-965a-c45ccdd63885
D/TiApplication( 4685): aguid=6fe33f33fd1f4e95a06d2d217170866d
D/TiApplication( 4685): isJSON=true
D/TiApplication( 4685): payload={
E/WindowManager( 4685): Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@47f598c8 that was originally added here
E/WindowManager( 4685): android.view.WindowLeaked: Activity com.appcelerator.pushtest.KitchensinkActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@47f598c8 that was originally added here
E/WindowManager( 4685): at android.view.ViewRoot.(ViewRoot.java:247)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:171)
E/WindowManager( 4685): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:114)
E/WindowManager( 4685): at android.view.Window$LocalWindowManager.addView(Window.java:424)
E/WindowManager( 4685): at android.app.Dialog.show(Dialog.java:241)
E/WindowManager( 4685): at ti.modules.titanium.ui.widget.TiUIDialog.show(TiUIDialog.java:225)
E/WindowManager( 4685): at ti.modules.titanium.ui.AlertDialogProxy.handleShow(AlertDialogProxy.java:55)
E/WindowManager( 4685): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:212)
E/WindowManager( 4685): at android.os.Handler.dispatchMessage(Handler.java:95)
E/WindowManager( 4685): at android.os.Looper.loop(Looper.java:123)
E/WindowManager( 4685): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/WindowManager( 4685): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager( 4685): at java.lang.reflect.Method.invoke(Method.java:521)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
E/WindowManager( 4685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/WindowManager( 4685): at dalvik.system.NativeStart.main(Native Method)
D/TiBaseActivity( 4685): (main) [3,1511102] Activity onPause
E/AndroidRuntime( 4685): FATAL EXCEPTION: kroll$8
E/AndroidRuntime( 4685): org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException
E/AndroidRuntime( 4685): at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781)
E/AndroidRuntime( 4685): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:149)
E/AndroidRuntime( 4685): at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:163)
E/AndroidRuntime( 4685): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4685): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4685): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4685): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
E/AndroidRuntime( 4685): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4685): at org.appcelerator.titanium.TiContext.getScope(TiContext.java:203)
E/AndroidRuntime( 4685): at org.appcelerator.kroll.KrollObject.put(KrollObject.java:62)
E/AndroidRuntime( 4685): at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2126)
E/AndroidRuntime( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1623)
E/AndroidRuntime( 4685): at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1613)
E/AndroidRuntime( 4685): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1417)
E/AndroidRuntime( 4685): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/AndroidRuntime( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/AndroidRuntime( 4685): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/AndroidRuntime( 4685): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/AndroidRuntime( 4685): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/AndroidRuntime( 4685): at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:139)
E/AndroidRuntime( 4685): ... 5 more

also here: http://pastie.org/1496836">http://pastie.org/1496836 separate instance of crash

Comments

  1. Thomas Huelbert 2011-04-15

    yikes, why was this in BB bucket?

  2. Thomas Huelbert 2011-04-15

    closing as I can no longer reproduce this

JSON Source