You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Greg (JIRA)" <ji...@apache.org> on 2012/08/02 23:05:02 UTC

[jira] [Created] (CB-1185) When

Greg created CB-1185:
------------------------

             Summary: When 
                 Key: CB-1185
                 URL: https://issues.apache.org/jira/browse/CB-1185
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.0.0
         Environment: Jelly Bean 4.1, ICS 4.0.x
            Reporter: Greg
            Assignee: Joe Bowser


When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.

Here is how you re-produce the issue:

1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Turn the the screen off and wait about 3-7 minutes
4. Turn the screen back on, and the interface should be frozen.

Another possible path to re-producing the issue:
1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Go back to the home screen then use other apps for about 3-7 minutes.
4. Go back in Untappd, and the interface should be frozen.

When the app is frozen, native menu buttons will not nor any options in UI. 

Would love to see if anyone can replicate this. I've tested tis on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)

Thanks,
Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491878#comment-13491878 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Matthew M: I'm running an 4.0.4 Galaxy S2 on this end with stock firmware.   When you upgrade, do you change your JS or just your JAR?  This is very important, since the 2.1 JS won't work with the 2.2 JAR.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427642#comment-13427642 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Works on the Transformer Prime TF201.  Have to wait for the Motorola RAZR to charge, but this is looking like a "Cannot Reproduce".  This is definitely with the App Store version?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434725#comment-13434725 ] 

Greg commented on CB-1185:
--------------------------

Is there any instructions for this? I know how to active DDMS - but what should I be running to profile it?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434336#comment-13434336 ] 

Greg edited comment on CB-1185 at 8/15/12 5:00 AM:
---------------------------------------------------

@Joe yes, still getting this. The numbers of users who are complaining about this every day are rising. I've taken a look at the LogCat of users are nothing is there that details this.

Here is one log we got via Google Play:

2.0.4
Aug 2, 2012 7:22:29 PM
OTHER
DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)
"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x40a84460 self=0xfdc828
  | sysTid=9569 nice=0 sched=0/0 cgrp=default handle=1074820232
  | schedstat=( 0 0 0 ) utm=4941 stm=576 core=1
  at android.database.CursorWindow.nativeCreate(Native Method)
  at android.database.CursorWindow.<init>(CursorWindow.java:102)
  at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
  at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
  at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156)
  at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161)
  at android.database.AbstractCursor.moveToNext(AbstractCursor.java:209)
  at com.google.android.apps.analytics.PersistentEventStore.getCustomVariables((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker.dispatch((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker$1.run((null):-1)
  at android.os.Handler.handleCallback(Handler.java:605)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4424)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  at dalvik.system.NativeStart.main(Native Method)

"DispatcherThread" prio=5 tid=21 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41921a50 self=0x1805a90
  | sysTid=9602 nice=0 sched=0/0 cgrp=default handle=21786152
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.os.HandlerThread.run(HandlerThread.java:60)

"Thread-9148" prio=5 tid=19 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e2590 self=0x13bbe08
  | sysTid=9594 nice=0 sched=0/0 cgrp=default handle=21559976
  | schedstat=( 0 0 0 ) utm=1 stm=5 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9147" prio=5 tid=18 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ec958 self=0x13bb9b8
  | sysTid=9593 nice=0 sched=0/0 cgrp=default handle=20451784
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9145" prio=5 tid=16 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e9558 self=0x12953a8
  | sysTid=9591 nice=0 sched=0/0 cgrp=default handle=19402496
  | schedstat=( 0 0 0 ) utm=0 stm=3 core=0
  at libcore.io.Posix.accept(Native Method)
  at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
  at java.net.ServerSocket.implAccept(ServerSocket.java:202)
  at java.net.ServerSocket.accept(ServerSocket.java:127)
  at org.apache.cordova.CallbackServer.run(CallbackServer.java:211)
  at java.lang.Thread.run(Thread.java:856)

"Thread-9144" prio=5 tid=15 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ed4b8 self=0x126b108
  | sysTid=9590 nice=0 sched=0/0 cgrp=default handle=19140120
  | schedstat=( 0 0 0 ) utm=60 stm=42 core=1
  at dalvik.system.NativeStart.run(Native Method)

"CookieSyncManager" prio=5 tid=13 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416fece8 self=0x11d4a00
  | sysTid=9584 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18697808
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.webkit.WebSyncManager.run(WebSyncManager.java:90)
  at android.webkit.CookieSyncManager.run(CookieSyncManager.java:61)
  at java.lang.Thread.run(Thread.java:856)

"AsyncTask #1" prio=5 tid=14 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ffcc8 self=0x11d5fe0
  | sysTid=9585 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18699752
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x416ffe60> (a java.lang.VMThread) held by tid=14 (AsyncTask #1)
  at java.lang.Thread.parkFor(Thread.java:1231)
  at sun.misc.Unsafe.park(Unsafe.java:323)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2022)
  at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1009)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1069)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
  at java.lang.Thread.run(Thread.java:856)

"WebViewCoreThread" prio=5 tid=11 SUSPENDED
  | group="main" sCount=1 dsCount=0 obj=0x416f9ac0 self=0x11d3570
  | sysTid=9582 nice=3 sched=0/0 cgrp=default handle=18692544
  | schedstat=( 0 0 0 ) utm=1161 stm=60 core=0
  at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
  at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
  at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:728)
  at java.lang.Thread.run(Thread.java:856)

"Binder Thread #2" prio=5 tid=10 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d3258 self=0x1081cc0
  | sysTid=9581 nice=0 sched=0/0 cgrp=default handle=17308040
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=9 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d26d8 self=0x1080f38
  | sysTid=9579 nice=0 sched=0/0 cgrp=default handle=18258680
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 TIMED_WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce7e0 self=0x1169208
  | sysTid=9578 nice=0 sched=0/0 cgrp=default handle=18228488
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at java.lang.VMThread.sleep(Native Method)
  at java.lang.Thread.sleep(Thread.java:1031)
  at java.lang.Thread.sleep(Thread.java:1013)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:213)
  at java.lang.Thread.run(Thread.java:856)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce688 self=0x1168bb0
  | sysTid=9577 nice=0 sched=0/0 cgrp=default handle=18232232
  | schedstat=( 0 0 0 ) utm=7 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a5d0> (a java.lang.ref.ReferenceQueue)
  at java.lang.Object.wait(Object.java:401)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73)
  at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:168)
  at java.lang.Thread.run(Thread.java:856)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce520 self=0x1168558
  | sysTid=9576 nice=0 sched=0/0 cgrp=default handle=18233416
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a4f8>
  at java.lang.Object.wait(Object.java:364)
  at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:128)
  at java.lang.Thread.run(Thread.java:856)

"Compiler" daemon prio=5 tid=5 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce430 self=0x1167f00
  | sysTid=9575 nice=0 sched=0/0 cgrp=default handle=18233184
  | schedstat=( 0 0 0 ) utm=17 stm=10 core=0
  at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce348 self=0x119eb30
  | sysTid=9574 nice=0 sched=0/0 cgrp=default handle=18231552
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
  | group="system" sCount=0 dsCount=0 obj=0x416ce250 self=0x119a3f8
  | sysTid=9573 nice=0 sched=0/0 cgrp=default handle=18230016
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce170 self=0x1161ad0
  | sysTid=9572 nice=0 sched=0/0 cgrp=default handle=18231416
  | schedstat=( 0 0 0 ) utm=31 stm=1 core=0
  at dalvik.system.NativeStart.run(Native Method)
                
      was (Author: gregavola):
    @Joe yes, still getting this. The numbers of users who are complaining about this every day are rising. I've taken a look at the LogCat of users are nothing is there that details this.

Here is one log go via Google Play:

2.0.4
Aug 2, 2012 7:22:29 PM
OTHER
DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)
"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x40a84460 self=0xfdc828
  | sysTid=9569 nice=0 sched=0/0 cgrp=default handle=1074820232
  | schedstat=( 0 0 0 ) utm=4941 stm=576 core=1
  at android.database.CursorWindow.nativeCreate(Native Method)
  at android.database.CursorWindow.<init>(CursorWindow.java:102)
  at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
  at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
  at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156)
  at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161)
  at android.database.AbstractCursor.moveToNext(AbstractCursor.java:209)
  at com.google.android.apps.analytics.PersistentEventStore.getCustomVariables((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker.dispatch((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker$1.run((null):-1)
  at android.os.Handler.handleCallback(Handler.java:605)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4424)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  at dalvik.system.NativeStart.main(Native Method)

"DispatcherThread" prio=5 tid=21 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41921a50 self=0x1805a90
  | sysTid=9602 nice=0 sched=0/0 cgrp=default handle=21786152
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.os.HandlerThread.run(HandlerThread.java:60)

"Thread-9148" prio=5 tid=19 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e2590 self=0x13bbe08
  | sysTid=9594 nice=0 sched=0/0 cgrp=default handle=21559976
  | schedstat=( 0 0 0 ) utm=1 stm=5 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9147" prio=5 tid=18 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ec958 self=0x13bb9b8
  | sysTid=9593 nice=0 sched=0/0 cgrp=default handle=20451784
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9145" prio=5 tid=16 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e9558 self=0x12953a8
  | sysTid=9591 nice=0 sched=0/0 cgrp=default handle=19402496
  | schedstat=( 0 0 0 ) utm=0 stm=3 core=0
  at libcore.io.Posix.accept(Native Method)
  at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
  at java.net.ServerSocket.implAccept(ServerSocket.java:202)
  at java.net.ServerSocket.accept(ServerSocket.java:127)
  at org.apache.cordova.CallbackServer.run(CallbackServer.java:211)
  at java.lang.Thread.run(Thread.java:856)

"Thread-9144" prio=5 tid=15 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ed4b8 self=0x126b108
  | sysTid=9590 nice=0 sched=0/0 cgrp=default handle=19140120
  | schedstat=( 0 0 0 ) utm=60 stm=42 core=1
  at dalvik.system.NativeStart.run(Native Method)

"CookieSyncManager" prio=5 tid=13 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416fece8 self=0x11d4a00
  | sysTid=9584 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18697808
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.webkit.WebSyncManager.run(WebSyncManager.java:90)
  at android.webkit.CookieSyncManager.run(CookieSyncManager.java:61)
  at java.lang.Thread.run(Thread.java:856)

"AsyncTask #1" prio=5 tid=14 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ffcc8 self=0x11d5fe0
  | sysTid=9585 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18699752
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x416ffe60> (a java.lang.VMThread) held by tid=14 (AsyncTask #1)
  at java.lang.Thread.parkFor(Thread.java:1231)
  at sun.misc.Unsafe.park(Unsafe.java:323)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2022)
  at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1009)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1069)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
  at java.lang.Thread.run(Thread.java:856)

"WebViewCoreThread" prio=5 tid=11 SUSPENDED
  | group="main" sCount=1 dsCount=0 obj=0x416f9ac0 self=0x11d3570
  | sysTid=9582 nice=3 sched=0/0 cgrp=default handle=18692544
  | schedstat=( 0 0 0 ) utm=1161 stm=60 core=0
  at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
  at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
  at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:728)
  at java.lang.Thread.run(Thread.java:856)

"Binder Thread #2" prio=5 tid=10 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d3258 self=0x1081cc0
  | sysTid=9581 nice=0 sched=0/0 cgrp=default handle=17308040
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=9 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d26d8 self=0x1080f38
  | sysTid=9579 nice=0 sched=0/0 cgrp=default handle=18258680
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 TIMED_WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce7e0 self=0x1169208
  | sysTid=9578 nice=0 sched=0/0 cgrp=default handle=18228488
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at java.lang.VMThread.sleep(Native Method)
  at java.lang.Thread.sleep(Thread.java:1031)
  at java.lang.Thread.sleep(Thread.java:1013)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:213)
  at java.lang.Thread.run(Thread.java:856)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce688 self=0x1168bb0
  | sysTid=9577 nice=0 sched=0/0 cgrp=default handle=18232232
  | schedstat=( 0 0 0 ) utm=7 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a5d0> (a java.lang.ref.ReferenceQueue)
  at java.lang.Object.wait(Object.java:401)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73)
  at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:168)
  at java.lang.Thread.run(Thread.java:856)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce520 self=0x1168558
  | sysTid=9576 nice=0 sched=0/0 cgrp=default handle=18233416
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a4f8>
  at java.lang.Object.wait(Object.java:364)
  at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:128)
  at java.lang.Thread.run(Thread.java:856)

"Compiler" daemon prio=5 tid=5 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce430 self=0x1167f00
  | sysTid=9575 nice=0 sched=0/0 cgrp=default handle=18233184
  | schedstat=( 0 0 0 ) utm=17 stm=10 core=0
  at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce348 self=0x119eb30
  | sysTid=9574 nice=0 sched=0/0 cgrp=default handle=18231552
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
  | group="system" sCount=0 dsCount=0 obj=0x416ce250 self=0x119a3f8
  | sysTid=9573 nice=0 sched=0/0 cgrp=default handle=18230016
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce170 self=0x1161ad0
  | sysTid=9572 nice=0 sched=0/0 cgrp=default handle=18231416
  | schedstat=( 0 0 0 ) utm=31 stm=1 core=0
  at dalvik.system.NativeStart.run(Native Method)
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492499#comment-13492499 ] 

Adam  commented on CB-1185:
---------------------------

@Joe, does javascript run at all when the app is in the background? My understanding was that it does not.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491870#comment-13491870 ] 

Joe Bowser commented on CB-1185:
--------------------------------

@Greg: Not what versions of Android on those devices, what actual devices? If I don't have the same devices, I may not be able to get the same result despite them both claiming to be ICS.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew Mincher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491830#comment-13491830 ] 

Matthew Mincher commented on CB-1185:
-------------------------------------

Also reproducible for us on Android 2.2 and 4.0.3 when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again.  On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496482#comment-13496482 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

One more bit... I went looking back at a prior crash log and see:
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - ACTION_BATTERY_CHANGED
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - level:99
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - plugged:0
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
11-02 16:56:21.833 D/dalvikvm( 2234): GC_CONCURRENT freed 1779K, 27% free 14122K/19107K, paused 8ms+3ms
11-02 16:56:21.983 D/Zygote  (  333): Process 15854 terminated by signal (11)
11-02 16:56:21.993 W/InputDispatcher(  643): channel ~ Consumer closed input channel or an error occurred.  events=0x8
11-02 16:56:21.993 E/InputDispatcher(  643): channel ~ Channel is unrecoverably broken and will be disposed!
11-02 16:56:21.993 W/InputDispatcher(  643): Attempted to unregister already unregistered input channel
11-02 16:56:21.993 I/WindowManager(  643): WINDOW DIED Window{4210e748 XXX.XXXXX.XXXXXXX/XXX.XXXXX.XXXXXXX.XXXXXXXXXXXXXXXXXX paused=false}
11-02 16:56:21.993 I/ActivityManager(  643): Process com.twist.android (pid 15854) has died.

What about this being relevant?:
http://stackoverflow.com/questions/4973310/signal-11-sigsegv-crash-android
aka clearCache and destroyDrawingCache ?

(stabbing in dark)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497344#comment-13497344 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Once again, I am not able to reproduce this bug.  Do you have a USB cable hooked up to this device when you do this? 
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434585#comment-13434585 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Well, I don't think it's onResume itself, since it is probably why things are starting back up, since onResume turns on the timers and allows the webView to actually be usable.  The problem appears to be that the app is having problems loading back into memory.  I don't run many apps on my phone.  I'll try doing some memory profiling on this end.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496664#comment-13496664 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

meh, I don't see this in my most recent crash log that has the ANR.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496417#comment-13496417 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Ok, here's a link to a repo for perusal, and in particular the JS file:
https://github.com/elsigh/cordova-android-anr/blob/master/assets/www/js/index.js

I tried with this running just turning off the data and wifi and the app continue to run for about 30 minutes no problem, it would just get the error for the fetch and then the timeout fired and another would go off. So I don't know that it's just that.

It's unfortunately some combo of moving parts. Ugh.

Things I've not tried yet but want to:
* Sending multiple XHRs at once and looping/re-fetching once they're all complete.
* Including battery listeners
* Using backbone in this equation.

Also - @Untappd folks - do you guys use Urban Airship for push? I wonder if it's relevant.

thanks
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492204#comment-13492204 ] 

Matthew M commented on CB-1185:
-------------------------------

Unfortunately our app requires keepRunning and we cannot clear all of our timers on pause. We do clear most of them but some are necessary to functionality.

Lindsey, I posted an example of those logs as well, they are very common, however my point was that after the application freezes and then becomes responsive again many lines like those are logged at once.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam  updated CB-1185:
----------------------

    Comment: was deleted

(was: apk and logcat export)
    
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434565#comment-13434565 ] 

Greg commented on CB-1185:
--------------------------

@Joe - Here is an LogCat of a user. You will see the once app is launched again, he touch all the buttons (which are presented below to change the page, but nothing happens. Once the the UI unfreezes, you will see messages like:

08-14 13:39:10.200 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:10.200 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:10.387 D/CordovaLog(4740): ONRESUME CALLED

It seems like the onRESUME is holding up the process. Any insights?

My android:configChanges look like this:

android:configChanges="orientation|keyboardHidden">

Thanks,

08-14 13:38:48.184 I/ActivityManager(176): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.untappdllc.app/.UntappdV2_FinalActivity bnds=[200,785][360,985]} from pid 421
08-14 13:38:48.192 I/ActivityThread(9514): Pub com.google.android.apps.plus.content.ApiProvider: com.google.android.apps.plus.content.EsApiProvider
08-14 13:38:48.192 I/ActivityThread(9514): Pub com.google.android.apps.plus.content.EsGooglePhotoProvider: com.google.android.picasasync.PicasaContentProvider
08-14 13:38:48.255 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:48.255 D/dalvikvm(9514): GC_CONCURRENT freed 337K, 3% free 13109K/13511K, paused 2ms+2ms
08-14 13:38:48.278 I/ActivityThread(9514): Pub com.google.android.apps.plus.content.EsPicasaStoreProvider: com.google.android.picasastore.PicasaPhotoContentProvider
08-14 13:38:48.294 I/ActivityThread(9514): Pub com.google.plus.platform: com.google.android.apps.plus.content.AdsProvider
08-14 13:38:48.294 I/ActivityThread(9514): Pub com.google.android.apps.plus.iu.EsGoogleIuProvider: com.google.android.apps.plus.iu.InstantUploadProvider
08-14 13:38:48.340 D/dalvikvm(9514): GC_CONCURRENT freed 504K, 5% free 13135K/13703K, paused 2ms+2ms
08-14 13:38:48.340 I/ActivityThread(9514): Pub com.google.android.apps.plus.content.EsProvider: com.google.android.apps.plus.content.EsProvider
08-14 13:38:48.387 V/PhoneStatusBar(256): setLightsOn(true)
08-14 13:38:48.426 I/a       (2324): Registering default exceptions handler
08-14 13:38:48.426 D/OpenGLRenderer(421): Flushing caches (mode 1)
08-14 13:38:48.426 I/a       (2324): TRACE_VERSION: 1.0.6
08-14 13:38:48.426 D/a       (2324): APP_PACKAGE: com.anddoes.fancywidgets
08-14 13:38:48.426 D/a       (2324): APP_VERSION: 3.5.5
08-14 13:38:48.434 D/a       (2324): Looking for exceptions in: /data/data/com.anddoes.fancywidgets/files
08-14 13:38:48.512 D/OpenGLRenderer(421): Flushing caches (mode 0)
08-14 13:38:48.536 D/dalvikvm(176): GC_CONCURRENT freed 2152K, 13% free 25595K/29319K, paused 9ms+7ms
08-14 13:38:48.590 D/PicasaPhotoCP(9514): set fsid first time:-1
08-14 13:38:48.598 D/dalvikvm(9514): GC_CONCURRENT freed 285K, 3% free 13367K/13767K, paused 2ms+2ms
08-14 13:38:48.708 D/dalvikvm(9514): GC_CONCURRENT freed 196K, 2% free 13696K/13959K, paused 4ms+3ms
08-14 13:38:48.864 D/dalvikvm(9514): GC_CONCURRENT freed 287K, 3% free 13899K/14279K, paused 4ms+2ms
08-14 13:38:48.895 D/dalvikvm(9514): GC_FOR_ALLOC freed 92K, 3% free 13995K/14407K, paused 20ms
08-14 13:38:48.903 I/dalvikvm-heap(9514): Grow heap (frag case) to 13.974MB for 260112-byte allocation
08-14 13:38:48.926 D/dalvikvm(9514): GC_FOR_ALLOC freed 126K, 4% free 14123K/14663K, paused 21ms
08-14 13:38:48.950 D/dalvikvm(9514): GC_FOR_ALLOC freed 311K, 4% free 14116K/14663K, paused 20ms
08-14 13:38:48.973 D/dalvikvm(9514): GC_FOR_ALLOC freed 62K, 4% free 14180K/14663K, paused 18ms
08-14 13:38:48.973 I/dalvikvm-heap(9514): Grow heap (frag case) to 14.155MB for 260112-byte allocation
08-14 13:38:48.997 D/dalvikvm(9514): GC_FOR_ALLOC freed 126K, 5% free 14308K/14919K, paused 19ms
08-14 13:38:49.020 D/dalvikvm(9514): GC_FOR_ALLOC freed 369K, 4% free 14363K/14919K, paused 18ms
08-14 13:38:49.044 D/dalvikvm(9514): GC_FOR_ALLOC freed 126K, 3% free 14491K/14919K, paused 19ms
08-14 13:38:49.145 D/dalvikvm(9514): GC_CONCURRENT freed 363K, 3% free 14815K/15239K, paused 1ms+3ms
08-14 13:38:49.270 D/dalvikvm(9514): GC_CONCURRENT freed 179K, 2% free 15447K/15687K, paused 1ms+2ms
08-14 13:38:49.419 D/dalvikvm(9514): GC_CONCURRENT freed 580K, 4% free 15877K/16519K, paused 1ms+3ms
08-14 13:38:49.598 D/dalvikvm(6622): GC_CONCURRENT freed 497K, 5% free 13018K/13639K, paused 3ms+3ms
08-14 13:38:49.614 D/dalvikvm(9514): GC_CONCURRENT freed 764K, 6% free 16180K/17031K, paused 2ms+4ms
08-14 13:38:50.215 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:38:50.215 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:50.215 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:38:50.215 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:38:51.247 I/ActivityManager(176): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 176
08-14 13:38:51.309 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:51.458 W/InputManagerService(176): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41ee6080 (uid=10066 pid=4740)
08-14 13:38:51.973 I/ActivityManager(176): No longer want com.greythinker.punchback (pid 1923): hidden #16
08-14 13:38:51.981 W/ActivityManager(176): Scheduling restart of crashed service com.greythinker.punchback/.blockingops.PunchBackService in 5000ms
08-14 13:38:52.450 I/ActivityManager(176): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nolanlawson.logcat/.LogcatActivity bnds=[520,785][680,985]} from pid 421
08-14 13:38:52.590 V/PhoneStatusBar(256): setLightsOn(true)
08-14 13:38:52.598 D/OpenGLRenderer(421): Flushing caches (mode 0)
08-14 13:38:52.786 D/OpenGLRenderer(421): Flushing caches (mode 1)
08-14 13:38:53.911 D/dalvikvm(8222): GC_CONCURRENT freed 1336K, 21% free 13296K/16647K, paused 5ms+5ms
08-14 13:38:54.012 D/dalvikvm(8222): GC_CONCURRENT freed 263K, 20% free 13474K/16647K, paused 2ms+10ms
08-14 13:38:54.176 D/dalvikvm(8222): GC_CONCURRENT freed 303K, 19% free 13596K/16647K, paused 1ms+3ms
08-14 13:38:54.590 I/ActivityManager(176): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 176
08-14 13:38:55.020 D/dalvikvm(355): GC_CONCURRENT freed 2170K, 16% free 20944K/24711K, paused 5ms+7ms
08-14 13:38:55.145 D/dalvikvm(8222): GC_CONCURRENT freed 373K, 19% free 13623K/16647K, paused 3ms+13ms
08-14 13:38:55.590 I/ActivityManager(176): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.untappdllc.app/.UntappdV2_FinalActivity bnds=[200,785][360,985]} from pid 421
08-14 13:38:55.731 D/dalvikvm(176): GC_FOR_ALLOC freed 2188K, 18% free 24295K/29319K, paused 86ms
08-14 13:38:55.739 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:55.903 V/PhoneStatusBar(256): setLightsOn(true)
08-14 13:38:55.903 W/InputManagerService(176): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41db9060 (uid=10097 pid=8222)
08-14 13:38:55.911 D/OpenGLRenderer(421): Flushing caches (mode 0)
08-14 13:38:56.122 D/OpenGLRenderer(421): Flushing caches (mode 1)
08-14 13:38:56.465 D/dalvikvm(4441): GC_CONCURRENT freed 368K, 5% free 13359K/14023K, paused 4ms+4ms
08-14 13:38:57.005 I/dalvikvm(9546): Turning on JNI app bug workarounds for target SDK version 7...
08-14 13:38:57.012 I/ActivityManager(176): Start proc com.greythinker.punchback for service com.greythinker.punchback/.blockingops.PunchBackService: pid=9546 uid=10078 gids={3003, 1015}
08-14 13:38:57.239 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:38:57.239 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:57.239 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:38:57.239 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:38:58.083 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-14 13:38:58.083 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:58.083 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:38:58.083 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-14 13:38:58.833 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-14 13:38:58.833 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:58.833 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:38:58.833 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-14 13:38:59.676 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:38:59.676 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:38:59.676 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:38:59.676 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:00.301 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:00.301 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:00.309 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:00.309 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:00.880 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:00.880 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:00.887 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:00.887 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:01.544 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:01.544 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:01.544 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:01.544 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:02.348 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:02.348 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:02.348 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:02.348 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:03.005 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:03.005 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:03.005 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:03.005 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:03.512 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:03.512 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:03.512 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:03.512 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:04.340 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:04.340 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:04.340 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:04.340 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:05.114 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:05.114 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:05.114 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:05.114 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:05.762 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:05.762 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:05.762 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:05.762 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:06.372 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:06.372 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:06.372 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:06.372 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:07.114 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:07.114 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:07.114 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:07.114 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:07.661 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:07.661 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:07.661 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:07.661 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:08.192 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:08.192 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:08.200 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:08.200 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:08.614 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:08.614 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:08.614 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:08.614 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-14 13:39:09.059 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:09.059 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:09.067 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:09.067 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-14 13:39:09.653 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:09.653 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:09.653 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:09.653 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-14 13:39:10.200 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:10.200 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:10.200 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:10.200 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-14 13:39:10.387 D/CordovaLog(4740): ONRESUME CALLED
08-14 13:39:10.387 D/CordovaLog(4740): file:///android_asset/www/assets/js/main.js: Line 130 : ONRESUME CALLED
08-14 13:39:10.387 I/Web Console(4740): ONRESUME CALLED at file:///android_asset/www/assets/js/main.js:130
08-14 13:39:10.387 D/CordovaLog(4740): THE NEXT PAGE IS : #!/friendlistArea
08-14 13:39:10.387 D/CordovaLog(4740): file:///android_asset/www/assets/js/main.js: Line 175 : THE NEXT PAGE IS : #!/friendlistArea
08-14 13:39:10.387 I/Web Console(4740): THE NEXT PAGE IS : #!/friendlistArea at file:///android_asset/www/assets/js/main.js:175
08-14 13:39:10.395 D/CordovaLog(4740): ONRESUME CALLED
08-14 13:39:10.395 D/CordovaLog(4740): file:///android_asset/www/assets/js/main.js: Line 130 : ONRESUME CALLED
08-14 13:39:10.395 I/Web Console(4740): ONRESUME CALLED at file:///android_asset/www/assets/js/main.js:130
08-14 13:39:10.536 D/CordovaLog(4740): POS: 0
08-14 13:39:10.536 D/CordovaLog(4740): file:///android_asset/www/assets/js/util.js: Line 656 : POS: 0
08-14 13:39:10.536 I/Web Console(4740): POS: 0 at file:///android_asset/www/assets/js/util.js:656
08-14 13:39:10.536 D/CordovaLog(4740): PAGE - #friendlistArea
08-14 13:39:10.536 D/CordovaLog(4740): file:///android_asset/www/assets/js/util.js: Line 710 : PAGE - #friendlistArea
08-14 13:39:10.536 I/Web Console(4740): PAGE - #friendlistArea at file:///android_asset/www/assets/js/util.js:710
08-14 13:39:10.622 D/CordovaLog(4740): going forward
08-14 13:39:10.622 D/CordovaLog(4740): file:///android_asset/www/assets/js/util.js: Line 794 : going forward
08-14 13:39:10.622 I/Web Console(4740): going forward at file:///android_asset/www/assets/js/util.js:794
08-14 13:39:10.926 D/Cordova (4740): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:10.926 D/CordovaWebView(4740): >>> loadUrlNow()
08-14 13:39:10.934 D/DroidGap(4740): onMessage(onNativeReady,null)
08-14 13:39:10.934 D/DroidGap(4740): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-14 13:39:10.934 D/CordovaLog(4740): THE NEXT PAGE IS : #!/yourArea
08-14 13:39:10.934 D/CordovaLog(4740): file:///android_asset/www/assets/js/main.js: Line 175 : THE NEXT PAGE IS : #!/yourArea
08-14 13:39:10.934 I/Web Console(4740): THE NEXT PAGE IS : #!/yourArea at file:///android_asset/www/assets/js/main.js:175
08-14 13:39:10.934 D/CordovaLog(4740): POS: 0
08-14 13:39:10.934 D/CordovaLog(4740): file:///android_asset/www/assets/js/util.js: Line 656 : POS: 0
08-14 13:39:10.934 I/Web Console(4740): POS: 0 at file:///android_asset/www/assets/js/util.js:656
08-14 13:39:10.934 D/CordovaLog(4740): PAGE - #yourArea
08-14 13:39:10.934 D/CordovaLog(4740): file:///android_asset/www/assets/js/util.js: Line 710 : PAGE - #yourArea
08-14 13:39:10.934 I/Web Console(4740): PAGE - #yourArea at file:///android_asset/www/assets/js/util.js:710
08-14 13:39:11.051 D/CordovaLog(4740): Uncaught TypeError: Cannot call method 'activityStop' of undefined - file:///android_asset/www/assets/js/util.js 420

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491882#comment-13491882 ] 

Greg commented on CB-1185:
--------------------------

@Joe - Galaxy Nexus (The one released from Google before the Nexus 4) and
Galaxy Nexus S (released from Google)





-- 
--

Greg Avola
Co-Founder / CTO
Untappd

greg@untappd.com

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491850#comment-13491850 ] 

Greg commented on CB-1185:
--------------------------

Joe, It still happens on the Untappd app, even after changing to history
array-based navigation. It just freezes the WebView for a few seconds - the
comes back. I'm using 2.2.0rc2.

Thanks,
Greg





-- 
--

Greg Avola
Co-Founder / CTO
Untappd

greg@untappd.com

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492028#comment-13492028 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

on keepRunning - I found a ref for it, but we don't change the default (which is true right?)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445925#comment-13445925 ] 

Greg commented on CB-1185:
--------------------------

Any progress on this? 

Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497358#comment-13497358 ] 

Greg commented on CB-1185:
--------------------------

@Joe - This is WITHOUT a USB cable. If you have this plugged in, it won't replicated. Just by it's self and on Wifi - this works. Stock 4.1.2.


Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492532#comment-13492532 ] 

Joe Bowser commented on CB-1185:
--------------------------------

@Adam: If you're using keepRunning, Javascript keeps running in the background.  I thought the bug was related to the keepRunning being set to false.  So when your app is in the background, the JS will keep doing what it normally does and your browser will have a completely different state.

It sounds to me like there's an issue when the timers are running in the background, especially when you start adding things like XHRs.  I'll try to figure out if I can create a test for this.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493794#comment-13493794 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

I got some logs here, but I don't see anything immediately useful in my mind from them.
Note - I got this by running our app for like 1.5 hrs in the background, going in and out of network availability.
Logs were captured by CatLog.
If it's useful to know, we start a WAKE_LOCK when our app is running in the background.

11-08 21:00:36.930 I/InputDispatcher(  643): Application is not responding: Window{429eb608 com.twist.android/com.twist.android.TwistDroidActivity paused=false}.  20010.5ms since event, 20009.9ms since wait started
11-08 21:00:36.930 I/InputDispatcher(  643): Current inboundQueue's length is 19, outboundQueue's length is 1
11-08 21:00:36.930 I/InputDispatcher(  643): outboundQueue 0: inProgress is 1, type is 3 (429eb608 com.twist.android/com.twist.android.TwistDroidActivity (server))
11-08 21:00:36.930 D/InputDispatcher(  643): [onANRLocked] initialize cntPair(sender-receiver)
11-08 21:00:36.930 I/WindowManager(  643): Input event dispatching timed out sending to XXX.XXXXX.XXXXXXX/XXX.XXXXX.XXXXXXX.XXXXXXXXXXXXXXXXXX

... more logs ...

then:

11-08 21:00:39.243 I/Process (  643): Sending signal. PID: 21749 SIG: 3
11-08 21:00:39.243 I/dalvikvm(21749): threadid=3: reacting to signal 3
11-08 21:00:39.253 I/dalvikvm(21749): Wrote stack traces to '/data/anr/traces.txt'
11-08 21:00:39.263 I/InputReader(  643): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]
11-08 21:00:39.263 E/LocSvc_adapter(  643): I/<--- void globalEventCb(void*, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_NMEA_IND_V02
11-08 21:00:39.263 E/LocSvc_eng(  643): D/void loc_eng_deferred_action_thread(void*):1405] received msg_id = LOC_ENG_MSG_REPORT_NMEA context = 0x1340bf0
11-08 21:00:39.263 E/LocSvc_eng(  643): I/<=== nmea_cb line 1581 0x17be5a8
11-08 21:00:39.263 E/LocSvc_adapter(  643): I/<--- void globalEventCb(void*, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_NMEA_IND_V02
11-08 21:00:39.263 E/LocSvc_eng(  643): D/void loc_eng_deferred_action_thread(void*):1405] received msg_id = LOC_ENG_MSG_REPORT_NMEA context = 0x1340bf0
11-08 21:00:39.263 E/LocSvc_eng(  643): I/<=== nmea_cb line 1581 0x1cfbbf0
11-08 21:00:39.263 E/LocSvc_adapter(  643): I/<--- void globalEventCb(void*, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_NMEA_IND_V02
11-08 21:00:39.263 E/LocSvc_eng(  643): D/void loc_eng_deferred_action_thread(void*):1405] received msg_id = LOC_ENG_MSG_REPORT_NMEA context = 0x1340bf0
11-08 21:00:39.263 E/LocSvc_eng(  643): I/<=== nmea_cb line 1581 0x16601f0
11-08 21:00:39.263 D/lights  (  643): write_int /sys/class/leds/button-backlight/brightness = 255
11-08 21:00:39.263 E/android.os.Debug(  643): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_anr
11-08 21:00:39.263 D/lights  (  643): write_int /sys/class/leds/button-backlight/brightness = 0
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: reader_thread: Received 80 bytes from 309
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0026, msg_len - 0049
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: reader_thread: Received 75 bytes from 309
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0026, msg_len - 0044
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: reader_thread: Received 69 bytes from 309
11-08 21:00:39.263 D/QMI_FW  (  643): QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0026, msg_len - 003e
11-08 21:00:39.263 E/ActivityManager(  643): ANR in com.twist.android (com.twist.android/.TwistDroidActivity)
11-08 21:00:39.263 E/ActivityManager(  643): Reason: keyDispatchingTimedOut
11-08 21:00:39.263 E/ActivityManager(  643): Load: 3.14 / 2.9 / 2.62
11-08 21:00:39.263 E/ActivityManager(  643): CPU usage from 11495ms to 0ms ago with 99% awake:
11-08 21:00:39.263 E/ActivityManager(  643):   18% 21749/com.nolanlawson.logcat: 15% user + 2.3% kernel / faults: 473 minor
11-08 21:00:39.263 E/ActivityManager(  643):   3.9% 643/system_server: 2% user + 1.9% kernel / faults: 49 minor
11-08 21:00:39.263 E/ActivityManager(  643):   2.6% 332/surfaceflinger: 1.5% user + 1% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.7% 21792/logcat: 0.7% user + 0.9% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.2% 1366/mpdecision: 0% user + 1.2% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.2% 10756/logcat: 0.7% user + 0.4% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.2% 18271/logcat: 0.5% user + 0.6% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.2% 21768/logcat: 1% user + 0.1% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.1% 11670/logcat: 0.4% user + 0.6% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.8% 15175/logcat: 0.2% user + 0.6% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.6% 946/com.android.phone: 0.3% user + 0.2% kernel / faults: 8 minor
11-08 21:00:39.263 E/ActivityManager(  643):   0.6% 9718/com.google.android.apps.maps:GoogleLocationService: 0.4% user + 0.1% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.4% 19053/kworker/0:1: 0% user + 0.4% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 454/rmt_storage: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.3% 779/com.android.systemui: 0.3% user + 0% kernel / faults: 4 minor
11-08 21:00:39.263 E/ActivityManager(  643):   0.2% 86/irq/299-mms_ts: 0% user + 0.2% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.1% 448/sdcard: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.1% 16530/com.nytimes.android: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 96/mmcqd/0: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 747/hdmid: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 888/com.google.process.gapps: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 18274/kworker/u:1: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 21154/kworker/u:2: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0% 21283/com.smlds: 0% user + 0% kernel / faults: 20 minor
11-08 21:00:39.263 E/ActivityManager(  643):   0% 21565/kworker/u:3: 0% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643): 19% TOTAL: 12% user + 5.3% kernel + 1.6% iowait
11-08 21:00:39.263 E/ActivityManager(  643): CPU usage from 1741ms to 2273ms later:
11-08 21:00:39.263 E/ActivityManager(  643):   5.6% 643/system_server: 0% user + 5.6% kernel / faults: 1 minor
11-08 21:00:39.263 E/ActivityManager(  643):     7.5% 712/InputDispatcher: 1.8% user + 5.6% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   0.8% 1366/mpdecision: 0% user + 0.8% kernel
11-08 21:00:39.263 E/ActivityManager(  643):   1.1% 21749/com.nolanlawson.logcat: 1.1% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643):     1.1% 21749/anlawson.logcat: 1.1% user + 0% kernel
11-08 21:00:39.263 E/ActivityManager(  643): 7.1% TOTAL: 2% user + 5.1% kernel


