RoboVM app crashes on ptr.get() - ios

Is there some kind of magic required to get ptr.get() to work? For some reason the following code always crashes my app:
AudioStreamBasicDescription asbd = new AudioStreamBasicDescription(mSampleRate, mFormatID, mFormatFlags, mBytesPerPacket, mFramesPerPacket, mBytesPerFrame, mChannelsPerFrame, mBitsPerChannel, 0);
AudioFilePtr outAudioFile = new AudioFilePtr();
File f = File.createTempFile("ptt", ".caf");
AudioFileError afe = AudioFile.createWithURL(new NSURL(f), 1667327590, asbd, 1, outAudioFile);
System.out.println(afe.name());
System.out.println(outAudioFile.get());
It successfully returns from AudioFile.createWithURL with no errors (error code: No), but crashes as soon as I try to get the java instance. I'm also experiencing the same type of crash in another section of code where I instantiate an AudioQueuePtr as queueptr, pass it in to AudioQueue.newInput and try to call queueptr.get(). Is there something I'm missing here?
There's no stack trace in java, but here's the XCode Organizer Device Log:
Incident Identifier: 2EEFF4F0-9031-4798-80E7-69F55BB70576
CrashReporter Key: 08d7c27d21cb15553295bbae1b2aa2040e94b517
Hardware Model: iPhone3,1
Process: iOS_RVM_NN [1972]
Path: /var/mobile/Applications/B2571332-7C2F-4A5A-8932-8BF5EC94EE33/iOS_RVM_NN.app/iOS_RVM_NN
Identifier: iOS_RVM_NN
Version: 1 (1.0)
Code Type: ARM (Native)
Parent Process: debugserver [1971]
Date/Time: 2014-12-02 11:22:50.710 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x39838a58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39838854 mach_msg + 44
2 CoreFoundation 0x2eaa2846 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2eaa0fb2 __CFRunLoopRun + 850
4 CoreFoundation 0x2ea0beba CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2ea0bc9e CFRunLoopRunInMode + 102
6 GraphicsServices 0x3391165e GSEventRunModal + 134
7 UIKit 0x31358148 UIApplicationMain + 1132
8 iOS_RVM_NN 0x007b024e 0x8c000 + 7488078
9 iOS_RVM_NN 0x007af7e2 0x8c000 + 7485410
10 iOS_RVM_NN 0x007af822 0x8c000 + 7485474
11 iOS_RVM_NN 0x00344afe 0x8c000 + 2853630
12 iOS_RVM_NN 0x00953ca0 0x8c000 + 9206944
13 iOS_RVM_NN 0x0094cbfa 0x8c000 + 9178106
14 iOS_RVM_NN 0x0094e876 0x8c000 + 9185398
15 iOS_RVM_NN 0x0094e8d0 0x8c000 + 9185488
16 iOS_RVM_NN 0x00948ce6 0x8c000 + 9161958
17 iOS_RVM_NN 0x009417ae 0x8c000 + 9131950
18 iOS_RVM_NN 0x00212f84 0x8c000 + 1601412

Turns out this was a bug in the RoboVM bindings. Should be fixed in future releases. View the bug report here: https://github.com/robovm/robovm/issues/627
Also, I posted a full working example here: RoboVM implementation of recording demo using AudioQueue results in "No #Marshaler found" error

Related

How to initialize a CLLocationCoordinate2D struct [duplicate]

