[AC-4358] Titanium: [ioslib] Detected crash, but no crash file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-09-28T20:15:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Titanium SDK & CLI |
Labels | cb-tooling |
Reporter | Oscar J. Rico Reyes |
Assignee | Shak Hossain |
Created | 2016-08-16T19:39:05.000+0000 |
Updated | 2016-09-28T20:15:57.000+0000 |
I'm not sure if this is really a bug or not. When we detect a crash, we wait a whopping 1000ms for the crash log to show up. If it doesn't exist after waiting a second, then it assumes there's no crash log and hence the error. Probably a better way is to check for a crash file every 250ms for up to 5 seconds (so checks 20 times) to see if it exists. If it doesn't show up, then we will continue to say "Detected crash, but no crash file."