[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13545292#comment-13545292 ] Lindsey Simon commented on CB-1185: --- For some closure on this - I think what fixed it for us was some handing of pause/resume with on short timeouts and with canceling on one or the other to deal with pause and resume being called nearly back to back and perhaps twice really close together when we would come up. Especially happens when we'd resume from a notification intent. 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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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.X.XXX/XXX.X.XXX.XX 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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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.99 Tw:140 rq:1.00 seq:147.00 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(
[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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. h. (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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[jira] [Commented] (CB-1185) When Application is placed in background and resumed, the UI is frozen
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 g...@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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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