[TIMOB-4751] Random crash using getElementsByTagName to parse XML
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-08-01T11:54:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-31 |
Components | iOS |
Labels | bad_access, callback, xmlparsing |
Reporter | Davide Bertola |
Assignee | Blain Hamon |
Created | 2011-07-20T05:10:22.000+0000 |
Updated | 2012-02-09T14:02:43.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
stacktrace.txt | 2011-07-21T02:50:43.000+0000 | 1590 |
I don't know if it's useful but we discovered that we can workaround the crash rewriting the code like this
inside KrollObject, in function ConvertIdTiValue around line 266 we have
disabling the internal IF seems to fix the crash, but don't know why
I hope this helps
Associated HD ticket
A PRO customer relies on this, http://appc.me/c/APP-414331Repro sequence
Once this snippet code starts working and parsing XML data, occasionally app crashes.As of Aug 1, could not crash on device or simulator. Given the crash log given, it's highly likely that this was fixed by the new TiJSCore update that happened recently.
closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)