I have the mentioned /data/anr/traces.txt file, but I've never read one of those before so I'm not sure what to make of it - but happy to send to someone if it might be useful.

fwiw, I tried to replicate it a second time, and had the app running for longer even, but it didn't cause the lockup - slippery little bug!
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491935#comment-13491935 ] 

Adam  commented on CB-1185:
---------------------------

I am not getting the error anymore on galaxy s3, but can't confirm those other devices. My fix was a combination of upgrading to cordova 2.2.0 and clearing all javascript timers on the "pause" event. It only stopped freezing after I did both. 
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427646#comment-13427646 ] 

Greg edited comment on CB-1185 at 8/2/12 9:43 PM:
--------------------------------------------------

Joe - yeah. I can replicate it all the time on my Galaxy Nexus and we have tons of users complaining about. Is there anyway you can keep trying (i.e not on a fresh install) - perhaps it has to do with the application and memory usage as it stays in the background.

When you say it works, you can tap the "Drink Up" on the top right every-time you resume right?

Thanks,
Greg
                
      was (Author: gregavola):
    Joe - yeah. I replicate all the time on my Galaxy Nexus and we have tons of users complaining about. Is there anyway you can keep trying (i.e not on a fresh install) - perhaps it has to do with the application and memory usage as it stays in the background.

When you say it works, you can tap the "Drink Up" on the top right every-time you resume right?

Thanks,
Greg
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492042#comment-13492042 ] 

Adam  edited comment on CB-1185 at 11/7/12 1:40 AM:
----------------------------------------------------

Are you doing phonegap build or running the project locally? If local, you can add it to the onCreate in your Activity, after super.onCreate

 super.setBooleanProperty("keepRunning", false);

I'm still doing that and don't think it fixed anything. My true fix seemed to be clearing all timers in my javascript in my handler for the "pause" event:

function onDeviceReady() {

                document.addEventListener("resume", onResume, false);
                document.addEventListener("pause", onPause, false);
  

            function onResume() {
//start the timers again
            };



            // Handle the pause event
            //
            function onPause() {
                //clear the timers
            }
                
      was (Author: drogon):
    Are you doing phonegap build or running the project locally? If local, you can add it to the onCreate in your Activity, after super.onCreate

 super.setBooleanProperty("keepRunning", false);

I'm still doing that and don't think it fixed anything. My true fix seemed to be clearing all timers in my javascript in my handler for the "pause" event:

function onDeviceReady() {

                document.addEventListener("resume", onResume, false);
                document.addEventListener("pause", onPause, false);
                document.addEventListener("backbutton", onBack, false);

               

            function onResume() {
//start the timers again
            };



            // Handle the pause event
            //
            function onPause() {
                //clear the timers
            }
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497593#comment-13497593 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

[~gregavola] Since you do have an easy to repro situation for some magical reason, can you try adding this to the Activity to see if it makes any difference? I started wondering if it wasn't a cache/memory issue.

  @Override
  public void onResume() {
    this.appView.clearCache(false);
    this.appView.destroyDrawingCache();
    super.onResume();
  }
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496655#comment-13496655 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Hrm... I started looking higher up in my log posted above and found something that looks very much like what's being discussed in this thread (and please forgive me if somehow is not relevant.. I'm kinda shooting at fish in a barrel here).

http://www.jasonshah.com/handling-android-2-3-webviews-broken-addjavascriptinterface/

>From my log:
11-02 16:56:21.263 D/DroidGap(15854): Resuming the App
11-02 16:56:21.263 I/CpuGovernorService(  643): intent action: android.intent.action.SCREEN_ON
11-02 16:56:21.263 I/SamplingRateChangeProcessor(  643): Decreased sampling rate.
11-02 16:56:21.263 D/CordovaWebView(15854): >>> loadUrlNow()
11-02 16:56:21.263 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:21.263 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled

...

11-02 16:56:21.563 W/System.err(15854):         at android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native Method)
11-02 16:56:21.563 W/System.err(15854):         at android.webkit.BrowserFrame.loadUrl(BrowserFrame.java:303)
11-02 16:56:21.563 W/System.err(15854):         at android.webkit.WebViewCore.loadUrl(WebViewCore.java:2817)
11-02 16:56:21.563 W/System.err(15854):         at android.webkit.WebViewCore.access$1900(WebViewCore.java:76)
11-02 16:56:21.563 W/System.err(15854):         at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1668)
11-02 16:56:21.563 W/System.err(15854):         at android.os.Handler.dispatchMessage(Handler.java:99)
11-02 16:56:21.563 W/System.err(15854):         at android.os.Looper.loop(Looper.java:137)
11-02 16:56:21.563 W/System.err(15854):         at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:956)
11-02 16:56:21.563 W/System.err(15854):         at java.lang.Thread.run(Thread.java:856)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497453#comment-13497453 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

[~bowserj] [~gregavola] I was able to repro with this APK on my Galaxy S3, but not the first time I tried. I did a reboot and let it sit for a bit, and then got the hanging spinner, which corrected itself after like 5-10 seconds.
Amusingly, I see nothing in the logs - maybe it would only show up if it hung for long enough for the OS to want to kill it, and then I'd see ANR..
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1185:
---------------------------

    Fix Version/s:     (was: 2.2.0)
                   2.3.0

Please try the 2.2.0 release.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460000#comment-13460000 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Hey, are you able to pull down the edge version of Cordova and test this? I just added a default fix to 2.2, and I think this will solve your issue as well.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1185:
---------------------------

    Fix Version/s: 2.2.0
    
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491959#comment-13491959 ] 

Adam  commented on CB-1185:
---------------------------

Also, may be worth noting that my in my timers, I was making ajax calls.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg updated CB-1185:
---------------------

    Summary: When Application is placed in background and resumed, the UI is frozen  (was: When )
    
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back in Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in UI. 
> Would love to see if anyone can replicate this. I've tested tis on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497372#comment-13497372 ] 

Greg commented on CB-1185:
--------------------------

@Joe Did you try a fresh-install and reboot - just to make sure? That's what I did, but figured it was not needed.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-1185.
----------------------------

    Resolution: Won't Fix
      Assignee: Joe Bowser  (was: Filip Maj)

This seems like poor XHR handling, since I only see the error message for a brief second before it just spins.  The log from my device after finally being able to reproduce the error shows a 500 error from the server.  There MIGHT be a problem with events, but we need this distilled, and I think we need a new issue for this.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491935#comment-13491935 ] 

Adam  edited comment on CB-1185 at 11/6/12 11:11 PM:
-----------------------------------------------------

I am not seeing the issue anymore on galaxy s3, but can't confirm those other devices. My fix was a combination of upgrading to cordova 2.2.0 and clearing all javascript timers on the "pause" event. It only stopped freezing after I did both. 
                
      was (Author: drogon):
    I am not getting the error anymore on galaxy s3, but can't confirm those other devices. My fix was a combination of upgrading to cordova 2.2.0 and clearing all javascript timers on the "pause" event. It only stopped freezing after I did both. 
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427624#comment-13427624 ] 

Joe Bowser commented on CB-1185:
--------------------------------

I'm not able to reproduce on my Galaxy Nexus with the latest Untappd.   Testing on the Nexus 7 and Samsung Galaxy S2 next.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492644#comment-13492644 ] 

Filip Maj commented on CB-1185:
-------------------------------

Please, if anyone on this thread who can reproduce the issue can spend 30 minutes to take their app and distill it into a single .html page with javascript the reproduces this bug, this would help us immensely.

This project has access to a large library of devices that we can test on.

Step one to solving this issue is we _must_ reproduce it locally. Going by device logs is clearly not enough for this particular issue, given this thread is now 3+ months old.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490141#comment-13490141 ] 

Adam  commented on CB-1185:
---------------------------

This is still happening to me with the Galaxy S3, Android 4.0.4, Cordova 2.2.0. Please help!
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491973#comment-13491973 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Don't know offhand where to look for keepRunning.. I don't set it explicitly anywhere.
I do have <preference name="exit-on-suspend" value="false" /> in config.xml
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427661#comment-13427661 ] 

Joe Bowser commented on CB-1185:
--------------------------------

OK, I'm dog-fooding it properly right now and I haven't noticed anything.  I'll have to stop at some point, but if I run into the bug, I'll post it here.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491908#comment-13491908 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

fwiw - we've just added some specific logging to try to catch this, but are seeing it as well (I was hoping that 2.2rc2 would make this go away). We pushed a build out to beta yesterday and two of our testers (all on Galaxy S3 4.0.3) hung, but for a really long time.
Sadly though, I don't have anything particularly useful to add here (will try to repro with the network change mentioned in this thread).
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434588#comment-13434588 ] 

Joe Bowser edited comment on CB-1185 at 8/15/12 9:39 AM:
---------------------------------------------------------

Does the app have to run in the background?  Are there tasks running that you need to continue in plugins? 

Try running super.setBooleanProperty("keepRunning", false); and see if there's a noticeable difference.

                
      was (Author: bowserj):
    Does the app have to run in the background?  Are there tasks running that you need to continue in plugins? 
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1185:
---------------------------

    Fix Version/s:     (was: 2.3.0)
    
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498513#comment-13498513 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

[~gregavola] Have you found any time or some such consistent method to get it to go into full-on ANR? I saw the lag when I repro-d it, but not the full on crash.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491847#comment-13491847 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Adam, Matthew M: I'm unable to reproduce this error at all.  Are you certain that this is with Cordova 2.2.0 and not Cordova 2.1.0?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491874#comment-13491874 ] 

Matthew M edited comment on CB-1185 at 11/6/12 10:12 PM:
---------------------------------------------------------

Absolutely sure it's 2.2, yes. We were originally using 2.2rc2 - I updated to the actual release today as well.

If it helps, certain actions seemed to cause this behavior more reliably, such as calling a Cordova plugin or changing HTML page. Sometimes upon resuming the app would be instantly frozen, while other times I would be able to scroll around the app until I pressed something that triggered an interaction with Cordova or a page change/ajax request - as soon as either of those happened the app freezes. I'm sorry my description is so vague but its hard to tell what's actually causing the freeze - I've added logging throughout the application and haven't really turned up anything.

Please let me know what sort of information or description would be useful to you.

Edit, for reference: Reproduced on 4.0.3 Galaxy S2, 2.2 Motorola Milestone 2, I can test 2.3.x S2 if that would be useful.
                
      was (Author: cfmatt):
    Absolutely sure it's 2.2, yes. We were originally using 2.2rc2 - I updated to the actual release today as well.

If it helps, certain actions seemed to cause this behavior more reliably, such as calling a Cordova plugin or changing HTML page. Sometimes upon resuming the app would be instantly frozen, while other times I would be able to scroll around the app until I pressed something that triggered an interaction with Cordova or a page change/ajax request - as soon as either of those happened the app freezes. I'm sorry my description is so vague but its hard to tell what's actually causing the freeze - I've added logging throughout the application and haven't really turned up anything.

Please let me know what sort of information or description would be useful to you.
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg updated CB-1185:
---------------------

    Description: 
When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.

Here is how you re-produce the issue:

1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Turn the the screen off and wait about 3-7 minutes
4. Turn the screen back on, and the interface should be frozen.

Another possible path to re-producing the issue:
1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Go back to the home screen then use other apps for about 3-7 minutes.
4. Go back into Untappd, and the interface should be frozen.

When the app is frozen, native menu buttons will not nor any options in the UI. 

Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)

Thanks,
Greg

  was:
When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.

Here is how you re-produce the issue:

1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Turn the the screen off and wait about 3-7 minutes
4. Turn the screen back on, and the interface should be frozen.

Another possible path to re-producing the issue:
1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
2. After logging in stay on the Friends tab
3. Go back to the home screen then use other apps for about 3-7 minutes.
4. Go back in Untappd, and the interface should be frozen.

When the app is frozen, native menu buttons will not nor any options in UI. 

Would love to see if anyone can replicate this. I've tested tis on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)

Thanks,
Greg

    
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492042#comment-13492042 ] 

Adam  commented on CB-1185:
---------------------------

