[AC-397] Crash in JSCore for ad-hoc build
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2015-11-11T22:56:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios |
Reporter | Dan Tamas |
Assignee | Eric Merriman |
Created | 2015-03-13T17:57:30.000+0000 |
Updated | 2017-01-05T04:42:26.000+0000 |
Description
I'm trying to make an ad-hoc build and on iPhone 5 I get a crash.
Thread 5 name: KrollContext<kroll$1>
Thread 5 Crashed:
0 Teamwire Dan 0x0050f482 WTFCrash + 54
1 Teamwire Dan 0x0037e362 long long TI::APICallbackFunction::call<TI::JSCallbackFunction>(TI::ExecState*) + 1470
2 Teamwire Dan 0x0041b1f8 TI::LLInt::setUpCall(TI::ExecState*, TI::Instruction*, TI::CodeSpecializationKind, TI::TiValue, TI::LLIntCallLinkInfo*) + 476
3 Teamwire Dan 0x0041955e llint_slow_path_call + 118
4 Teamwire Dan 0x004209b4 llint_op_call + 164
5 Teamwire Dan 0x00420a8a llint_op_construct + 170
6 Teamwire Dan 0x004209ba llint_op_call + 170
7 Teamwire Dan 0x0041c88e callToJavaScript + 222
The app works fine in debug mode, and on any device bigger than iphone5 (so iphone 5S, 6, etc)
I updated everything I could update (rebuilt modules, xcode, etc)
Hi Dan, What you're seeing is a WTFCrash, and this happens when an internal JSCore assertion fails. This is all the info we know with what we have here. Does this happen only with your specific app? I'll test with a new project and see. Also, what's the exact phone you're using to reproduce this? Is it running iOS 7 or 8? We'll take a look, thanks!
Hi Pedro, It's and iOS 8.2 on iPhone 5 (tested on 2 different iPhone 5 with same os version) and Ti SDK 3.5.0 and 3.5.1. I have a bunch of modules in the app and I compiled them all with 3.5.0 but it still crashes. On the next devices it works just fine: iPhone 5S with 7.1.2, iPhone 6 with 8.2 so I suspect is a 32 bit issue. Let me know if you need anything else that might help you. Thank you.
Hi [~rborn], A suggestion is to try to include the modules one by one, to see if any one of the modules is the culprit for the crash. Let us know if that's the case! Thanks!