ios - What does this SIGTRAP mean? -
i wondering if provide insight causing sigtrap occur. if provide suggestions here debug better, appreciated unable replicate reliably.
hardware model: ipad mini 3 (ipad4,8) process: scenedoc [330] path: /private/var/mobile/containers/bundle/application/1cb3551a-24a3-4fa8-b2ed-8af993f7da43/scenedoc.app/scenedoc identifier: com.scenedoc.scenedocappappstore code type: arm64 parent process: launchd [1] date/time: 2015-03-23 15:42:57 +0000 launch time: 2015-03-23 15:42:57 +0000 os version: ios 8.2 (12d508) exception type: sigtrap crashed thread: 0 application specific information: *** terminating app due uncaught exception 'sigtrap', reason: '' thread 0 crashed: 0 corefoundation 0x185629750 _cfhash + 22352 1 corefoundation 0x185625d44 _cfbasichashfindbucket + 7492 2 corefoundation 0x185625900 _cfdictionarygetvalue + 6400 3 corefoundation 0x1856d6658 [cfprefsplistsource alreadylocked_setvalue:forkey:] + 730712 4 corefoundation 0x185784830 [cfprefssource setvalue:forkey:] + 1443888 5 corefoundation 0x185783dc8 [cfprefssource withsourceforidentifier:user:byhost:container:perform:] + 1441224 6 corefoundation 0x185787658 __cfpreferencessetvaluewithcontainer + 1455704 7 foundation 0x18656b600 [nsuserdefaults(nsuserdefaults) setobject:forkey:] + 128512 8 scenedoc 0x10025673c [prefs saveprefs] (prefs.m:503) 9 scenedoc 0x100259e0c [prefs setlogoutduration] (prefs.m:2067) 10 scenedoc 0x10014a518 [sdcthriftgcdmanager refreshtoken:] (sdcthriftgcdmanager.m:484) 11 uikit 0x18a1e2444 [uiapplication workspacenoteassertionexpirationimminent:] + 2729028 12 frontboardservices 0x18db31604 ___31-[fbsserialqueue (performasync:0) 13 corefoundation 0x185702d70 ___cfrunloop_is_calling_out_to_a_block__ + 912752 14 corefoundation 0x185701e78 ___cfrunloopdoblocks + 908920 15 corefoundation 0x18570049c ___cfrunlooprun + 902300 16 corefoundation 0x18562d1f4 _cfrunlooprunspecific + 37364 17 graphicsservices 0x18e9776fc _gseventrunmodal + 46844 18 uikit 0x189fbe10c _uiapplicationmain + 483596 19 scenedoc 0x1000ceae4 main (main.m:12) 20 libdyld.dylib 0x196faaa08 _start + 10760 thread 1: 0 libsystem_kernel.dylib 0x1970a8c24 _kevent64 + 3108 1 libdispatch.dylib 0x196f7f99c __dispatch_source_invoke + 14748 thread 2: 0 libsystem_kernel.dylib 0x1970a8e0c _mach_msg_trap + 3596 1 corefoundation 0x185702218 ___cfrunloopservicemachport + 909848 2 corefoundation 0x18570016c ___cfrunlooprun + 901484 3 corefoundation 0x18562d1f4 _cfrunlooprunspecific + 37364 4 corefoundation 0x18567f370 _cfrunlooprun + 373616 5 coremotion 0x18602fe14 0x185fe8000 + 294420 6 libsystem_pthread.dylib 0x19715fdc8 __pthread_body + 15816 7 libsystem_pthread.dylib 0x19715fd24 __pthread_body + 15652 8 libsystem_pthread.dylib 0x19715cef8 _thread_start + 3832 thread 3: 0 libsystem_kernel.dylib 0x1970a8e0c _mach_msg_trap + 3596 1 corefoundation 0x185702218 ___cfrunloopservicemachport + 909848 2 corefoundation 0x18570016c ___cfrunlooprun + 901484 3 corefoundation 0x18562d1f4 _cfrunlooprunspecific + 37364 4 cfnetwork 0x18512e2a4 [nsurlconnection(loader) _resourceloadloop:] + 647844 5 foundation 0x186642308 ___nsthread__main__ + 1008392 6 libsystem_pthread.dylib 0x19715fdc8 __pthread_body + 15816 7 libsystem_pthread.dylib 0x19715fd24 __pthread_body + 15652 8 libsystem_pthread.dylib 0x19715cef8 _thread_start + 3832 thread 4: 0 libsystem_kernel.dylib 0x1970c3498 _select$darwin_extsn + 111768 1 libsystem_pthread.dylib 0x19715fdc8 __pthread_body + 15816 2 libsystem_pthread.dylib 0x19715fd24 __pthread_body + 15652 3 libsystem_pthread.dylib 0x19715cef8 _thread_start + 3832 thread 5: 0 libsystem_kernel.dylib 0x1970c3c78 ___workq_kernreturn + 113784 1 libsystem_pthread.dylib 0x19715cef0 _start_wqthread + 3824 thread 6: 0 libsystem_kernel.dylib 0x1970c3c78 ___workq_kernreturn + 113784 1 libsystem_pthread.dylib 0x19715cef0 _start_wqthread + 3824 thread 0 crashed arm64 thread state: cpsr: 0x60000000 fp: 0x16fd7a0a0 lr: 0x185625d44 pc: 0x185629750 sp: 0x16fd7a090 x0: 0 x1: 0 x10: 0x1 x11: 0 x12: 0x13e00ceb0 x13: 0x61a5975c10e9 x14: 0x5cd61a0d8643 x15: 0x8c x16: 0x19692a4d8 x17: 0x1856d65bc x18: 0 x19: 0 x2: 0x17425fce0 x20: 0x174266f00 x21: 0 x22: 0x16fd7a1f0 x23: 0x17007ffc0 x24: 0x1975c8750 x25: 0x1975cb9c0 x26: 0x19b0d80a8 x27: 0x19b0d4088 x28: 0 x3: 0 x4: 0x16fd7a2c8 x5: 0x2a x6: 0x2a x7: 0 x8: 0x5 x9: 0x185629650
the problem seems have originated key somehow being nil when tried set object in nsuserdefaults. interestingly enough, doesn't crash in simulator.
Comments
Post a Comment