This question already has answers here:
CLLocationCoordinate2D can't be instantiated
(2 answers)
Closed 1 year ago.
I'm trying to initialize a CLLocationCoordinate2D from a Swift Playground, and I'm getting the error:
error: Execution was interrupted, reason: signal SIGABRT.
The process has been left at the point where it was interrupted, use "thread return -x" to return to the state before expression evaluation.
Not sure what I'm doing wrong. Here is what I tried:
var temporaryCoordinate = CLLocationCoordinate2D(latitude: 0.0, longitude: 0.0)
You have found a very unusual and interesting bug. I can reproduce your problem by running the following code in a Blank iOS playground:
import UIKit
import CoreLocation
var temporaryCoordinate = CLLocationCoordinate2D(latitude: 0.0, longitude: 0.0)
What is going wrong is that the runtime environment, the Playground, is itself crashing. In the Mac, in the Console app, with Crash Reports left tab, we can see that the Xcode Playground is crashing.
Process: scratch-playground [1696]
Path: /Users/USER/Library/Developer/XCPGDevices/D22341D9-BFF3-4575-9801-1405F0AA2EA2/data/Containers/Bundle/Application/67A50F6D-18E8-4220-A2EB-8673018601AA/scratch-playground-1381-1.app/scratch-playground
Identifier: scratch-playground
Version: 1.0 (1)
Code Type: ARM-64 (Native)
Parent Process: ??? [1697]
Responsible: SimulatorTrampoline [635]
User ID: 501
Date/Time: 2021-04-06 21:43:05.608 +0100
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: BFEAE183-A757-B843-D9D2-BF254A4665C2
Time Awake Since Boot: 6300 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
External Modification Warnings:
Debugger attached to process.
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSValue valueWithMKCoordinate:]: unrecognized selector sent to class 0x1c9d3f588'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.18.6 - Device: iPad Pro (9.7-inch) (D22341D9-BFF3-4575-9801-1405F0AA2EA2) - Runtime: iOS 14.4 (18D46) - DeviceType: iPad Pro (9.7-inch)
Application Specific Backtrace 1:
0 CoreFoundation 0x00000001803f61fc __exceptionPreprocess + 236
1 libobjc.A.dylib 0x000000018016a438 objc_exception_throw + 56
2 CoreFoundation 0x00000001804053bc __CFExceptionProem + 0
3 CoreFoundation 0x00000001803fa45c ___forwarding___ + 1408
4 CoreFoundation 0x00000001803fc42c _CF_forwarding_prep_0 + 92
5 libswiftCoreLocation.dylib 0x00000001b1f98044 $s12CoreLocation39CLLocationCoordinate2DInNSValueObjCType33_25AD2332B1DC67E23B54508C4A7DAD45LLSPys4Int8VGvpfiAFyXEfU_ + 104
6 libswiftCoreLocation.dylib 0x00000001b1f97fcc globalinit_33_25AD2332B1DC67E23B54508C4A7DAD45_func0 + 12
7 libdispatch.dylib 0x0000000180100c48 _dispatch_client_callout + 16
8 libdispatch.dylib 0x0000000180102300 _dispatch_once_callout + 28
9 libswiftCore.dylib 0x000000018eed4ee8 swift_once + 44
10 libswiftCoreLocation.dylib 0x00000001b1f9817c $sSo22CLLocationCoordinate2DVs21_ObjectiveCBridgeable12CoreLocationsACP09_bridgeToC1C01_C5CTypeQzyFTW + 116
11 libswiftCore.dylib 0x000000018eeac510 _ZL37bridgeAnythingNonVerbatimToObjectiveCPN5swift11OpaqueValueEPKNS_14TargetMetadataINS_9InProcessEEEb + 360
12 libswiftCore.dylib 0x000000018ec10d70 $ss27_bridgeAnythingToObjectiveCyyXlxlF + 184
13 PlaygroundLogger 0x0000000100c6f9f8 globalinit_33_86996C1BC443F28F24E6A34F24210E4B_func8 + 2132
14 PlaygroundLogger 0x0000000100c6c848 globalinit_33_B1F54B50FE3698781248948D54A93147_func6 + 520
15 PlaygroundLogger 0x0000000100c6db44 playground_log_hidden + 276
16 ??? 0x0000000100c34350 0x0 + 4307764048
17 scratch-playground 0x0000000100ac2ea4 main + 0
18 CoreFoundation 0x0000000180365254 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
19 CoreFoundation 0x00000001803644ec __CFRunLoopDoBlocks + 404
20 CoreFoundation 0x000000018035eda8 __CFRunLoopRun + 780
21 CoreFoundation 0x000000018035e58c CFRunLoopRunSpecific + 572
22 GraphicsServices 0x000000018b9c2740 GSEventRunModal + 160
23 UIKitCore 0x00000001843ccbf0 -[UIApplication _run] + 964
24 UIKitCore 0x00000001843d19d0 UIApplicationMain + 112
25 scratch-playground 0x0000000100ac2f7c main + 216
26 libdyld.dylib 0x0000000180223cbc start + 4
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00000001bd7c3c10 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001bd7fc034 pthread_kill + 260
2 libsystem_c.dylib 0x00000001800f378c abort + 100
3 libc++abi.dylib 0x000000018021cf20 abort_message + 128
4 libc++abi.dylib 0x000000018020ef1c demangling_terminate_handler() + 296
5 libobjc.A.dylib 0x000000018016a6e8 _objc_terminate() + 124
6 libc++abi.dylib 0x000000018021c3c0 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x000000018021c358 std::terminate() + 44
8 libdispatch.dylib 0x0000000180100c5c _dispatch_client_callout + 36
9 libdispatch.dylib 0x0000000180102300 _dispatch_once_callout + 28
10 libswiftCore.dylib 0x000000018eed4ee8 swift_once + 44
11 libswiftCoreLocation.dylib 0x00000001b1f9817c protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() in conformance CLLocationCoordinate2D + 116
12 libswiftCore.dylib 0x000000018eeac510 bridgeAnythingNonVerbatimToObjectiveC(swift::OpaqueValue*, swift::TargetMetadata<swift::InProcess> const*, bool) + 360
13 libswiftCore.dylib 0x000000018ec10d70 _bridgeAnythingToObjectiveC<A>(_:) + 184
14 com.apple.dt.PlaygroundLogger 0x0000000100c6f9f8 0x100c68000 + 31224
15 com.apple.dt.PlaygroundLogger 0x0000000100c6c848 0x100c68000 + 18504
16 com.apple.dt.PlaygroundLogger 0x0000000100c6db44 playground_log_hidden + 276
17 ??? 0x0000000100c34350 0 + 4307764048
18 com.apple.dt.playground.stub.iOS_Simulator.scratch-playground-10BCB7AC-7E28-4D75-BC98-3FA7A44E2F36 0x0000000100ac2ea4 linkResources + 328
19 com.apple.CoreFoundation 0x0000000180365254 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
20 com.apple.CoreFoundation 0x00000001803644ec __CFRunLoopDoBlocks + 404
21 com.apple.CoreFoundation 0x000000018035eda8 __CFRunLoopRun + 780
22 com.apple.CoreFoundation 0x000000018035e58c CFRunLoopRunSpecific + 572
23 com.apple.GraphicsServices 0x000000018b9c2740 GSEventRunModal + 160
24 com.apple.UIKitCore 0x00000001843ccbf0 -[UIApplication _run] + 964
25 com.apple.UIKitCore 0x00000001843d19d0 UIApplicationMain + 112
26 com.apple.dt.playground.stub.iOS_Simulator.scratch-playground-10BCB7AC-7E28-4D75-BC98-3FA7A44E2F36 0x0000000100ac2f7c main + 216
27 libdyld.dylib 0x0000000180223cbc start + 4
I think the problem is that there are two Core Location binaries in play:
0x18321e000 - 0x1832a8fff com.apple.corelocation (2420.12.16 - 2420.12.16) <F94D1F57-86D5-3A82-8F2B-80A9AEAC0308> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreLocation.framework/CoreLocation
and
0x1b1f96000 - 0x1b1f98fff +libswiftCoreLocation.dylib (5) <EE615605-C11D-3F60-B611-8B1C1D45FEEA> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftCoreLocation.dylib
and the playground is communicating from one world to the other world; talking to the iOS simulator. But there is an incompatibility between the two as the message is not carried across correctly due to type confusion. This leads to the
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSValue
valueWithMKCoordinate:]: unrecognized selector sent to class
0x1c9d3f588' terminating with uncaught exception of type NSException
I think you should file a bug with Apple. To avoid the problem, write your code based on the iOS Simulator directly, instead of using the Playground. In such circumstances, your code will execute correctly (since it directly will run against the simulator without the intervening bridge from the Playground).
As Alexander says in his comment, there is nothing wrong with the code you posted. The cause of the crash is elsewhere.