Are you doing phonegap build or running the project locally? If local, you can add it to the onCreate in your Activity, after super.onCreate

 super.setBooleanProperty("keepRunning", false);

I'm still doing that and don't think it fixed anything. It seemed my real fix seemed to be clearing all timers in my javascript in my handler for the "pause" event...

function onDeviceReady() {

                document.addEventListener("resume", onResume, false);
                document.addEventListener("pause", onPause, false);
                document.addEventListener("backbutton", onBack, false);

               

            function onResume() {
//start the timers again
            };



            // Handle the pause event
            //
            function onPause() {
                //clear the timers
            }
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434336#comment-13434336 ] 

Greg commented on CB-1185:
--------------------------

@Joe yes, still getting this. The numbers of users who are complaining about this every day are rising. I've taken a look at the LogCat of users are nothing is there that details this.

Here is one log go via Google Play:

2.0.4
Aug 2, 2012 7:22:29 PM
OTHER
DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)
"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x40a84460 self=0xfdc828
  | sysTid=9569 nice=0 sched=0/0 cgrp=default handle=1074820232
  | schedstat=( 0 0 0 ) utm=4941 stm=576 core=1
  at android.database.CursorWindow.nativeCreate(Native Method)
  at android.database.CursorWindow.<init>(CursorWindow.java:102)
  at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
  at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:162)
  at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:156)
  at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:161)
  at android.database.AbstractCursor.moveToNext(AbstractCursor.java:209)
  at com.google.android.apps.analytics.PersistentEventStore.getCustomVariables((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.PersistentEventStore.peekEvents((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker.dispatch((null):-1)
  at com.google.android.apps.analytics.GoogleAnalyticsTracker$1.run((null):-1)
  at android.os.Handler.handleCallback(Handler.java:605)
  at android.os.Handler.dispatchMessage(Handler.java:92)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4424)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  at dalvik.system.NativeStart.main(Native Method)

"DispatcherThread" prio=5 tid=21 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41921a50 self=0x1805a90
  | sysTid=9602 nice=0 sched=0/0 cgrp=default handle=21786152
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.os.HandlerThread.run(HandlerThread.java:60)

"Thread-9148" prio=5 tid=19 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e2590 self=0x13bbe08
  | sysTid=9594 nice=0 sched=0/0 cgrp=default handle=21559976
  | schedstat=( 0 0 0 ) utm=1 stm=5 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9147" prio=5 tid=18 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ec958 self=0x13bb9b8
  | sysTid=9593 nice=0 sched=0/0 cgrp=default handle=20451784
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Thread-9145" prio=5 tid=16 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416e9558 self=0x12953a8
  | sysTid=9591 nice=0 sched=0/0 cgrp=default handle=19402496
  | schedstat=( 0 0 0 ) utm=0 stm=3 core=0
  at libcore.io.Posix.accept(Native Method)
  at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
  at java.net.ServerSocket.implAccept(ServerSocket.java:202)
  at java.net.ServerSocket.accept(ServerSocket.java:127)
  at org.apache.cordova.CallbackServer.run(CallbackServer.java:211)
  at java.lang.Thread.run(Thread.java:856)

"Thread-9144" prio=5 tid=15 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416ed4b8 self=0x126b108
  | sysTid=9590 nice=0 sched=0/0 cgrp=default handle=19140120
  | schedstat=( 0 0 0 ) utm=60 stm=42 core=1
  at dalvik.system.NativeStart.run(Native Method)

"CookieSyncManager" prio=5 tid=13 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416fece8 self=0x11d4a00
  | sysTid=9584 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18697808
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:118)
  at android.os.Looper.loop(Looper.java:118)
  at android.webkit.WebSyncManager.run(WebSyncManager.java:90)
  at android.webkit.CookieSyncManager.run(CookieSyncManager.java:61)
  at java.lang.Thread.run(Thread.java:856)

"AsyncTask #1" prio=5 tid=14 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ffcc8 self=0x11d5fe0
  | sysTid=9585 nice=10 sched=0/0 cgrp=bg_non_interactive handle=18699752
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x416ffe60> (a java.lang.VMThread) held by tid=14 (AsyncTask #1)
  at java.lang.Thread.parkFor(Thread.java:1231)
  at sun.misc.Unsafe.park(Unsafe.java:323)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2022)
  at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:413)
  at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1009)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1069)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
  at java.lang.Thread.run(Thread.java:856)

"WebViewCoreThread" prio=5 tid=11 SUSPENDED
  | group="main" sCount=1 dsCount=0 obj=0x416f9ac0 self=0x11d3570
  | sysTid=9582 nice=3 sched=0/0 cgrp=default handle=18692544
  | schedstat=( 0 0 0 ) utm=1161 stm=60 core=0
  at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
  at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
  at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:728)
  at java.lang.Thread.run(Thread.java:856)

"Binder Thread #2" prio=5 tid=10 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d3258 self=0x1081cc0
  | sysTid=9581 nice=0 sched=0/0 cgrp=default handle=17308040
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=1
  at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=9 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x416d26d8 self=0x1080f38
  | sysTid=9579 nice=0 sched=0/0 cgrp=default handle=18258680
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"FinalizerWatchdogDaemon" daemon prio=5 tid=8 TIMED_WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce7e0 self=0x1169208
  | sysTid=9578 nice=0 sched=0/0 cgrp=default handle=18228488
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at java.lang.VMThread.sleep(Native Method)
  at java.lang.Thread.sleep(Thread.java:1031)
  at java.lang.Thread.sleep(Thread.java:1013)
  at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:213)
  at java.lang.Thread.run(Thread.java:856)

"FinalizerDaemon" daemon prio=5 tid=7 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce688 self=0x1168bb0
  | sysTid=9577 nice=0 sched=0/0 cgrp=default handle=18232232
  | schedstat=( 0 0 0 ) utm=7 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a5d0> (a java.lang.ref.ReferenceQueue)
  at java.lang.Object.wait(Object.java:401)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:102)
  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:73)
  at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:168)
  at java.lang.Thread.run(Thread.java:856)

"ReferenceQueueDaemon" daemon prio=5 tid=6 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x416ce520 self=0x1168558
  | sysTid=9576 nice=0 sched=0/0 cgrp=default handle=18233416
  | schedstat=( 0 0 0 ) utm=1 stm=0 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x40a7a4f8>
  at java.lang.Object.wait(Object.java:364)
  at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:128)
  at java.lang.Thread.run(Thread.java:856)

"Compiler" daemon prio=5 tid=5 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce430 self=0x1167f00
  | sysTid=9575 nice=0 sched=0/0 cgrp=default handle=18233184
  | schedstat=( 0 0 0 ) utm=17 stm=10 core=0
  at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=4 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce348 self=0x119eb30
  | sysTid=9574 nice=0 sched=0/0 cgrp=default handle=18231552
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=3 RUNNABLE
  | group="system" sCount=0 dsCount=0 obj=0x416ce250 self=0x119a3f8
  | sysTid=9573 nice=0 sched=0/0 cgrp=default handle=18230016
  | schedstat=( 0 0 0 ) utm=0 stm=0 core=0
  at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=2 VMWAIT
  | group="system" sCount=1 dsCount=0 obj=0x416ce170 self=0x1161ad0
  | sysTid=9572 nice=0 sched=0/0 cgrp=default handle=18231416
  | schedstat=( 0 0 0 ) utm=31 stm=1 core=0
  at dalvik.system.NativeStart.run(Native Method)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442877#comment-13442877 ] 

Greg commented on CB-1185:
--------------------------

Here is the log from the user: 

