Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7865] Android: XML - On V8, parsing xml multiple times crashes the phone

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-18T10:00:45.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2
Fix Version/sRelease 2.1.0, Sprint 2012-08
ComponentsAndroid
Labelsapi, qe-testadded
ReporterWilson Luu
AssigneeJosh Roesslein
Created2012-03-02T11:45:48.000+0000
Updated2012-07-08T23:02:43.000+0000

Description

Details: When running the app.js in SDK build 2.0.0.v20120302093154 for V8, the app will eventually crash and GC will be continuously called. See attachment 2.0_logcat.txt. And when running the app.js in SDK build 1.8.2 for V8, I get a out of memory exception. See attachment 1.8.2_logcat.txt. However, the app.js does not crash when running on Rhino for both builds. Steps to reproduce: 1. Create new project. 2. Replace app.js with attached app.js. 3. Run app. 4. Press 'load' until app crashes. Actual: App crashes. See attachments. Expected: The app should not crash.

Attachments

FileDateSize
1.8.2_logcat.txt2012-03-02T11:45:48.000+000013195
2.0_logcat.txt2012-03-02T11:45:48.000+000011202
app.js2012-03-02T11:45:48.000+00008158
livecyclehireupdates.xml2012-03-16T23:15:00.000+0000193515

Comments

  1. Opie Cyrus 2012-03-19

    Created issue timob-8076 to address the root cause of this issue.
  2. Bill Dawson 2012-04-18

    Resolved via TIMOB-8076
  3. Smitha Guduru 2012-06-23

    App not crashing. Verified on Titanium Studio, build: 2.2.0.201206222035 Titanium SDK: 2.1.0.v20120622174154 Device:Xoom(4.0.3)

JSON Source