Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. 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

    Details

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              dthorp Don Thorp
              Reporter:
              thomashuelbert Thomas Huelbert
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-2555
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code