08-27 18:16:09.129 D/DroidGap(5203): Resuming the App
08-27 18:16:09.129 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:09.316 D/OpenGLRenderer(421): Flushing caches (mode 0)
08-27 18:16:09.316 V/PhoneStatusBar(256): setLightsOn(true)
08-27 18:16:09.480 D/OpenGLRenderer(421): Flushing caches (mode 1)
08-27 18:16:10.574 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:10.574 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:10.574 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:10.574 D/CordovaLog(5203): #!/friendsArea
08-27 18:16:10.574 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/friendsArea
08-27 18:16:10.574 I/Web Console(5203): #!/friendsArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:10.574 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-27 18:16:10.574 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:10.574 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:10.574 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-27 18:16:11.504 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:11.504 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:11.504 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:11.512 D/CordovaLog(5203): #!/discoverArea
08-27 18:16:11.512 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/discoverArea
08-27 18:16:11.512 I/Web Console(5203): #!/discoverArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:11.512 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-27 18:16:11.512 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:11.512 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:11.512 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-27 18:16:12.098 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:12.098 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:12.098 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:12.098 D/CordovaLog(5203): #!/yourArea
08-27 18:16:12.098 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/yourArea
08-27 18:16:12.098 I/Web Console(5203): #!/yourArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:12.098 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-27 18:16:12.098 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:12.098 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:12.098 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-27 18:16:12.918 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:12.926 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:12.926 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:12.926 D/CordovaLog(5203): #!/friendlistArea
08-27 18:16:12.926 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/friendlistArea
08-27 18:16:12.926 I/Web Console(5203): #!/friendlistArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:12.926 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:12.926 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:12.926 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:12.926 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:13.652 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:13.652 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:13.652 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:13.652 D/CordovaLog(5203): #!/notificationsArea
08-27 18:16:13.652 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/notificationsArea
08-27 18:16:13.652 I/Web Console(5203): #!/notificationsArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:13.652 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-27 18:16:13.652 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:13.652 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:13.652 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-27 18:16:14.551 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:14.551 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:14.551 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:14.551 D/CordovaLog(5203): #!/friendsArea
08-27 18:16:14.551 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/friendsArea
08-27 18:16:14.551 I/Web Console(5203): #!/friendsArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:14.551 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/friendsArea)
08-27 18:16:14.551 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:14.551 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:14.551 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendsArea)
08-27 18:16:15.121 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:15.121 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:15.121 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:15.121 D/CordovaLog(5203): #!/discoverArea
08-27 18:16:15.121 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/discoverArea
08-27 18:16:15.121 I/Web Console(5203): #!/discoverArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:15.121 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/discoverArea)
08-27 18:16:15.121 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:15.129 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:15.129 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/discoverArea)
08-27 18:16:15.684 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:15.684 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:15.684 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:15.684 D/CordovaLog(5203): #!/yourArea
08-27 18:16:15.684 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/yourArea
08-27 18:16:15.684 I/Web Console(5203): #!/yourArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:15.684 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/yourArea)
08-27 18:16:15.684 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:15.684 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:15.684 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/yourArea)
08-27 18:16:16.246 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:16.246 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:16.246 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:16.246 D/CordovaLog(5203): #!/friendlistArea
08-27 18:16:16.246 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/friendlistArea
08-27 18:16:16.246 I/Web Console(5203): #!/friendlistArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:16.246 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:16.246 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:16.246 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:16.246 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:16.863 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:16.863 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:16.863 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:16.863 D/CordovaLog(5203): #!/notificationsArea
08-27 18:16:16.863 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/notificationsArea
08-27 18:16:16.863 I/Web Console(5203): #!/notificationsArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:16.863 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/notificationsArea)
08-27 18:16:16.863 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:16.871 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:16.871 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/notificationsArea)
08-27 18:16:17.488 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:17.488 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:17.488 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:17.488 D/CordovaLog(5203): #!/drinkArea
08-27 18:16:17.488 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/drinkArea
08-27 18:16:17.488 I/Web Console(5203): #!/drinkArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:17.488 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/drinkArea)
08-27 18:16:17.488 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:17.504 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:17.504 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/drinkArea)
08-27 18:16:18.613 D/CordovaLog(5203): TAP REGISTERED
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 261 : TAP REGISTERED
08-27 18:16:18.613 I/Web Console(5203): TAP REGISTERED at file:///android_asset/www/assets/js/main.js:261
08-27 18:16:18.613 D/CordovaLog(5203): #!/friendlistArea
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 279 : #!/friendlistArea
08-27 18:16:18.613 I/Web Console(5203): #!/friendlistArea at file:///android_asset/www/assets/js/main.js:279
08-27 18:16:18.613 D/Cordova (5203): onPageFinished(file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:18.613 D/CordovaWebView(5203): >>> loadUrlNow()
08-27 18:16:18.613 D/DroidGap(5203): onMessage(onNativeReady,null)
08-27 18:16:18.613 D/DroidGap(5203): onMessage(onPageFinished,file:///android_asset/www/index.html#!/friendlistArea)
08-27 18:16:18.613 D/CordovaLog(5203): ONRESUME CALLED
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 141 : ONRESUME CALLED
08-27 18:16:18.613 I/Web Console(5203): ONRESUME CALLED at file:///android_asset/www/assets/js/main.js:141
08-27 18:16:18.613 D/CordovaLog(5203): ONRESUME CALLED
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 141 : ONRESUME CALLED
08-27 18:16:18.613 I/Web Console(5203): ONRESUME CALLED at file:///android_asset/www/assets/js/main.js:141
08-27 18:16:18.613 D/CordovaLog(5203): STUFF FIRED
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 186 : STUFF FIRED
08-27 18:16:18.613 I/Web Console(5203): STUFF FIRED at file:///android_asset/www/assets/js/main.js:186
08-27 18:16:18.613 D/CordovaLog(5203): THE NEXT PAGE IS : #!/friendlistArea
08-27 18:16:18.613 D/CordovaLog(5203): file:///android_asset/www/assets/js/main.js: Line 190 : THE NEXT PAGE IS : #!/friendlistArea
08-27 18:16:18.613 I/Web Console(5203): THE NEXT PAGE IS : #!/friendlistArea at file:///android_asset/www/assets/js/main.js:190
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460572#comment-13460572 ] 

Joe Bowser commented on CB-1185:
--------------------------------

My advice is to stick with the 2.1 build, since it has been tested by the majority if not all the Cordova Android developers while we've been in code freeze.  Honestly, the JAR and JS Simon gave you which is from edge may have just been tested by Simon and maybe myself if we're lucky, and I can tell you is probably 8 commits out of date now.

Even though the new build may be better, I can't guarantee that because unlike releases where I'm sure everyone's at least run Mobile Spec at least once on it, I have no clue what happened with this JAR.  It's also why I'm slow to give out random JARs.


                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492606#comment-13492606 ] 

Joe Bowser commented on CB-1185:
--------------------------------

OK, so I really need a simple example app to pursue this any further.  I can work on one on this end, but it may be faster if someone who is actually experiencing this issue wrote it.  This app:

* Should not use any 3rd Party Libraries (no jQuery Mobile, no Sencha)
* Should only consist of what's needed to reproduce the bug (I don't care if it's pretty, it just has to break)

This bug has chewed up a lot of time with us stabbing at it randomly in the dark.  We need a real example.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496336#comment-13496336 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

So my simple app test-case didn't reproduce the bug last night.
I'll put up a link to a github clone with my changes shortly.. but, in the meantime - @Untappd = what's your high-level main components/lib setup?

For Twist it's:
- Zepto
- Underscore/Backbone
- Hogan templates
- GPS watchPosition / stopWatchPosition action
- Bing Maps
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491867#comment-13491867 ] 

Greg commented on CB-1185:
--------------------------

@Joe - 4.1.2 and 4.0.x are the main testing devices and it does freeze on
those. I have got it to free on 2.3.x only once. I gotta send you a new
copy running 2.2.0. Will get you that later this evening.

Greg





-- 
--

Greg Avola
Co-Founder / CTO
Untappd

greg@untappd.com

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437803#comment-13437803 ] 

Greg commented on CB-1185:
--------------------------

Joe,

Want to follow up with this question. Any insights or help?

Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491877#comment-13491877 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Greg: When you upgrade Cordova, you also upgrade the JS, right?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492069#comment-13492069 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

We build locally, but need to "keepRunning" for our app to work. We're gathering geopoints and beaconing them to a server while backgrounded.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494170#comment-13494170 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Untappd has way too many moving parts for me to troubleshoot this bug.  I need a sample app to actually see what's causing it.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492176#comment-13492176 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Actually, apologies - that log line and when I think the crash happened don't line up, the more I look at the logs. I got excited because I saw an earlier mention on this thread that had these called out, but they're common enough in my logs (they look like they just represent page load).

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493805#comment-13493805 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

One other thing.. the last log from my app (awhile before this) is this one from UrbanAirship. hmmmm. (just throwing this out there to see if Untappd might also be using UA, or else this is just a red herring)

11-08 21:00:13.585 I/Twist - UALib(  691): Sending 4 events.
11-08 21:00:13.595 I/Twist - UALib(  691): Sending Analytics to: https://combine.urbanairship.com/warp9/
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460565#comment-13460565 ] 

Greg commented on CB-1185:
--------------------------

Most of the comments we have from the users have been that the freezing has been "less" in this version. However - we have new build set to be released today or Monday. Through my regression testing - the app is stable and does was it supposed to do with the copy of the JAR/JS that Simon provided (which was off the edge build).

My concern is that other items might be broken. Is your advice to use this edge release for our App update, or stick with the yet to be released 2.1 build?

Thanks,
Greg

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496669#comment-13496669 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

[~bowserj]
Pasting more of the logs in case there's something of interest there. 
My device is a Galaxy S3, so yah Android 4.x

11-02 16:56:00.243 V/AlarmManager(  643): waitForAlarm result :8
11-02 16:56:00.243 V/AlarmManager(  643): ClockReceiver onReceive() ACTION_TIME_TICK
11-02 16:56:00.243 W/AlarmManager(  643): FACTORY_ON= 0
11-02 16:56:00.323 D/KeyguardUpdateMonitor(  643): received broadcast android.intent.action.TIME_TICK
11-02 16:56:00.333 D/KeyguardUpdateMonitor(  643): handleTimeUpdate
11-02 16:56:00.353 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:00.353 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:00.363 D/STATUSBAR-Clock(  779): onReceive() - ACTION_TIME_TICK
11-02 16:56:00.363 D/STATUSBAR-Clock(  779): updateClock :4:56 PM
11-02 16:56:00.413 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:00.413 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:00.413 D/STATUSBAR-DateView(  779): updateClock :11/02/2012
11-02 16:56:00.564 D/ClockWidget(  643): refreshTime()
11-02 16:56:00.604 D/ClockWidget(  643): TTS Message = It is 4 : 56 PM, Friday, November 2
11-02 16:56:01.545 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:01.545 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:01.555 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:01.555 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:02.986 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:02.986 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:03.006 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:03.006 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:04.107 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:04.107 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:04.117 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:04.117 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:05.559 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:05.559 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:05.559 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:05.559 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:07.251 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:07.251 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:07.271 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:07.271 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:07.511 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:07.511 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:08.542 D/BatteryService(  643): update start
11-02 16:56:08.542 D/BatteryService(  643): level:99 scale:100 status:3 health:2 present:true voltage: 4261 temperature: 290 technology: Li-ion AC powered:false USB powered:false icon:17303121 invalid charger:0
11-02 16:56:08.552 D/KeyguardUpdateMonitor(  643): received broadcast android.intent.action.BATTERY_CHANGED
11-02 16:56:08.552 D/KeyguardUpdateMonitor(  643): handleBatteryUpdate
11-02 16:56:08.552 D/ThermistorObserver(  643): mBatteryBRForAMOLED : onReceive() : newTemperature : 290
11-02 16:56:08.552 D/STATUSBAR-BatteryController(  779): onReceive() - ACTION_BATTERY_CHANGED
11-02 16:56:08.552 D/STATUSBAR-BatteryController(  779): onReceive() - level:99
11-02 16:56:08.552 D/STATUSBAR-BatteryController(  779): onReceive() - plugged:0
11-02 16:56:08.552 D/STATUSBAR-BatteryController(  779): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
11-02 16:56:10.815 E/MP-Decision( 1366): UP Ld:92 Nw:1.990000 Tw:140 rq:1.000000 seq:147.000000
11-02 16:56:11.155 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.155 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.175 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.175 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.185 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.185 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.195 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.195 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.205 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.205 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.215 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.215 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.305 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.305 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.355 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.355 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.555 D/MobileDataStateTracker(  643): default: setPolicyDataEnable(enabled=true)
11-02 16:56:11.685 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.685 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:11.695 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:11.695 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:21.173 V/AT_Distributor(  341): received[index : 0, fd : 11] : UART, 1
11-02 16:56:21.203 D/InputReader(  643): Input event: value=1
11-02 16:56:21.203 D/InputReader(  643): Input event: value=0
11-02 16:56:21.203 D/KeyguardViewMediator(  643): onWakeKeyWhenKeyguardShowing(26)
11-02 16:56:21.203 D/KeyguardViewMediator(  643): isHelpOerlayMode is true
11-02 16:56:21.203 I/power   (  643): *** set_screen_state 1
11-02 16:56:21.203 D/lights  (  643): write_int /sys/class/leds/button-backlight/brightness = 255
11-02 16:56:21.203 D/KeyguardViewManager(  643): wakeWhenReady(26)
11-02 16:56:21.203 D/LockPatternKeyguardView(  643): onWakeKey
11-02 16:56:21.203 D/LockPatternKeyguardView(  643): poking wake lock immediately
11-02 16:56:21.203 D/PowerManagerService(  643): reactivateScreenLocksLocked mProxIgnoredBecauseScreenTurnedOff=false
11-02 16:56:21.203 D/PowerManagerService(  643): Screen__On : acquireWakeLock flags=0x1000001a tag=keyguard uid=1000 pid=643   myUID=1000 myPID=643 myTID=708
11-02 16:56:21.203 D/PowerManagerService(  643): enableLightSensorLocked enable=true mAutoBrightessEnabled=false
11-02 16:56:21.203 D/PowerManagerService(  643): sendNotificationLocked on=true
11-02 16:56:21.203 I/PowerManagerService(  643): Ulight 0x0->0x4|0x0
11-02 16:56:21.203 D/PowerManagerService(  643): setLightBrightness : mButtonLight : 255
11-02 16:56:21.203 D/PowerManagerService(  643): acquireWakeLock flags=0x1000001a tag=keyguard uid=1000 pid=643   myUID=1000 myPID=643 myTID=708
11-02 16:56:21.213 D/KeyguardViewMediator(  643): onScreenTurnedOn, seq = 164
11-02 16:56:21.213 D/KeyguardViewMediator(  643): notifyScreenOnLocked
11-02 16:56:21.213 D/WindowManager(  643): mSetIgnorePWR
11-02 16:56:21.213 E/Sensors (  643): requested_sensors(0) from kernel
11-02 16:56:21.213 V/Sensors (  643): calling inv_set_mpu_sensors(00007f)
11-02 16:56:21.213 D/PowerManagerService(  643): mNotificationTask : on
11-02 16:56:21.223 E/Sensors (  643): set fifo rate - divider : -28092523, delay : 18446744073709 ms (0.00 Hz)
11-02 16:56:21.223 V/Sensors (  643): Starting DMP
11-02 16:56:21.223 W/MPL-9_sup(  643): 9 axis sensor fusion not available - No compass detected.
11-02 16:56:21.223 I/Sensors (  643): Enabled 9 axis sensor fusion
11-02 16:56:21.223 W/WindowManager(  643): ignore screen on : false
11-02 16:56:21.223 D/KeyguardViewMediator(  643): handleNotifyScreenOn
11-02 16:56:21.223 D/KeyguardViewManager(  643): onScreenTurnedOn()
11-02 16:56:21.223 D/LockPatternKeyguardView(  643): screen on
11-02 16:56:21.223 D/CircleLockScreen(  643): onResume()
11-02 16:56:21.223 D/CircleUnlockRippleRenderer(  643): onResume isUnlocked = false
11-02 16:56:21.223 D/ClockWidget(  643): isServiceEnable = false cityId = cityId:347629
11-02 16:56:21.223 D/ClockWidget(  643): Weather Demon is not running, Set visibility to GONE
11-02 16:56:21.223 D/CircleMissedEventWidget(  643): onResume()
11-02 16:56:21.233 I/power   (  643): *** acquire_dvfs_lock : lockType : 1  freq : 1026000 
11-02 16:56:21.233 D/PowerManagerService(  643): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 1026000  uid : 1000  pid : 643  tag : ActivityManager
11-02 16:56:21.233 W/ActivityManager(  643): mDVFSLock.acquire()
11-02 16:56:21.263 D/DroidGap(15854): Resuming the App
11-02 16:56:21.263 I/CpuGovernorService(  643): intent action: android.intent.action.SCREEN_ON
11-02 16:56:21.263 I/SamplingRateChangeProcessor(  643): Decreased sampling rate.
11-02 16:56:21.263 D/CordovaWebView(15854): >>> loadUrlNow()
11-02 16:56:21.263 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:21.263 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:21.263 D/webkit  (15854): Firewall not null
11-02 16:56:21.263 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:21.263 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:21.263 D/webkit  (15854): euler: isUrlBlocked = false
11-02 16:56:21.263 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:21.263 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled
11-02 16:56:21.273 I/ClipboardServiceEx(  643): Send intent for dismiss clipboard dialog inside hideCurrentInputLocked() !
11-02 16:56:21.273 D/WfdService(  643): intent recieved android.intent.action.SCREEN_ON
11-02 16:56:21.283 D/lights  (  643): write pattern : g_led_info = 0
11-02 16:56:21.283 D/lights  (  643): write_int /sys/class/sec/led/led_pattern = 0
11-02 16:56:21.283 D/AudioHardwareALSA(  335): setParameters() screen_state=on
11-02 16:56:21.283 D/tms_audio_hw/AudioTmsIpc(  335): adev_set_parameters : Enter 
11-02 16:56:21.283 D/tms_audio_hw/AudioTmsIpc(  335): adev_set_parameters : Exit 
11-02 16:56:21.283 D/STATUSBAR-NotificationService(  643): ACTION_SCREEN_ON
11-02 16:56:21.283 D/STATUSBAR-NotificationService(  643): updateLightsLocked() : Turn off notification light
11-02 16:56:21.313 D/CircleMissedEventWidget(  643): pkgName: com.android.email className: com.android.email.activity.Welcome
11-02 16:56:21.313 D/CircleMissedEventWidget(  643): pkgName: com.android.mms className: com.android.mms.ui.ConversationComposer
11-02 16:56:21.313 D/CircleMissedEventWidget(  643): pkgName: com.android.contacts className: com.android.contacts.activities.DialtactsActivity
11-02 16:56:21.313 D/CircleMissedEventWidget(  643): updateMissedEvent(missed Call Count = 0, bUpdatedCallCount = false)
11-02 16:56:21.313 D/CircleMissedEventWidget(  643): updateMissedEvent(Unread Msg Count = 0, bUpdatedMsgCount = false)
11-02 16:56:21.313 D/CircleShortcutWidget(  643): onResume()
11-02 16:56:21.313 D/CircleLockScreen(  643): mCallback.isShowingAndNotHidden()=true
11-02 16:56:21.313 V/KeyguardStatusView(  643): onResume()
11-02 16:56:21.313 E/KeyguardUpdateMonitor(  643): Object tried to add another INFO callback
11-02 16:56:21.313 E/KeyguardUpdateMonitor(  643): Object tried to add another INFO callback
11-02 16:56:21.313 V/KeyguardStatusView(  643): updateStatusLines(true)
11-02 16:56:21.313 D/UnlockScreen(  643): max failed attempt for device disable :0
11-02 16:56:21.313 D/UnlockScreen(  643): isDeviceDisabledForMaxFailedAttempt return :false
11-02 16:56:21.313 D/UnlockScreen(  643): mode normal
11-02 16:56:21.313 V/LockPatternKeyguardView(  643): Restoring widget state
11-02 16:56:21.323 I/MPL-mldl_cfg_mpu:(  643): inv_mpu_resume(,,,,007f) -> 007f
11-02 16:56:21.333 E/Sensors (  643): wakeEvent : mEnabled = 0, mOldEnabled = 18
11-02 16:56:21.393 V/AudioPolicyManagerBase(  335): getNewDevice() selected device 0
11-02 16:56:21.393 V/AudioPolicyManagerBase(  335): getDeviceForStrategy() from cache strategy 0, device 2
11-02 16:56:21.393 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 12
11-02 16:56:21.393 I/WindowManager(  643): Lock screen displayed!
11-02 16:56:21.393 I/PowerManagerService(  643): Ulight 0x7->0x7|0x1
11-02 16:56:21.413 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 25
11-02 16:56:21.413 D/VolumePanel(  643): change volume by MSG_VOLUME_CHANGED
11-02 16:56:21.413 D/VolumePanel(  643): onVolumeChanged(streamType: 3, flags: 64)
11-02 16:56:21.413 D/VolumePanel(  643): Call setChangeSeekbarColor(false)
11-02 16:56:21.423 V/AudioPolicyManagerBase(  335): getNewDevice() selected device 0
11-02 16:56:21.423 V/AudioPolicyManagerBase(  335): getDeviceForStrategy() from cache strategy 0, device 2
11-02 16:56:21.423 D/AudioService(  643): getStreamVolume(3)
11-02 16:56:21.423 V/AudioPolicyManagerBase(  335): getNewDevice() selected device 0
11-02 16:56:21.423 V/AudioPolicyManagerBase(  335): getDeviceForStrategy() from cache strategy 0, device 2
11-02 16:56:21.423 D/VolumePanel(  643): call resetTimeout
11-02 16:56:21.423 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 38
11-02 16:56:21.443 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 51
11-02 16:56:21.443 D/STATUSBAR-Clock(  779): onReceive() - ACTION_SCREEN_ON
11-02 16:56:21.443 D/STATUSBAR-Clock(  779): updateClock :4:56 PM
11-02 16:56:21.453 W/AlarmManager(  643): FACTORY_ON= 0
11-02 16:56:21.463 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 63
11-02 16:56:21.463 D/FastDormancy(  946): [FD] INTENT ACTION android.intent.action.SCREEN_ON
11-02 16:56:21.463 D/FastDormancy(  946): [FD] mIsScreenOn: true
11-02 16:56:21.473 D/FastDormancy(  946): [SCREEN_ON] New FD Time: 0
11-02 16:56:21.473 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 76
11-02 16:56:21.493 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 89
11-02 16:56:21.503 W/SignalStrength(  643): getLteLevel =5
11-02 16:56:21.503 W/SignalStrength(  643): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -63 6 272 2147483647 gsm|lte 0x5)
11-02 16:56:21.513 W/SignalStrength(  779): getLteLevel =5
11-02 16:56:21.513 W/SignalStrength(  779): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -63 6 272 2147483647 gsm|lte 0x5)
11-02 16:56:21.513 W/SignalStrength(  779): getLteLevel =5
11-02 16:56:21.513 W/SignalStrength(  779): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -63 6 272 2147483647 gsm|lte 0x5)
11-02 16:56:21.513 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 102
11-02 16:56:21.513 D/WindowManager(  643): mUnSetIgnorePWR
11-02 16:56:21.513 W/SignalStrength(  643): getDbm 1
11-02 16:56:21.513 D/SignalStrength(  643): getLteDbm=-63
11-02 16:56:21.513 W/SignalStrength(  643): getDbm=-63
11-02 16:56:21.513 W/SignalStrength(  643): getAsuLevel 1
11-02 16:56:21.513 D/SignalStrength(  643): getLteDbm=-63
11-02 16:56:21.513 W/SignalStrength(  643): Lte Asu level: 77
11-02 16:56:21.513 W/SignalStrength(  643): getAsuLevel=77
11-02 16:56:21.513 D/STATUSBAR-NetworkController(  779): onSignalStrengthsChanged signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -63 6 272 2147483647 gsm|lte 0x5 level=5
11-02 16:56:21.513 W/AlarmManager(  643): FACTORY_ON= 0
11-02 16:56:21.523 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 114
11-02 16:56:21.543 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 127
11-02 16:56:21.553 W/System.err(15854): java.lang.RuntimeException: Caught signal
11-02 16:56:21.553 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 140
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native Method)
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.BrowserFrame.loadUrl(BrowserFrame.java:303)
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.WebViewCore.loadUrl(WebViewCore.java:2817)
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.WebViewCore.access$1900(WebViewCore.java:76)
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1668)
11-02 16:56:21.563 W/System.err(15854): 	at android.os.Handler.dispatchMessage(Handler.java:99)
11-02 16:56:21.563 W/System.err(15854): 	at android.os.Looper.loop(Looper.java:137)
11-02 16:56:21.563 W/System.err(15854): 	at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:956)
11-02 16:56:21.563 W/System.err(15854): 	at java.lang.Thread.run(Thread.java:856)
11-02 16:56:21.573 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 153
11-02 16:56:21.593 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 165
11-02 16:56:21.603 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 178
11-02 16:56:21.623 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 191
11-02 16:56:21.633 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 204
11-02 16:56:21.653 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 216
11-02 16:56:21.663 W/AlarmManager(  643): FACTORY_ON= 0
11-02 16:56:21.673 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 229
11-02 16:56:21.683 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 242
11-02 16:56:21.703 D/lights  (  643): write_int /sys/class/leds/lcd-backlight/brightness = 255
11-02 16:56:21.703 I/PowerManagerService(  643): Light Animator Finished curIntValue=255
11-02 16:56:21.723 W/SignalStrength(  643): getLteLevel =5
11-02 16:56:21.723 W/SignalStrength(  643): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -62 6 280 2147483647 gsm|lte 0x5)
11-02 16:56:21.723 W/SignalStrength(  779): getLteLevel =5
11-02 16:56:21.723 W/SignalStrength(  779): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -62 6 280 2147483647 gsm|lte 0x5)
11-02 16:56:21.723 W/SignalStrength(  779): getLteLevel =5
11-02 16:56:21.723 W/SignalStrength(  779): getLevel=5 (SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -62 6 280 2147483647 gsm|lte 0x5)
11-02 16:56:21.723 W/AlarmManager(  643): FACTORY_ON= 0
11-02 16:56:21.723 D/BatteryService(  643): update start
11-02 16:56:21.723 D/STATUSBAR-NetworkController(  779): onSignalStrengthsChanged signalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 31 -62 6 280 2147483647 gsm|lte 0x5 level=5
11-02 16:56:21.723 D/BatteryService(  643): level:99 scale:100 status:3 health:2 present:true voltage: 4246 temperature: 292 technology: Li-ion AC powered:false USB powered:false icon:17303121 invalid charger:0
11-02 16:56:21.733 E/dalvikvm(15854): JNI ERROR (app bug): accessed stale local reference 0x91c0002d (index 11 in a table of size 7)
11-02 16:56:21.733 E/dalvikvm(15854): VM aborting
11-02 16:56:21.753 W/SignalStrength(  643): getDbm 1
11-02 16:56:21.753 D/SignalStrength(  643): getLteDbm=-62
11-02 16:56:21.753 W/SignalStrength(  643): getDbm=-62
11-02 16:56:21.753 W/SignalStrength(  643): getAsuLevel 1
11-02 16:56:21.753 D/SignalStrength(  643): getLteDbm=-62
11-02 16:56:21.753 W/SignalStrength(  643): Lte Asu level: 78
11-02 16:56:21.753 W/SignalStrength(  643): getAsuLevel=78
11-02 16:56:21.753 D/KeyguardUpdateMonitor(  643): received broadcast android.intent.action.BATTERY_CHANGED
11-02 16:56:21.753 D/KeyguardUpdateMonitor(  643): handleBatteryUpdate
11-02 16:56:21.753 D/ThermistorObserver(  643): mBatteryBRForAMOLED : onReceive() : newTemperature : 292
11-02 16:56:21.763 D/SurfaceFlinger(  332): Screen about to return, flinger = 0x11e2ec0
11-02 16:56:21.763 E/msm8960.gralloc(  332): In fb_enableHDMIOutput: externaltype = 0
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - ACTION_BATTERY_CHANGED
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - level:99
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - plugged:0
11-02 16:56:21.803 D/STATUSBAR-BatteryController(  779): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
11-02 16:56:21.833 D/dalvikvm( 2234): GC_CONCURRENT freed 1779K, 27% free 14122K/19107K, paused 8ms+3ms
11-02 16:56:21.983 D/Zygote  (  333): Process 15854 terminated by signal (11)
11-02 16:56:21.993 W/InputDispatcher(  643): channel ~ Consumer closed input channel or an error occurred.  events=0x8
11-02 16:56:21.993 E/InputDispatcher(  643): channel ~ Channel is unrecoverably broken and will be disposed!
11-02 16:56:21.993 W/InputDispatcher(  643): Attempted to unregister already unregistered input channel
11-02 16:56:21.993 I/WindowManager(  643): WINDOW DIED Window{4210e748 XXX.XXXXX.XXXXXXX/XXX.XXXXX.XXXXXXX.XXXXXXXXXXXXXXXXXX paused=false}
11-02 16:56:21.993 I/ActivityManager(  643): Process com.twist.android (pid 15854) has died.
11-02 16:56:22.003 W/SurfaceFlinger(  332): id=1516 Removed idx=1 Map Size=17
11-02 16:56:22.003 D/memalloc(  332): ion: Freeing buffer base:0x44559000 size:3768320 fd:11
11-02 16:56:22.003 D/memalloc(  332): ion: Freeing buffer base:0x45a5c000 size:3768320 fd:55
11-02 16:56:22.003 W/SurfaceFlinger(  332): id=1516 Removed idx=-2 Map Size=17
11-02 16:56:22.003 D/KeyguardViewMediator(  643): setHidden false
11-02 16:56:22.013 D/memalloc(  332): ion: Freeing buffer base:0x456a5000 size:3768320 fd:49
11-02 16:56:22.023 D/KeyguardViewMediator(  643): setHidden false
11-02 16:56:22.023 W/WindowManager(  643): Failed looking up window
11-02 16:56:22.023 W/WindowManager(  643): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@420b5298 does not exist
11-02 16:56:22.023 W/WindowManager(  643): 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7622)
11-02 16:56:22.023 W/WindowManager(  643): 	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7613)
11-02 16:56:22.023 W/WindowManager(  643): 	at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1580)
11-02 16:56:22.023 W/WindowManager(  643): 	at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
11-02 16:56:22.023 W/WindowManager(  643): 	at dalvik.system.NativeStart.run(Native Method)
11-02 16:56:22.023 I/WindowManager(  643): WIN DEATH: null
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442865#comment-13442865 ] 

