Posts

Post not yet marked as solved
0 Replies
189 Views
I am getting a crash in my class _PRLog.m in the method below -@property (nonatomic, strong) NSNumber* logID;- (int16_t)logIDValue { NSNumber *result = [self logID]; return [result shortValue]; // ---> ON THIS LINE}logID is being fetched from the Core Data which is saving attribute of type Integer-16.I have the crashlog stated below -Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTriggered by Thread: 0Last Exception Backtrace:0 CoreFoundation 0x18db28300 __exceptionPreprocess + 228 (NSException.m:199)1 libobjc.A.dylib 0x18d83cc1c objc_exception_throw + 60 (objc-exception.mm:565)2 CoreFoundation 0x18da26a90 -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:144)3 CoreFoundation 0x18db2ca60 ___forwarding___ + 1328 (NSForwarding.m:3520)4 CoreFoundation 0x18db2ed60 _CF_forwarding_prep_0 + 965 DreamMapper 0x102bb0978 -[_PRLog logIDValue] + 48 (_PRLog.m:47)6 DreamMapper 0x102c07aec -[PRDevice logForLogID:] + 188 (PRDevice.m:11)7 DreamMapper 0x102be7c18 __48-[PRDeviceManager createDevice:success:failure:]_block_invoke_3 + 612 (PRDeviceManager.m:113)8 libdispatch.dylib 0x18d7c6ec4 _dispatch_call_block_and_release + 32 (init.c:1408)9 libdispatch.dylib 0x18d7c833c _dispatch_client_callout + 20 (object.m:495)10 libdispatch.dylib 0x18d7d4600 _dispatch_main_queue_callback_4CF + 832 (inline_internal.h:2484)11 CoreFoundation 0x18daa36b0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1749)12 CoreFoundation 0x18da9e2c8 __CFRunLoopRun + 1708 (CFRunLoop.c:3069)13 CoreFoundation 0x18da9d8f4 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)14 GraphicsServices 0x197eb4604 GSEventRunModal + 164 (GSEvent.c:2246)15 UIKitCore 0x191c71358 UIApplicationMain + 1944 (UIApplication.m:4823)16 DreamMapper 0x102c13690 main + 88 (main.m:8)17 libdyld.dylib 0x18d9192dc start + 4Thread 0 name:Thread 0 Crashed:0 libsystem_kernel.dylib 0x000000018d90edf0 __pthread_kill + 81 libsystem_pthread.dylib 0x000000018d82e930 pthread_kill + 228 (pthread.c:1458)2 libsystem_c.dylib 0x000000018d7bcc24 __abort + 116 (abort.c:147)3 libsystem_c.dylib 0x000000018d7bcbb0 abort + 116 (abort.c:118)4 Flurry_iOS_SDK 0x00000001032ec8fc uncaught_exception_handler + 325 CoreFoundation 0x000000018db28610 __handleUncaughtException + 640 (NSException.m:253)6 libobjc.A.dylib 0x000000018d83cf00 _objc_terminate() + 120 (objc-exception.mm:700)7 DreamMapper 0x0000000102c2e82c CLSTerminateHandler() + 3488 libc++abi.dylib 0x000000018d8e13cc std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)9 libc++abi.dylib 0x000000018d8e1358 std::terminate() + 44 (cxa_handlers.cpp:88)10 libdispatch.dylib 0x000000018d7c8350 _dispatch_client_callout + 40 (object.m:498)11 libdispatch.dylib 0x000000018d7d4600 _dispatch_main_queue_callback_4CF + 832 (inline_internal.h:2484)12 CoreFoundation 0x000000018daa36b0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1749)13 CoreFoundation 0x000000018da9e2c8 __CFRunLoopRun + 1708 (CFRunLoop.c:3069)14 CoreFoundation 0x000000018da9d8f4 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)15 GraphicsServices 0x0000000197eb4604 GSEventRunModal + 164 (GSEvent.c:2246)16 UIKitCore 0x0000000191c71358 UIApplicationMain + 1944 (UIApplication.m:4823)17 DreamMapper 0x0000000102c13690 main + 88 (main.m:8)18 libdyld.dylib 0x000000018d9192dc start + 4Thread 1:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 2 name:Thread 2:0 libsystem_kernel.dylib 0x000000018d8ec784 mach_msg_trap + 81 libsystem_kernel.dylib 0x000000018d8ebba8 mach_msg + 76 (mach_msg.c:103)2 CoreFoundation 0x000000018daa3314 __CFRunLoopServiceMachPort + 152 (CFRunLoop.c:2575)3 CoreFoundation 0x000000018da9e0a0 __CFRunLoopRun + 1156 (CFRunLoop.c:2931)4 CoreFoundation 0x000000018da9d8f4 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)5 Foundation 0x000000018dde6b18 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374)6 Foundation 0x000000018dde69f0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:421)7 UIKitCore 0x0000000191d17840 -[UIEventFetcher threadMain] + 156 (UIEventFetcher.m:733)8 Foundation 0x000000018df20c10 __NSThread__start__ + 864 (NSThread.m:724)9 libsystem_pthread.dylib 0x000000018d82d8fc _pthread_start + 168 (pthread.c:896)10 libsystem_pthread.dylib 0x000000018d8359d4 thread_start + 8Thread 3 name:Thread 3:0 libsystem_kernel.dylib 0x000000018d8ec784 mach_msg_trap + 81 libsystem_kernel.dylib 0x000000018d8ebba8 mach_msg + 76 (mach_msg.c:103)2 DreamMapper 0x0000000102c1c04c CLSMachExceptionServer + 1003 libsystem_pthread.dylib 0x000000018d82d8fc _pthread_start + 168 (pthread.c:896)4 libsystem_pthread.dylib 0x000000018d8359d4 thread_start + 8Thread 4 name:Thread 4:0 libsystem_kernel.dylib 0x000000018d90ebc0 __psynch_cvwait + 81 libsystem_pthread.dylib 0x000000018d8311e4 _pthread_cond_wait + 680 (pthread_cond.c:591)2 libc++.1.dylib 0x000000018d962ca8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (__threading_support:295)3 JavaScriptCore 0x000000019ce334fc void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104 (condition_variable:203)4 JavaScriptCore 0x000000019ce372a8 bmalloc::Scavenger::threadRunLoop() + 156 (condition_variable:212)5 JavaScriptCore 0x000000019ce36fcc bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 16 (Scavenger.cpp:385)6 JavaScriptCore 0x000000019ce38244 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scaveng... + 44 (type_traits:4425)7 libsystem_pthread.dylib 0x000000018d82d8fc _pthread_start + 168 (pthread.c:896)8 libsystem_pthread.dylib 0x000000018d8359d4 thread_start + 8Thread 5 name:Thread 5:0 libsystem_kernel.dylib 0x000000018d8ec784 mach_msg_trap + 81 libsystem_kernel.dylib 0x000000018d8ebba8 mach_msg + 76 (mach_msg.c:103)2 CoreFoundation 0x000000018daa3314 __CFRunLoopServiceMachPort + 152 (CFRunLoop.c:2575)3 CoreFoundation 0x000000018da9e0a0 __CFRunLoopRun + 1156 (CFRunLoop.c:2931)4 CoreFoundation 0x000000018da9d8f4 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)5 CFNetwork 0x0000000190dc0214 -[__CoreSchedulingSetRunnable runForever] + 188 (CoreSchedulingSet.mm:1372)6 Foundation 0x000000018df20c10 __NSThread__start__ + 864 (NSThread.m:724)7 libsystem_pthread.dylib 0x000000018d82d8fc _pthread_start + 168 (pthread.c:896)8 libsystem_pthread.dylib 0x000000018d8359d4 thread_start + 8Thread 6:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 7:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 8:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 9:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 10:0 libsystem_pthread.dylib 0x000000018d8359c0 start_wqthread + 0 (pthread_dependency.c:112)Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x00000000000005b9 x9: 0x49230a2213788507 x10: 0x00000000000003e8 x11: 0x0007000281deda80 x12: 0x0000000293478c6a x13: 0x000021a1db7882c1 x14: 0x0000000000000004 x15: 0x7000000000000000 x16: 0x0000000000000148 x17: 0x00000001cf8ae808 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000407 x21: 0x0000000102f4d960 x22: 0x0000000104a9d130 x23: 0x00000001cf8e1e20 x24: 0x00000001db784000 x25: 0x00000001c9e1d66c x26: 0x00000001c9e1ee5f x27: 0x000000018dbc133e x28: 0x00000001d883e690 fp: 0x000000016d256900 lr: 0x000000018d82e930 sp: 0x000000016d2568e0 pc: 0x000000018d90edf0 cpsr: 0x40000000 esr: 0x56000080 Address size faultCan someone help me figure out what could be the cause of this crash?
Posted Last updated
.