[TIMOB-11985] iOS: Crash on Production version 6.0.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2012-12-20T22:47:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2012 Sprint 26 Core, 2012 Sprint 26 |
Components | iOS |
Labels | core, crash, ios, launch, triage |
Reporter | Michael DeGiovanni |
Assignee | Max Stepanov |
Created | 2012-11-22T08:21:24.000+0000 |
Updated | 2017-03-16T20:47:00.000+0000 |
Description
The application in development mode works fine both on simulator and on real devices (tested on 2 iphone and 1 ipad both having ios6.0.1)
After Apple approves the application and is on store, the app crashes on thread5 (KrollContext)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 5
full log can be found here http://pastebin.com/Lka1Lkf1
application to test this : https://itunes.apple.com/us/app/shake-with-me/id552386387
(note resubmitted the app with a new version and still same issue)
After investigating the crash log, the problem seems to be with TiProxy.m 'TiProxy.m' line 788, column 2 where there is ENSURE_TYPE(listener,KrollCallback);
I tired using titanium SDK 3.0 Beta 2 as i saw in another issue that someone had the same problem, and the app did not crash anymore in the same way. It opened with the splash screen remaining open. In the organiser console it gave a syntax error and thus a module was not created properly. The syntax error appeared to be in the following file indicating line 60: https://github.com/iamyellow/tiws/blob/master/android/example/socket.io.js Now the funny thing is that there are no syntax errors, and in development it compiles correctly. Could it be something in the way Titanium interprets this js module?
Hope this is the correct forum for this, but I can confirm my app is crashing when iTunes tests it. see error logs here: http://pastie.org/private/1mtbuaxuhtwd2ajsnu66g http://pastie.org/private/tqts89dz8v7tjrg1ejvq created with TI 2.1.4GA This is a critical issue for me as none of my apps can now get approved. Thanks!
@Michael, is it possible that somewhere in the code you addListener with something other than a function ?
@David, Please create a separate ticket and provide details about your apps. Thanks!
Closing ticket as the information that was requested was never provided.