iOS objc_msgSend crash, with no report or warning given -
i testing app out, pushing pretty hard, , i'm getting crash (black screen, image doesn't save, drops springboard). however, no crash reports logged in console. when test using profiler message saying target died, gives no clues.
in organiser got device crash logs gives me believe telling me i'm sending message i've released (objc-msgsend + 22)? on right track here?
---
exception type: exc_bad_access (sigsegv) exception codes: kern_invalid_address @ 0x576e6f69 crashed thread: 0 thread 0 name: dispatch queue: com.apple.main-thread thread 0 crashed: 0 libobjc.a.dylib 0x34f8ef7e objc_msgsend + 22 1 corefoundation 0x371d7e90 cfretain + 76 2 corefoundation 0x371e1b74 +[__nsarrayi __new::] + 48 3 corefoundation 0x371e1a8e -[__nsplaceholderarray initwithobjects:count:] + 294 4 corefoundation 0x371e9394 -[nsarray initwitharray:range:copyitems:] + 756 5 corefoundation 0x371fcd5a +[nsarray arraywitharray:] + 66 6 avfoundation 0x335da766 -[avcapturesession outputs] + 146 7 avfoundation 0x335de26e -[avcapturesession _dodidstop:] + 38 8 avfoundation 0x335dfaea -[avcapturesession _handlenotification:payload:] + 2002 9 avfoundation 0x335d8af6 avcapturesessionfigrecordernotification + 1202 10 avfoundation 0x335fafd8 avcmnotificationdispatchercallback + 184 11 corefoundation 0x3725b7c8 __cfnotificationcenteraddobserver_block_invoke_0 + 116 12 corefoundation 0x3725b540 ___cfxnotificationpost_block_invoke_0 + 64 13 corefoundation 0x371e7090 _cfxnotificationpost + 1400 14 corefoundation 0x371ef1c6 cfnotificationcenterpostnotification + 102 15 coremedia 0x366eeeb0 cmnotificationcenterpostnotification + 112 16 celestial 0x374b08a2 figrecorderremotecallbacksserver_notificationispending + 478 17 celestial 0x374b06ba _xnotificationispending + 54 18 celestial 0x374b0678 figrecordercallbacks_server + 92 19 celestial 0x374af642 remrec_clientportcallback + 146 20 corefoundation 0x37258f0c __cfmachportperform + 356 21 corefoundation 0x3726351c __cfrunloop_is_calling_out_to_a_source1_perform_function__ + 32 22 corefoundation 0x372634be __cfrunloopdosource1 + 134 23 corefoundation 0x3726230c __cfrunlooprun + 1364 24 corefoundation 0x371e549e cfrunlooprunspecific + 294 25 corefoundation 0x371e5366 cfrunloopruninmode + 98 26 avfoundation 0x335ef4d0 -[avrunloopcondition _waitinmode:untildate:] + 348 27 avfoundation 0x335ef36c -[avrunloopcondition waituntildate:inmode:] + 20 28 avfoundation 0x335dc13a -[avcapturesession _stoppreviewing] + 438 29 avfoundation 0x335dc2d6 -[avcapturesession _setrunning:] + 166 30 avfoundation 0x335dbe42 -[avcapturesession stoprunning] + 274 31 zapp 0x0007e1ce 0x79000 + 20942 32 uikit 0x30fa5b8e -[uiviewcontroller _setviewappearstate:isanimating:] + 138 33 uikit 0x30fff8a8 -[uiviewcontroller beginappearancetransition:animated:] + 184 34 uikit 0x310468be -[uiwindowcontroller transition:fromviewcontroller:toviewcontroller:target:didendselector:] + 4098 35 uikit 0x31045360 -[uiviewcontroller presentviewcontroller:withtransition:completion:] + 3116 36 uikit 0x310a06a0 -[uiviewcontroller presentmodalviewcontroller:animated:] + 24 37 corefoundation 0x371e93f6 -[nsobject performselector:withobject:withobject:] + 46 38 uikit 0x30f7ee00 -[uiapplication sendaction:to:from:forevent:] + 56 39 uikit 0x30f7edbc -[uiapplication sendaction:totarget:fromsender:forevent:] + 24 40 uikit 0x30f7ed9a -[uicontrol sendaction:to:forevent:] + 38 41 uikit 0x30f7eb0a -[uicontrol(internal) _sendactionsforevents:withevent:] + 486 42 uikit 0x30f7f442 -[uicontrol touchesended:withevent:] + 470 43 uikit 0x30f7d924 -[uiwindow _sendtouchesforevent:] + 312 44 uikit 0x30f7d312 -[uiwindow sendevent:] + 374 45 uikit 0x30f6368e -[uiapplication sendevent:] + 350 46 uikit 0x30f62f34 _uiapplicationhandleevent + 5820 47 graphicsservices 0x339a5224 purpleeventcallback + 876 48 corefoundation 0x3726351c __cfrunloop_is_calling_out_to_a_source1_perform_function__ + 32 49 corefoundation 0x372634be __cfrunloopdosource1 + 134 50 corefoundation 0x3726230c __cfrunlooprun + 1364 51 corefoundation 0x371e549e cfrunlooprunspecific + 294 52 corefoundation 0x371e5366 cfrunloopruninmode + 98 53 graphicsservices 0x339a4432 gseventrunmodal + 130 54 uikit 0x30f91cce uiapplicationmain + 1074 55 zapp 0x0007ffa6 0x79000 + 28582 56 zapp 0x0007a680 0x79000 + 5760
if suspect overreleasing something, try running app nszombie enabled. (how enable nszombie)
you can set exception breakpoint print backtrace in console.
Comments
Post a Comment