ios - iPhone app crashes on some devices upon startup, but runs on others -


we migrated ios 6 app ios 7 without altering in particular beyond minor adjustments. tested app on 3, 4, 4s , 5s iphones , reported no problem.

now 2 users reporting app crashes upon startup. advised 1 of them remove app altogether , install again resulted in app running smoothly.

he forwarded crash log me it's little cryptic. can me pinpoint issue?

edit: symbolicated crash log

incident identifier: 687b278c-313f-4533-81e8-0003428a3362 crashreporter key:   b25d61923c16e6a67af8ea7bf81643ba93f4d1ea hardware model:      iphone4,1  process:             runcontrol [3488] path:                /var/mobile/applications/db78db79-2ab2-4add-89c8-bacdbb6bccf3/runcontrol.app/runcontrol identifier:          com.gsddl.runcontrol version:             1.5 (1.5) code type:           arm (native) parent process:      launchd [1]  date/time:           2014-03-10 09:49:34.065 +0100 os version:          ios 7.0.6 (11b651) report version:      104  exception type:  exc_crash (sigabrt) exception codes: 0x0000000000000000, 0x0000000000000000 triggered thread:  3  last exception backtrace: 0   corefoundation                  0x2dbbbf46 __exceptionpreprocess + 126 1   libobjc.a.dylib                 0x37f4b6aa objc_exception_throw + 34 2   corefoundation                  0x2dbbbe88 +[nsexception raise:format:] + 100 3   foundation                      0x2e4dd448 -[nsstring stringbyappendingstring:] + 84 4   runcontrol                      0x000b2302 -[runcontrolappdelegate downloaddata] (runcontrolappdelegate.m:297) 5   foundation                      0x2e59fc82 __nsthread__main__ + 1058 6   libsystem_pthread.dylib         0x38572c18 _pthread_body + 136 7   libsystem_pthread.dylib         0x38572b8a _pthread_start + 98 8   libsystem_pthread.dylib         0x38570c8c thread_start + 4    thread 0: 0   libsystem_kernel.dylib        0x38509014 0x384f7000 + 73748 1   libsystem_pthread.dylib       0x38572a74 pthread_create + 156 2   foundation                    0x2e50fb00 -[nsthread start] + 284 3   runcontrol                    0x000b20c4 -[runcontrolappdelegate initdata] (runcontrolappdelegate.m:274) 4   runcontrol                    0x000b0f58 -[runcontrolappdelegate application:didfinishlaunchingwithoptions:] (runcontrolappdelegate.m:32) 5   uikit                         0x3039f2fa -[uiapplication _handledelegatecallbackswithoptions:issuspended:restorestate:] + 270 6   uikit                         0x3039ed4a -[uiapplication _callinitializationdelegatesforurl:payload:suspended:] + 1386 7   uikit                         0x3039934e -[uiapplication _runwithurl:payload:launchorientation:statusbarstyle:statusbarhidden:] + 710 8   uikit                         0x3033441a -[uiapplication handleevent:withnewevent:] + 3126 9   uikit                         0x3033371c -[uiapplication sendevent:] + 68 10  uikit                         0x30398b38 _uiapplicationhandleevent + 660 11  graphicsservices              0x327cf70a _purpleeventcallback + 606 12  graphicsservices              0x327cf2f2 purpleeventcallback + 30 13  corefoundation                0x2db869dc __cfrunloop_is_calling_out_to_a_source1_perform_function__ + 32 14  corefoundation                0x2db86976 __cfrunloopdosource1 + 342 15  corefoundation                0x2db8514a __cfrunlooprun + 1394 16  corefoundation                0x2daefc22 cfrunlooprunspecific + 518 17  corefoundation                0x2daefa06 cfrunloopruninmode + 102 18  uikit                         0x30397dd4 -[uiapplication _run] + 756 19  uikit                         0x30393044 uiapplicationmain + 1132 20  runcontrol                    0x000b0f1a main (main.m:16) 21  runcontrol                    0x000b0edc start + 36  thread 1: 0   libsystem_kernel.dylib        0x384f783c 0x384f7000 + 2108 1   libdispatch.dylib             0x38442e08 _dispatch_mgr_invoke + 228 2   libdispatch.dylib             0x3843239e _dispatch_mgr_thread$variant$up + 34  thread 2: 0   libsystem_kernel.dylib        0x3850ac7c 0x384f7000 + 81020 1   libsystem_pthread.dylib       0x38570dc6 _pthread_wqthread + 306 2   libsystem_pthread.dylib       0x38570c80 start_wqthread + 4  thread 3 crashed: 0   libsystem_kernel.dylib        0x3850a1fc 0x384f7000 + 78332 1   libsystem_pthread.dylib       0x38573a2e pthread_kill + 54 2   libsystem_c.dylib             0x384baff8 abort + 72 3   libc++abi.dylib               0x377e9cd2 abort_message + 70 4   libc++abi.dylib               0x378026e0 default_terminate_handler() + 248 5   libobjc.a.dylib               0x37f4b91e _objc_terminate() + 190 6   libc++abi.dylib               0x378001c4 std::__terminate(void (*)()) + 76 7   libc++abi.dylib               0x377ffa18 __cxa_throw + 112 8   libobjc.a.dylib               0x37f4b77e objc_exception_throw + 246 9   corefoundation                0x2dbbbe88 +[nsexception raise:format:] + 100 10  foundation                    0x2e4dd448 -[nsstring stringbyappendingstring:] + 84 11  runcontrol                    0x000b2302 -[runcontrolappdelegate downloaddata] (runcontrolappdelegate.m:297) 12  foundation                    0x2e59fc82 __nsthread__main__ + 1058 13  libsystem_pthread.dylib       0x38572c1a _pthread_body + 138 14  libsystem_pthread.dylib       0x38572b8a _pthread_start + 98 15  libsystem_pthread.dylib       0x38570c8c thread_start + 4  thread 3 crashed arm thread state (32-bit):     r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x00002060     r4: 0x00000006    r5: 0x026f1000      r6: 0x00000000      r7: 0x026effb4     r8: 0x16dbd9d0    r9: 0x00000001     r10: 0x16d52ce0     r11: 0x00000000     ip: 0x00000148    sp: 0x026effa8      lr: 0x38573a33      pc: 0x3850a1fc   cpsr: 0x00000010 

and runcontrolappdelegate.m (around 297):

[295] - (void) downloaddata { [296]     nsstring *stringurl = [config valueforkey:@"users"]; [297]     nsurl  *url = [nsurl urlwithstring:[self.url stringbyappendingstring:stringurl]]; [298]     nsdata *urldata = [nsdata datawithcontentsofurl:url];  ... 

i venture guess update included 64 bit update ios7 + iphone5 , data might formatted incorrect formatter:

ie: [nsstring stringwithformat:@"some foo %d"];

this might work 32 bit int fail on 64 bit platform.

are there warnings when compile binary?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -