[TIMOB-1936] Android: crash (mem leak?) when running BaseUi>Views>Web Views (external url and local url)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M03 |
Components | Android |
Labels | android, crash, regression |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:06:03.000+0000 |
Updated | 2011-04-17T01:57:35.000+0000 |
Description
1.4.2.5935b3 G1 running 1.6
- BaseUi>Views>Web Views>external url
- then BaseUi>Views>Web Views>local url
crashlog at - http://pastie.org/1186898">http://pastie.org/1186898
Let's check for leaks from one test to the other.
You can even reproduce by backing out of the first webview, going back to the Views menu, and clicking to go into any Views set of tests. (So you don't need to load webview twice to get it to happen.)
For posterity: the crash begins happening in 1.6 after this commit is applied:
http://github.com/appcelerator/titanium_mobile/commit/a8c5ccc4cb76843898bc"> http://github.com/appcelerator/titanium_mobile/commit/a8c5ccc4cb768...
(from [b8a6eb4de745a63299b04a9a6d221bfa35b1dc9c]) [#1936 status:fixed-in-qa] Don't allow the webview to be released like other views are in our new memory-saving scheme. Some native (JNI) code seems to freak out and crash the app if the webview isn't still around at a certain point in the GC process http://github.com/appcelerator/titanium_mobile/commit/b8a6eb4de745a63299b04a9a6d221bfa35b1dc9c"> http://github.com/appcelerator/titanium_mobile/commit/b8a6eb4de745a...
crash persists in Mobile sdk 1.5.0.02c264.
This seems to have resolved itself. (A lot of changes since 10/14 in the master branch, related to the Kroll refactoring that was merged around that time.) Can you still reproduce? I can't.
Titanium SDK version: 1.5.0 (12/03/10 09:29 33c2058). Not seeing it on the g1 or g2 anymore. closing as resolved