Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11985] iOS: Crash on Production version 6.0.1

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-12-20T22:47:38.000+0000
Affected Version/sn/a
Fix Version/s2012 Sprint 26 Core, 2012 Sprint 26
ComponentsiOS
Labelscore, crash, ios, launch, triage
ReporterMichael DeGiovanni
AssigneeMax Stepanov
Created2012-11-22T08:21:24.000+0000
Updated2017-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)

Comments

  1. Michael DeGiovanni 2012-11-26

    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);
  2. Michael DeGiovanni 2012-11-28

    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?
  3. david hoare 2012-12-15

    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!
  4. Max Stepanov 2012-12-20

    @Michael, is it possible that somewhere in the code you addListener with something other than a function ?
  5. Max Stepanov 2012-12-20

    @David, Please create a separate ticket and provide details about your apps. Thanks!
  6. Daniel Sefton 2013-01-23

  7. Lee Morris 2017-03-16

    Closing ticket as the information that was requested was never provided.

JSON Source