ios - Crash on iOS7, but works fine on iOS6 devices -
team,
i upgrading application ios7. seeing inconsistent crashes in application when pushed app background , play around other apps , bring application foreground , perform actions, crashes.. not able reproduce crash without pushing application background.
device logs:
apr 18 04:15:36 iphone-5c adtcommercial[7516] <notice>: +[datautil isdiscountavalablefor:] - set number of records: 0 joblinetype: rental apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: parts apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: parts apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: labor apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: labor apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: tripfee apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: amountthresholdvalue: 0.000000 type: tripfee apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: parts apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: parts apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: labor apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: labor apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: tripfee apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: percentagethreshold: 0.000000 type: tripfee apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: -[adt_jobwrapupinvoicesummary(custom) writetoclearappointment] --------- strcomment -> fhf apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: number of rows: 0 apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: [ampcspmanager save:] successful; record id: 744, message id: psahu-54-1397808937614 apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: [ampreconnectionthread wakeupreconnectionthread:] apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: [ampmessagedispatcherthread handlemessage:] message {psahu-54-1397808937614} received on outbound-msg-dispatcher processing, mim: 7, mid: 0 apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: [ampreconnectionthread wakeupreconnectionthread:] apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: total pending messages sent: 1 apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: csp sending pending message: psahu-54-1397808937614, recid: 744 apr 18 04:15:37 iphone-5c adtcommercial[7516] <notice>: [ampsocketssender executesendimpl:] send: id: psahu-54-1397808937614, mim/d: tx/none, size: 199 bytes, priority: 4, ts: 2014-04-18 08:15:37 +0000 apr 18 04:15:37 iphone-5c reportcrash[7532] <notice>: reportcrash acting against pid 7516 apr 18 04:15:37 iphone-5c reportcrash[7532] <notice>: formulating crash report process adtcommercial[7516] apr 18 04:15:37 iphone-5c com.apple.launchd[1] (uikitapplication:com.pega.adt.commercial[0xaea4][7516]) <warning>: (uikitapplication:com.pega.adt.commercial[0xaea4]) job appears have crashed: segmentation fault: 11 apr 18 04:15:37 iphone-5c backboardd[28] <warning>: application 'uikitapplication:com.pega.adt.commercial[0xaea4]' exited abnormally signal 11: segmentation fault: 11 apr 18 04:15:38 iphone-5c reportcrash[7532] <notice>: saved crashreport /var/mobile/library/logs/crashreporter/adtcommercial_2014-04-18-041537_iphone-5c.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0 apr 18 04:15:56 iphone-5c kernel[0] <debug>: launchd[7533] container: /private/var/mobile/applications/e1dd29b0-d860-4546-aa39-4849262013b8 (sandbox) apr 18 04:15:56 iphone-5c backboardd[28] <error>: hid: 'passive' connection
crash report:
thread 0 crashed: 0 libobjc.a.dylib 0x3a230626 objc_msgsend + 6 1 uifoundation 0x377577e6 __25-[_uicache objectforkey:]_block_invoke + 54 2 libdispatch.dylib 0x3a70fd3c _dispatch_client_callout + 20 3 libdispatch.dylib 0x3a7146be _dispatch_barrier_sync_f_invoke + 22 4 uifoundation 0x377576fc -[_uicache objectforkey:] + 148 5 uifoundation 0x3773561e uinewfontignoringlinkcheck + 194 6 uifoundation 0x3773594c +[uifont systemfontofsize:traits:] + 16 7 adtcommercial 0x003613f4 -[ampgeneratedlistviewcontroller viewdidload] (ampgeneratedlistviewcontroller.m:37) 8 adtcommercial 0x001a1ec4 -[adt_collectpayment(custom) viewdidload] (adt_collectpayment+custom.m:60) 9 uikit 0x3263066e -[uinib instantiatewithowner:options:] + 1418 10 uikit 0x32631d8e -[nsbundle(uinsbundleadditions) loadnibnamed:owner:options:] + 134 11 adtcommercial 0x00385f20 -[ampviewmanager loadview] (ampviewmanager.m:104) 12 adtcommercial 0x0037a3ae -[ampscreenmanager showscreen:withrow:createscreen:reloadpolicy:doreset:ismodal:animated:navigationcontroller:] (ampscreenmanager.m:639) 13 adtcommercial 0x0034f058 +[ampstandardactions gotoaction:reloadpolicy:transactionstatechange:addtohistory:] (ampstandardactions.m:40) 14 adtcommercial 0x0012d78c -[adt_jobwrapupinvoicesummary(custom) btnnextpressed:] (adt_jobwrapupinvoicesummary+custom.m:762) 15 uikit 0x322f66c2 -[uiapplication sendaction:to:from:forevent:] + 86 16 uikit 0x322f665e -[uiapplication sendaction:totarget:fromsender:forevent:] + 34 17 uikit 0x322f662e -[uicontrol sendaction:to:forevent:] + 42 18 uikit 0x322e1d76 -[uicontrol _sendactionsforevents:withevent:] + 370 19 uikit 0x322f6076 -[uicontrol touchesended:withevent:] + 590 20 uikit 0x322f5d48 -[uiwindow _sendtouchesforevent:] + 524 21 uikit 0x322f0ca2 -[uiwindow sendevent:] + 754 22 uikit 0x322c5e70 -[uiapplication sendevent:] + 192 23 uikit 0x322c453c _uiapplicationhandleeventqueue + 7116 24 corefoundation 0x2fa5cfe4 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 12 25 corefoundation 0x2fa5c4aa __cfrunloopdosources0 + 202 26 corefoundation 0x2fa5ac9a __cfrunlooprun + 626 27 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 28 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 29 graphicsservices 0x349326ce gseventrunmodal + 134 30 uikit 0x3232488c uiapplicationmain + 1132 31 adtcommercial 0x0006a96c main (main.m:17) 32 libdyld.dylib 0x3a724ab4 start + 0 thread 1: 0 libsystem_kernel.dylib 0x3a7c8804 kevent64 + 24 1 libdispatch.dylib 0x3a717050 _dispatch_mgr_invoke + 228 2 libdispatch.dylib 0x3a7112de _dispatch_mgr_thread + 34 thread 2: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 7 foundation 0x30409254 -[nsrunloop(nsrunloop) run] + 76 8 adtcommercial 0x0024a1f2 -[iosscheduler main] (iosscheduler.m:100) 9 foundation 0x3047aa0a __nsthread__main__ + 1058 10 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 11 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 12 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 3 name: com.apple.nsurlconnectionloader thread 3: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x3040523c +[nsurlconnection(loader) _resourceloadloop:] + 316 7 foundation 0x3047aa0a __nsthread__main__ + 1058 8 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 9 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 10 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 4 name: com.apple.cfsocket.private thread 4: 0 libsystem_kernel.dylib 0x3a7db434 __select + 20 1 corefoundation 0x2fa60516 __cfsocketmanager + 482 2 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 3 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 4 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 5: 0 libsystem_kernel.dylib 0x3a7daf2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3a841f9c _pthread_cond_wait + 576 2 libsystem_pthread.dylib 0x3a841d54 pthread_cond_timedwait_relative_np + 12 3 foundation 0x303c1f12 -[nscondition waituntildate:] + 282 4 adtcommercial 0x00323c02 -[ampsocketssender executesendwithack:] (ampsocketssender.m:282) 5 adtcommercial 0x003234bc -[ampsocketssender send:] (ampsocketssender.m:214) 6 adtcommercial 0x00318bb6 -[ampoutbounddispatcherprocess actualsend:] (ampoutbounddispatcherprocess.m:130) 7 adtcommercial 0x003069e0 -[ampcspmanager performactiononmessages:action:messagelimit:] (ampcspmanager.m:295) 8 adtcommercial 0x0031898c -[ampoutbounddispatcherprocess dispatchmessage:] (ampoutbounddispatcherprocess.m:99) 9 adtcommercial 0x0030f140 -[ampmessagedispatcherthread handlemessage:] (ampmessagedispatcherthread.m:87) 10 foundation 0x3047ac1e __nsthreadperformperform + 382 11 corefoundation 0x2fa5cfe4 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 12 12 corefoundation 0x2fa5c4aa __cfrunloopdosources0 + 202 13 corefoundation 0x2fa5ac9a __cfrunlooprun + 626 14 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 15 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 16 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 17 adtcommercial 0x0030f4a8 -[ampmessagedispatcherthread main] (ampmessagedispatcherthread.m:117) 18 foundation 0x3047aa0a __nsthread__main__ + 1058 19 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 20 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 21 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 6: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 7 adtcommercial 0x0030f4a8 -[ampmessagedispatcherthread main] (ampmessagedispatcherthread.m:117) 8 foundation 0x3047aa0a __nsthread__main__ + 1058 9 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 10 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 11 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 7: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 7 adtcommercial 0x0030f4a8 -[ampmessagedispatcherthread main] (ampmessagedispatcherthread.m:117) 8 foundation 0x3047aa0a __nsthread__main__ + 1058 9 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 10 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 11 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 8: 0 libsystem_kernel.dylib 0x3a7daf2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3a841f62 _pthread_cond_wait + 518 2 libsystem_pthread.dylib 0x3a842d9c pthread_cond_wait + 36 3 foundation 0x3040533a -[nscondition wait] + 190 4 adtcommercial 0x0032316c -[ampsocketssender main:] (ampsocketssender.m:187) 5 foundation 0x3047aa0a __nsthread__main__ + 1058 6 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 7 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 8 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 9: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 7 adtcommercial 0x0031923a -[ampreconnectionthread main:] (ampreconnectionthread.m:77) 8 foundation 0x3047aa0a __nsthread__main__ + 1058 9 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 10 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 11 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 10: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2f9c5586 cfrunloopruninmode + 102 6 foundation 0x303b8492 -[nsrunloop(nsrunloop) runmode:beforedate:] + 250 7 adtcommercial 0x00320742 -[ampsocketsconnectorhandler main:] (ampsocketsconnectorhandler.m:71) 8 foundation 0x3047aa0a __nsthread__main__ + 1058 9 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 10 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 11 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 11: 0 libsystem_kernel.dylib 0x3a7c8aa0 semaphore_wait_trap + 8 1 libdispatch.dylib 0x3a715f04 _dispatch_group_wait_slow + 168 2 adtcommercial 0x003bcdaa +[ddlog lt_log:] (ddlog.m:946) 3 adtcommercial 0x003bb9a4 __40+[ddlog queuelogmessage:asynchronously:]_block_invoke (ddlog.m:449) 4 libdispatch.dylib 0x3a70fd50 _dispatch_call_block_and_release + 8 5 libdispatch.dylib 0x3a714cb8 _dispatch_queue_drain + 484 6 libdispatch.dylib 0x3a711c6a _dispatch_queue_invoke + 38 7 libdispatch.dylib 0x3a7155ee _dispatch_root_queue_drain + 74 8 libdispatch.dylib 0x3a7158d8 _dispatch_worker_thread2 + 52 9 libsystem_pthread.dylib 0x3a840c14 _pthread_wqthread + 296 10 libsystem_pthread.dylib 0x3a840ad8 start_wqthread + 4 thread 12: 0 libsystem_kernel.dylib 0x3a7c8a50 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3a7c8848 mach_msg + 36 2 corefoundation 0x2fa5c61c __cfrunloopservicemachport + 152 3 corefoundation 0x2fa5ad3c __cfrunlooprun + 788 4 corefoundation 0x2f9c57a4 cfrunlooprunspecific + 520 5 corefoundation 0x2fa093c6 cfrunlooprun + 94 6 coremotion 0x300844fc ___lldb_unnamed_function1426$$coremotion + 724 7 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 8 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 9 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 13: 0 libsystem_kernel.dylib 0x3a7dbc70 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x3a840c1e _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x3a840ad8 start_wqthread + 4 thread 14: 0 libsystem_c.dylib 0x3a743fec _vsnprintf + 336 1 libsystem_c.dylib 0x3a743e90 vsnprintf + 68 2 libsystem_c.dylib 0x3a79aeda __snprintf_chk + 18 3 libsystem_asl.dylib 0x3a736e62 asl_string_append_char_no_encoding + 106 4 libsystem_asl.dylib 0x3a73712c asl_string_append_internal + 488 5 libsystem_asl.dylib 0x3a73b7ea asl_msg_to_string_raw + 218 6 libsystem_asl.dylib 0x3a735302 _asl_send_message + 1274 7 libsystem_asl.dylib 0x3a734c10 _asl_lib_vlog + 340 8 libsystem_asl.dylib 0x3a734ca4 asl_log + 36 9 adtcommercial 0x003b6c5a -[ddasllogger logmessage:] (ddasllogger.m:77) 10 adtcommercial 0x003bcffe __16+[ddlog lt_log:]_block_invoke (ddlog.m:940) 11 libdispatch.dylib 0x3a70fd50 _dispatch_call_block_and_release + 8 12 libdispatch.dylib 0x3a714cb8 _dispatch_queue_drain + 484 13 libdispatch.dylib 0x3a711c6a _dispatch_queue_invoke + 38 14 libdispatch.dylib 0x3a7155ee _dispatch_root_queue_drain + 74 15 libdispatch.dylib 0x3a7158d8 _dispatch_worker_thread2 + 52 16 libsystem_pthread.dylib 0x3a840c14 _pthread_wqthread + 296 17 libsystem_pthread.dylib 0x3a840ad8 start_wqthread + 4 thread 15: 0 libsystem_kernel.dylib 0x3a7daf2c __psynch_cvwait + 24 1 libsystem_pthread.dylib 0x3a841f62 _pthread_cond_wait + 518 2 libsystem_pthread.dylib 0x3a842ddc pthread_cond_timedwait + 40 3 adtcommercial 0x002632ae cposixevent::waitevent(long) (posixthread.cpp:90) 4 adtcommercial 0x00263390 cmultievents::waitforevents(unsigned long, unsigned long, long) (posixthread.cpp:132) 5 adtcommercial 0x00242ea4 cmccommmgr::connectserver() (mccommmgr.cpp:482) 6 adtcommercial 0x00242c3e cmccommmgr::run() (mccommmgr.cpp:416) 7 adtcommercial 0x00242770 cmccommmgr::commmgrthread(void*) (mccommmgr.cpp:555) 8 adtcommercial 0x002635f8 cposixthread::mytheadroutine(void*) (posixthread.cpp:288) 9 libsystem_pthread.dylib 0x3a842956 _pthread_body + 138 10 libsystem_pthread.dylib 0x3a8428c6 _pthread_start + 98 11 libsystem_pthread.dylib 0x3a840ae4 thread_start + 4 thread 0 crashed arm thread state (32-bit): r0: 0x15f00190 r1: 0x328ed27d r2: 0x00000018 r3: 0x00000000 r4: 0x27d9c640 r5: 0x27d9cc5c r6: 0x3c718e80 r7: 0x27d9c614 r8: 0x377658eb r9: 0x50000000 r10: 0x004d3eec r11: 0x170f2f80 ip: 0x3c2be868 sp: 0x27d9c610 lr: 0x377577eb pc: 0x3a230626 cpsr: 0x80000030
thanks, ramesh
checking stack trace exited abnormally signal 11: segmentation fault: 11
seems crash
these errors occur when program tries access memory location of object no longer exists, object @ earlier point in application's lifetime has had memory released heap.
if can track down variable being accessed @ time of crash, through use of judicious comments or, better still, debugger, have potentially easier time fixing bugs.
in meantime, re-read apple's excellent memory management guide, goes memory management issues in greater detail can fit comment field.
credit alex reynolds on answer on application '' exited abnormally signal 11: segmentation fault: 11
Comments
Post a Comment