Greg commented on CB-1185:
--------------------------

Jonathan,

This didn't help. It still created this annoying UI freeze lag.

I think it made it worse. You can check out this build here: https://untappd.s3.amazonaws.com/app_dir/Untappd-2050120827.apk


Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434338#comment-13434338 ] 

Greg commented on CB-1185:
--------------------------

Also - here is our latest test build: https://untappd.s3.amazonaws.com/app_dir/Untappd-2050120814.apk
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491830#comment-13491830 ] 

Matthew M edited comment on CB-1185 at 11/6/12 9:11 PM:
--------------------------------------------------------

Also reproducible for us on our Android 2.2 and 4.0.3 devices when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again.  On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2.
                
      was (Author: cfmatt):
    Also reproducible for us on Android 2.2 and 4.0.3 when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again.  On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2.
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440607#comment-13440607 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Hey

Are you actually running 2.0, or are you running something straight out of the repo?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497368#comment-13497368 ] 

Joe Bowser commented on CB-1185:
--------------------------------

No, I'm still not able to reproduce this issue.  I'll try on another Galaxy Nexus and see if it's just my device.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491949#comment-13491949 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

We do in fact have timers running while the app is in the background fwiw.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491948#comment-13491948 ] 

Adam  commented on CB-1185:
---------------------------

Mine seems to be related to this as well, which was previously linked to this bug.

https://issues.apache.org/jira/browse/CB-1286?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491887#comment-13491887 ] 

Matthew M commented on CB-1185:
-------------------------------

Yes, I upgraded both parts of Cordova.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460025#comment-13460025 ] 

Greg commented on CB-1185:
--------------------------

Joe, would it be possible for to create the JAR/JS file for me, so I can test? I always fail miserably when it comes to generating that stuff.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460561#comment-13460561 ] 

Joe Bowser commented on CB-1185:
--------------------------------

No, we haven't actually released anything yet, until then it's not production ready.  But I have trouble reproducing this bug, which is why I asked whether you could reproduce it.  I'd like to get this fixed, but if you would rather wait until we release 2.2 to make sure this works or not, I'd definitely understand.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427646#comment-13427646 ] 

Greg commented on CB-1185:
--------------------------

Joe - yeah. I replicate all the time on my Galaxy Nexus and we have tons of users complaining about. Is there anyway you can keep trying (i.e not on a fresh install) - perhaps it has to do with the application and memory usage as it stays in the background.

When you say it works, you can tap the "Drink Up" on the top right every-time you resume right?

Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434601#comment-13434601 ] 

Greg commented on CB-1185:
--------------------------

Does it go before or after: super.onCreate(savedInstanceState)?

Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434627#comment-13434627 ] 

Joe Bowser commented on CB-1185:
--------------------------------

It should go after.  Also, if you are still having memory problems, can you go into DDMS and do a profile of your application? I'd be interested in seeing what your memory usage is.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Jonathan Bond-Caron (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442764#comment-13442764 ] 

Jonathan Bond-Caron commented on CB-1185:
-----------------------------------------

Try the attached JAR file, let me know if it fixes your problem.


Joe I believe that:

// Don't process pause if shutting down, since onDestroy() will be called
if (this.activityState == ACTIVITY_EXITING) {
   return;
}

should be :

// Don't process pause if shutting down, since onDestroy() will be called
if ( super.isFinishing() ) {
   LOG.d(TAG, "FINISHING!");
   return;
}

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449098#comment-13449098 ] 

Joe Bowser commented on CB-1185:
--------------------------------

This may be related to a larger issue with the bridge.  We may have a fix for this when using a different bridge method, which should be in 2.2
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460167#comment-13460167 ] 

Joe Bowser commented on CB-1185:
--------------------------------

So, instead of the user being perma-froze, it's now just locking it temporarily? Am I understanding this correctly? Also, there was a bug in the last JS that we still need to fix.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491937#comment-13491937 ] 

Adam  commented on CB-1185:
---------------------------

Also, web console logging did not help, as it was not firing any javascript during the "freeze"
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Jonathan Bond-Caron (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Bond-Caron updated CB-1185:
------------------------------------

    Attachment: cordova-2.0.0.jar

JAR with fix
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492648#comment-13492648 ] 

Adam  commented on CB-1185:
---------------------------

I will be able to next week, but this week we are fending off "death by 1000 cuts" for Android :)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440683#comment-13440683 ] 

Greg commented on CB-1185:
--------------------------

2.0 download from phonegap.com - no modifications.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434460#comment-13434460 ] 

Joe Bowser commented on CB-1185:
--------------------------------

I don't see what the actual exception being thrown is.  I don't see any Cordova classes in any of the logcat dumps.  What's your android:configChanges look like in your manifest? 
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492172#comment-13492172 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

We just got logs with a crash like this, but nothing new here really:

11-06 22:38:35.070 D/DroidGap( 5361): onMessage(onNativeReady,null)
11-06 22:38:35.070 D/DroidGap( 5361): onMessage(onPageFinished,file:///android_asset/www/settings)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491874#comment-13491874 ] 

Matthew M commented on CB-1185:
-------------------------------

Absolutely sure it's 2.2, yes. We were originally using 2.2rc2 - I updated to the actual release today as well.

If it helps, certain actions seemed to cause this behavior more reliably, such as calling a Cordova plugin or changing HTML page. Sometimes upon resuming the app would be instantly frozen, while other times I would be able to scroll around the app until I pressed something that triggered an interaction with Cordova or a page change/ajax request - as soon as either of those happened the app freezes. I'm sorry my description is so vague but its hard to tell what's actually causing the freeze - I've added logging throughout the application and haven't really turned up anything.

Please let me know what sort of information or description would be useful to you.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434588#comment-13434588 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Does the app have to run in the background?  Are there tasks running that you need to continue in plugins? 
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473410#comment-13473410 ] 

Joe Bowser commented on CB-1185:
--------------------------------

We're working on the release candidate.  I still think your bug is bridge related, and we fixed that back in September.  If there are JARs for the release candidate, I recommend grabbing those.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497560#comment-13497560 ] 

Joe Bowser commented on CB-1185:
--------------------------------

OK, I re-installed, restarted and now I get this error, but I also get this:
D/CordovaLog( 2837): file:///android_asset/www/assets/js/util.js: Line 501 : 500 error null true undefined
I/Web Console( 2837): 500 error null true undefined at file:///android_asset/www/assets/js/util.js:501

The more I look at this, the less it looks like a Cordova/PhoneGap error, I'm going to have to close this as "Won't Fix" for now.  If you can figure out what's causing your 500 error, please feel free to re-submit the bug.

                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam  updated CB-1185:
----------------------

    Attachment: issues.zip

apk and logcat export
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427666#comment-13427666 ] 

Greg commented on CB-1185:
--------------------------

Ok Joe - I'll try to film it next time I have the device with me. I'll also ask for some users to provide LogCat. Thanks - Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492042#comment-13492042 ] 

Adam  edited comment on CB-1185 at 11/7/12 1:39 AM:
----------------------------------------------------

Are you doing phonegap build or running the project locally? If local, you can add it to the onCreate in your Activity, after super.onCreate

 super.setBooleanProperty("keepRunning", false);

I'm still doing that and don't think it fixed anything. My true fix seemed to be clearing all timers in my javascript in my handler for the "pause" event:

function onDeviceReady() {

                document.addEventListener("resume", onResume, false);
                document.addEventListener("pause", onPause, false);
                document.addEventListener("backbutton", onBack, false);

               

            function onResume() {
//start the timers again
            };



            // Handle the pause event
            //
            function onPause() {
                //clear the timers
            }
                
      was (Author: drogon):
    Are you doing phonegap build or running the project locally? If local, you can add it to the onCreate in your Activity, after super.onCreate

 super.setBooleanProperty("keepRunning", false);

I'm still doing that and don't think it fixed anything. It seemed my real fix seemed to be clearing all timers in my javascript in my handler for the "pause" event...

function onDeviceReady() {

                document.addEventListener("resume", onResume, false);
                document.addEventListener("pause", onPause, false);
                document.addEventListener("backbutton", onBack, false);

               

            function onResume() {
//start the timers again
            };



            // Handle the pause event
            //
            function onPause() {
                //clear the timers
            }
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427632#comment-13427632 ] 

Joe Bowser commented on CB-1185:
--------------------------------

Not able to reproduce on Nexus 7 or Samsung Galaxy S2 either. Grabbing other ICS devices now.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460426#comment-13460426 ] 

Greg commented on CB-1185:
--------------------------

It's still a perma-froze, just much longer now. What is the bug in the JS file? So this isn't production ready?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492646#comment-13492646 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

I can't even reproduce it in our app, as much as I try.
I'm fantasizing that I'll be able to. If I find a way, I'll definitely try to distill it.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473243#comment-13473243 ] 

Greg commented on CB-1185:
--------------------------

Joe - any update on this?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>             Fix For: 2.2.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Lindsey Simon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495671#comment-13495671 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Unless anyone pings back that they're working on it, I'm going to make a sample app this afternoon which just pings a server in the background periodically and see if I can repro by leaving it on for a long time.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491941#comment-13491941 ] 

Joe Bowser commented on CB-1185:
--------------------------------

@Adam: This was on the Galaxy S3? OK, this is a different bug than the Online/Offline bug.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Greg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496486#comment-13496486 ] 

Greg commented on CB-1185:
--------------------------

@Lindsey our  basic setup is:

- Zepto
- HandlebarsJS
- History using Array (no Backbone or Underscore)

That's pretty much it. As for a UA - we are playing with the - but nothing is 100% set. We don't have push enabled in our app yet.

Thanks,
Greg
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491830#comment-13491830 ] 

Matthew M edited comment on CB-1185 at 11/6/12 9:13 PM:
--------------------------------------------------------

Also reproducible for us on our Android 2.2 and 4.0.3 devices when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again.  On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2.

As others have noted, when the app unfreezes, we get logs like the following:
onMessage(onNativeReady,null)
onMessage(onPageFinished,url)
There can be quite a few of these as though the app is running through a queue of blocked events.
                
      was (Author: cfmatt):
    Also reproducible for us on our Android 2.2 and 4.0.3 devices when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again.  On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2.
                  
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Matthew M (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496248#comment-13496248 ] 

Matthew M commented on CB-1185:
-------------------------------

Just a quick note to say that we worked around our particular issue by preventing our AJAX requests from even starting if a network connection is not present. (Note: <CB-1807>).

It seems unlikely that we were experiencing the same issue as most of the others here who don't seem to be doing AJAX requests. But if you ARE doing an AJAX request at any point when a connection is not present, or has been dropped or temporarily lost, the app can present the same UI freeze symptoms upon resume.
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496663#comment-13496663 ] 

Joe Bowser commented on CB-1185:
--------------------------------

[~elsigh] What device are you running this on? We switched back to using addJavascriptInterface on Android 4.x because it does work again and for Android 2.3, we use prompt.  I think this might be a different bug since this should just kill the whole app, not just cause it to hang.

What happens between 11-02 16:56:21.263 and 11-02 16:56:21.563?  It looks like we're missing a very important part of this stack trace.


                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491961#comment-13491961 ] 

Joe Bowser commented on CB-1185:
--------------------------------

OK, so are these apps explicitly set to not run in the background? Namely, is keepRunning set to false in the activity?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433380#comment-13433380 ] 

Joe Bowser commented on CB-1185:
--------------------------------

@Greg - Are you still seeing this issue and do you have a logcat? I'd like to see some movement on this issue, since I can't reproduce it on this end.  Is there a connectivity change?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493267#comment-13493267 ] 

Adam  commented on CB-1185:
---------------------------

Unfortunately, it looks like the freezing still happens with my app after a long period of sleeping (8+ hours) on the following device:

Samsung Boost Mobile
Android 2.3.4
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427647#comment-13427647 ] 

Joe Bowser commented on CB-1185:
--------------------------------

I was hitting the native menu button and navigating through there, because that's what it said on the ticket, but yeah, I can use Drink Up as well.  It might be a memory usage thing, although the Galaxy Nexus is my personal device running all sorts of crap.  (I do keep it on stock for testing).
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Adam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494114#comment-13494114 ] 

Adam  commented on CB-1185:
---------------------------

Also confirmed the app freezes if it remains open and the phone sleeps overnight on any phone android 4.x and android 2.x
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491861#comment-13491861 ] 

Joe Bowser commented on CB-1185:
--------------------------------

@Greg: What are you testing on? I'm having a very difficult time reproducing your bug.

Just to be clear, the bug happens on network change,so if I leave the app and toggle my Wifi I should see it, right?
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>             Fix For: 2.3.0
>
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira