Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8707] Android: RSS Reader: leaked window crash

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-20T14:41:19.000+0000
Affected Version/sRelease 2.0.0, Release 2.0.1
Fix Version/sRelease 2.0.2, Release 2.1.0, Sprint 2012-08
ComponentsAndroid
Labelscore, qe-and040912, regression
ReporterDustin Hyde
AssigneeAllen Yeung
Created2012-04-12T16:27:29.000+0000
Updated2012-05-20T19:17:04.000+0000

Description

When the RSS Reader sample is used and the back button is pressed after viewing a feed, the app crashes with a leaked window log. The crash is intermittent, but frequent. This does not occur in 1.8.2. Regression. Playing a youtube video increased the chances of a crash. Steps to Reproduce: 1. Run the RSS Reader sample. 2. Press a feed, wait for it to load. 3. Press back. Expected Result: App returns to menu. Actual Result: Crash.

Attachments

FileDateSize
log.txt2012-04-12T16:27:29.000+0000479078

Comments

  1. Allen Yeung 2012-04-16

    PR Ready: https://github.com/appcelerator/titanium_mobile/pull/1998 The problem is that the webview is getting destroyed while it is being loaded (specifically some of the zoom controls in this instance). To prevent this, we don't want to destroy the webview inside onDestroy, but simply stop loading the webview contents instead.
  2. Natalie Huynh 2012-05-14

    Tested with 2.0.2.v20120510223154 on Droid 3 2.3.4

JSON Source