Unable to edit storyboard in Xcode 12 after IBAgent NSInternalInconsistencyException: Failed to create work interval

I am unable to edit storyboard files in my xcode project.
I have tried cleaning my Derived Data and cleaning my project but it has had no effect.
In the IBAgent crash log I found this.
I get further errors in the designer "already shutdown" errors. I believe because of the IBAgent crash
Here is the crash log:
Process: IBAgent-iOS [81085]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS
Identifier: IBAgent-iOS
Version: 12.0.1 (17125)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [81011]
Responsible: SimulatorTrampoline [1320]
User ID: 501
Date/Time: 2020-10-07 12:38:24.736 -0400
OS Version: Mac OS X 10.15.6 (19G2021)
Report Version: 12
Anonymous UUID: B35CBFA6-5A9D-0F38-AAF9-43DECA2C829D
Time Awake Since Boot: 440000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to create work interval'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.17 - Device: iPhone Xʀ (4069A6FF-6A3D-4066-A9E5-2871B5CF6183) - Runtime: iOS 14.0 (18A372) - DeviceType: iPhone Xʀ
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff2043a126 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177f78 objc_exception_throw + 48
2 UIKitCore 0x00007fff24a5fcb7 _UIQOSProcessingEnd + 0
3 UIKitCore 0x00007fff24a5faf9 _UIQOSProcessingBegin + 309
4 UIKitCore 0x00007fff2404fd51 -[_UISceneDisplayLink _displayLinkTick:] + 98
5 QuartzCore 0x00007fff278e732d _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 755
6 QuartzCore 0x00007fff279cb99c _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 639
7 CoreFoundation 0x00007fff2037670c __CFMachPortPerform + 157
8 CoreFoundation 0x00007fff203a913d __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 CoreFoundation 0x00007fff203a84de __CFRunLoopDoSource1 + 614
10 CoreFoundation 0x00007fff203a29ba __CFRunLoopRun + 2353
11 CoreFoundation 0x00007fff203a1b9e CFRunLoopRunSpecific + 567
12 Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
13 IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
14 IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
15 IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
16 IBAgent-iOS 0x000000010bba295f main + 34
17 libdyld.dylib 0x00007fff20257415 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff5dca633a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5dcdbe60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff200fabd4 abort + 120
3 libc++abi.dylib 0x00007fff20250818 abort_message + 231
4 libc++abi.dylib 0x00007fff20241e7d demangling_terminate_handler() + 266
5 libobjc.A.dylib 0x00007fff201781d1 _objc_terminate() + 96
6 libc++abi.dylib 0x00007fff2024fc47 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff202525b6 __cxa_rethrow + 99
8 libobjc.A.dylib 0x00007fff2017810c objc_exception_rethrow + 37
9 com.apple.CoreFoundation 0x00007fff203a1cc4 CFRunLoopRunSpecific + 861
10 com.apple.Foundation 0x00007fff20846e61 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
11 com.apple.dt.IBFoundation 0x000000010c137bf0 -[IBAbstractPlatformTool startServingReceiveChannel:] + 399
12 com.apple.dt.IBFoundation 0x000000010c137e56 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 111
13 com.apple.dt.IBFoundation 0x000000010c138b40 +[IBAbstractPlatformTool main] + 1237
14 IBAgent-iOS 0x000000010bba295f main + 34
15 libdyld.dylib 0x00007fff20257415 start + 1
This happened when I upgraded to Xcode 13.0.
I couldn't find much help on the subject, but from trial and error, the solution for my situation seemed to be:
open ~/Library/Developer/Xcode/iOS\ DeviceSupport
rm -rf <VERSION>
I did this for every version expect the latest version (in this case 15.0.2 (19A404))

iOS doesNotRecognizeSelector in CoreFoundation

I'm getting crash from our custom keyboard extension that shows doesNotRecognizeSelector in the report but the code that's crashing isn't mine... it's in Foundation/CoreFoundation. Here's the crash report...
Incident Identifier: B7818....
CrashReporter Key: 57ce8....
Hardware Model: iPhone9,2
Process: MyApp Keyboard [7390]
Path: /private/var/containers/Bundle/Application/AB6EA.....B37/MyApp.app/PlugIns/MyApp Keyboard.appex/MyApp Keyboard
Identifier: com.MyDomain.MyApp.MyApp-Keyboard
Version: 288 (3.12)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.MyDomain.MyApp.MyApp-Keyboard [710]
Date/Time: 2018-03-07 16:51:29.4017 -0500
Launch Time: 2018-03-07 16:51:28.3872 -0500
OS Version: iPhone OS 11.2.6 (15D100)
Baseband Version: 3.42.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 4
Last Exception Backtrace:
0 CoreFoundation 0x18146b164 __exceptionPreprocess + 124 (NSException.m:166)
1 libobjc.A.dylib 0x1806b4528 objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x181478628 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:322)
3 CoreFoundation 0x181470b10 ___forwarding___ + 1380 (NSForwarding.m:3220)
4 CoreFoundation 0x181355ccc _CF_forwarding_prep_0 + 92
5 Foundation 0x181df65e4 -[NSExtensionContext _willPerformHostCallback:] + 180 (NSExtensionContext.m:838)
6 Foundation 0x181df32d4 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 780 (NSExtensionContext.m:268)
7 libdispatch.dylib 0x180deaa54 _dispatch_call_block_and_release + 24 (init.c:994)
8 libdispatch.dylib 0x180deaa14 _dispatch_client_callout + 16 (object.m:502)
9 libdispatch.dylib 0x180df496c _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
10 libdispatch.dylib 0x180df52fc _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
11 libdispatch.dylib 0x180df5d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 404 (queue.c:5920)
12 libdispatch.dylib 0x180dfe03c _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2529)
13 libsystem_pthread.dylib 0x181092f1c _pthread_wqthread + 932 (pthread.c:2207)
14 libsystem_pthread.dylib 0x181092b6c start_wqthread + 4
I can see the doesNotRecognizeSelector at line 2 and the nearest thing in the stack is NSExtensionContext _willPerformHostCallback. I looked through all the threads in the report and nothing shows anything from our code. I searched our codebase and I don't see any code where we override willPerformHostCallback or anything derived from NSExtensionContext for that matter.
Can anybody see what the deal is here?
TIA, Mike

EXC_BREAKPOINT (SIGTRAP)

I am working on iBeacon technology and SIGTRAP occurred at "[CoreLocationHandler locationManager:didRangeBeacons:inRegion:]" delegate method.
Inside this delegate method I am running a task over DISPATCH_QUEUE_SERIAL, and using #autoreleasepool block to save data locally.
This queue is returned by a static method of a singleton class, so I am not releasing this queue anywhere since various classes are using it. But still I am receiving SIGTRAP crash. Following is the important info regarding crash report.
CRASH REPORT
Date/Time: 2015-11-18 06:34:02.920 +0000
Launch Time: 2015-11-18 06:28:56.798 +0000
OS Version: iOS 8.0.2 (12A405)
Report Version: 105
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000000000defe
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:<br/>
0 libdispatch.dylib 0x3276f6ac _os_object_retain + 32
1 libobjc.A.dylib 0x32229474 objc_retainAutoreleaseReturnValue + 4
2 MyApp 0x000cf020 -[BusinessLayer initWithBeaconArray:withLocationManager:withDelegate:] (BusinessLayer.m:81)
3 MyApp 0x000e51fe -[CoreLocationHandler locationManager:didRangeBeacons:inRegion:] (CoreLocationHandler.m:319)
4 CoreLocation 0x2522049e 0x25212000 + 58526
5 CoreLocation 0x2521ad06 0x25212000 + 36102
6 CoreLocation 0x25214af4 0x25212000 + 10996
7 CoreFoundation 0x24b275b2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 10
8 CoreFoundation 0x24b26874 __CFRunLoopDoBlocks + 212
9 CoreFoundation 0x24b253ae __CFRunLoopRun + 1710
10 CoreFoundation 0x24a7361c CFRunLoopRunSpecific + 472
11 CoreFoundation 0x24a7342e CFRunLoopRunInMode + 102
12 GraphicsServices 0x2be220a4 GSEventRunModal + 132
13 UIKit 0x2805e354 UIApplicationMain + 1436
14 MyApp 0x000e815c main (main.m:16)
15 libdyld.dylib 0x3278eaac start + 0

What triggered this SIEGSEGV Exception type

The iOS app I am developing is having this crash with many of my users (I can catch it via PLCrashReporter library). The Exception type is SIGSEGV, so I believe is an error involving memory (like acceding a deallocated variable?).
But how can I discover what triggered it? The first line in the stacktrace involving my app is line 13:
13 ****** 0x004a9b40 _mh_execute_header +
And I really can't catch what this could mean.
Is there a way to see more info, or maybe the first four/five lines can help me more than I think?
Additional information: I use massively CoreData and NSManagedObjects, so I can't check every instance if those.
Build Version: 2.0
Incident Identifier: 5D8AECAD-3DC6-403D-8C8A-86FCC06C7FF0
Hardware Model: iPad3,3
Process: ****** [6112]
Path: /private/var/mobile/Containers/Bundle/Application/853B3A08-D893-45CA-B223-BD4A3B0241FF/******.app/******
Identifier: com.**.******
Version: 2
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2015-07-30 11:56:43 +0000
OS Version: iPhone OS 8.4 (12H143)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x7176d0c2
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3408df66 objc_msgSend + 5
1 CoreData 0x25521bad -[NSManagedObject _clearRawPropertiesWithHint:] + 284
2 CoreData 0x25521a13 -[NSFaultHandler turnObject:intoFaultWithContext:] + 398
3 CoreData 0x2551f517 -[NSManagedObject dealloc] + 74
4 CoreData 0x2551ec25 -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 1768
5 CoreData 0x2551e4b3 <redacted> + 326
6 CoreFoundation 0x257d026d <redacted> + 20
7 CoreFoundation 0x257cd951 <redacted> + 276
8 CoreFoundation 0x257cdd53 <redacted> + 914
9 CoreFoundation 0x257199a1 CFRunLoopRunSpecific + 476
10 CoreFoundation 0x257197b3 CFRunLoopRunInMode + 106
11 GraphicsServices 0x2d0c11a9 GSEventRunModal + 136
12 UIKit 0x28eca635 UIApplicationMain + 1440
13 ****** 0x004a9b40 _mh_execute_header + 4156224
14 libdyld.dylib 0x3464faaf <redacted> + 2
[...]

Resources