Call to AudioConverterFillComplexBuffer results in CrashIfClientProvidedBogusAudioBufferList only on MacOS Sierra - objective-c

I have an audio program that makes a call to AudioConverterFillComplexBuffer with the following code:
OSStatus error = AudioConverterFillComplexBuffer(recorderObj->audioConverter,
MyAudioConverterCallback,
(__bridge void *)playerLocal,
&ioOutputDataPackets,
convertedData,
&streamDesc);
When this code runs on 10.6-10.11, it works fine. When the code runs on 10.12, it crashes with the following message
Crashed Thread: 16 com.apple.audio.IOThread.client
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]
The call stack ends in CrashIfClientProvidedBogusAudioBufferList.
Most articles, documentation and mailing lists would say that I have a bad output buffer but for the life of me, I cannot tell what I would be doing wrong but still have my code work on all versions of MacOS but the latest. Here is how I am setting up the buffer:
AudioBufferList *convertedData = (AudioBufferList*)malloc(sizeof(AudioBufferList) * 2);
convertedData->mNumberBuffers = 1;
convertedData->mBuffers[0].mNumberChannels = 2;
convertedData->mBuffers[0].mDataByteSize = 64 * 1024;
convertedData->mBuffers[0].mData = (UInt8 *)malloc(sizeof(UInt8) * 64 * 1024);
Here is the full stack at the point of the crash
Thread 16 Crashed:: com.apple.audio.IOThread.client
0 com.apple.audio.toolbox.AudioToolbox 0x00007fff89b9a330 CADebuggerStop() + 4
1 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a21e71 CrashIfClientProvidedBogusAudioBufferList + 97
2 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f710 AudioConverterChain::CallInputProc(unsigned int) + 646
3 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f386 AudioConverterChain::FillBufferFromInputProc(unsigned int*, CABufferList*) + 130
4 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f2ee BufferedAudioConverter::GetInputBytes(unsigned int, unsigned int&, CABufferList const*&) + 178
5 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f1b2 CBRConverter::RenderOutput(CABufferList*, unsigned int, unsigned int&, AudioStreamPacketDescription*) + 106
6 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2225d BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 281
7 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f2c3 BufferedAudioConverter::GetInputBytes(unsigned int, unsigned int&, CABufferList const*&) + 135
8 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a9369b Resampler2Wrapper::RenderOutput(CABufferList*, unsigned int, unsigned int&) + 183
9 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2225d BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 281
10 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f2c3 BufferedAudioConverter::GetInputBytes(unsigned int, unsigned int&, CABufferList const*&) + 135
11 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2f1b2 CBRConverter::RenderOutput(CABufferList*, unsigned int, unsigned int&, AudioStreamPacketDescription*) + 106
12 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2225d BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 281
13 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2253f AudioConverterChain::RenderOutput(CABufferList*, unsigned int, unsigned int&, AudioStreamPacketDescription*) + 99
14 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a2225d BufferedAudioConverter::FillBuffer(unsigned int&, AudioBufferList&, AudioStreamPacketDescription*) + 281
15 com.apple.audio.toolbox.AudioToolbox 0x00007fff89a21d2f AudioConverterFillComplexBuffer + 282
16 com.pc-intercom.Intercom 0x0000000107a52803 0x107a4a000 + 34819
17 com.apple.audio.units.Components 0x000000010a38c97c AUHAL::AUIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 2324
18 com.apple.audio.CoreAudio 0x00007fff8a71f951 HALC_ProxyIOContext::IOWorkLoop() + 4369
19 com.apple.audio.CoreAudio 0x00007fff8a71e667 HALC_ProxyIOContext::IOThreadEntry(void*) + 131
20 com.apple.audio.CoreAudio 0x00007fff8a71e38b HALB_IOThread::Entry(void*) + 75
21 libsystem_pthread.dylib 0x0000000108134aab _pthread_body + 180
22 libsystem_pthread.dylib 0x00000001081349f7 _pthread_start + 286
23 libsystem_pthread.dylib 0x0000000108134221 thread_start + 13
If anyone has any suggestions on how I can debug this issue, I would greatly appreciate the help.

In MyAudioConverterCallback, ioDataPacketCount is supposed to return frames for LPCM (I guess packets are frames for uncompressed audio), so set it to:
*ioDataPacketCount = recorderObj->inputBuffer->mBuffers[0].mDataByteSize/recorderObj->streamFormat.mBytesPerFrame;
Pass a NULL AudioStreamPacketDescription to AudioConverterFillComplexBuffer instead of an array of 1 (this was causing crashes for me on 10.11). Your destination format is LPCM, so packet descriptions are unnecessary because your "packets" are all the same size.
Similarly, your source format is LPCM too, so you can remove the code that returns packet descriptions in MyAudioConverterCallback - it's also wrong.
On my machine, I get non-interleaved stereo for streamFormat which means MyAudioConverterCallback has to fill out ioData->mBuffers[1] too.
When setting up your convertedData AudioBufferList, sizePerPacket was using the source format packet size instead of the destination packet size. It should be:
sizePerPacket = mOutputFormat.mBytesPerPacket;
And finally, even when it's not crashing, this code can't be right because you're recording (say) 512 frames from the microphone, then asking the audio converter to convert 16384 - that's going to give you audio glitches.

The callback is given an audio buffer list pointed to by ioData. This
buffer list may refer to existing buffers owned and allocated by the
audio converter, in which case the callback may use them and copy
input audio data into them. However, the buffer list may also be
empty (mDataByteSize == 0 and/or mData == NULL), in which case the
callback must provide its own buffers. The callback manipulates the
members of ioData to point to one or more buffers of audio data
(multiple buffers are used with non-interleaved PCM data). The
callback is responsible for not freeing or altering this buffer until
it is called again.
In the AudioConverterComplexInputDataProc callback, When I try to return a ioData with it's mBuffers[0].mData == NULL, I got this crash.

Related

CRASH gmscore::vector::GMSMarkupPolygonInstance::CreateEntities

I have not been able to reproduce this crash myself ever but occasionally I see (on crashlytics) user getting this. I feel the frequency of crashing has increased with GoogleMaps version 3.3.0. I am getting this crash for iOS 12 and above.
Crashed: com.apple.main-thread
0 Someapp 0x101027058 gmscore::vector::GMSMarkupPolygonInstance::CreateEntities(gmscore::base::reffed_ptr<gmscore::vector::Camera> const&, gmscore::renderer::EntityRenderer*, id<GMSEntityResources>, gmscore::renderer::ProxySortedRenderBin<std::__1::tuple<unsigned int, unsigned long, unsigned int, gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> >, gmscore::renderer::ProxySortedRenderBin::less<gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> > >*, gmscore::renderer::Behavior*, char const* const&) + 311748
1 Someapp 0x101027044 gmscore::vector::GMSMarkupPolygonInstance::CreateEntities(gmscore::base::reffed_ptr<gmscore::vector::Camera> const&, gmscore::renderer::EntityRenderer*, id<GMSEntityResources>, gmscore::renderer::ProxySortedRenderBin<std::__1::tuple<unsigned int, unsigned long, unsigned int, gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> >, gmscore::renderer::ProxySortedRenderBin::less<gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> > >*, gmscore::renderer::Behavior*, char const* const&) + 311728
2 Someapp 0x101021c90 gmscore::vector::GMSMarkupMultiZoomLinesInstance::UpdateEntities(float, gmscore::base::reffed_ptr<gmscore::vector::Camera>, gmscore::renderer::EntityRenderer*, id<GMSEntityResources>, gmscore::renderer::ProxySortedRenderBin<std::__1::tuple<unsigned int, unsigned long, unsigned int, gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> >, gmscore::renderer::ProxySortedRenderBin::less<gmscore::base::reffed_ptr<gmscore::renderer::BaseEntity> > >*, gmscore::renderer::Behavior*, char const* const&) + 290300
3 Someapp 0x10101bb94 gmscore::vector::GMSMarkupBehavior::UpdateInstanceMap(std::__1::map<unsigned long, gmscore::base::reffed_ptr<gmscore::vector::GMSMarkupInstance>, std::__1::less<unsigned long>, std::__1::allocator<std::__1::pair<unsigned long const, gmscore::base::reffed_ptr<gmscore::vector::GMSMarkupInstance> > > > const&, gmscore::renderer::EntityRenderer*, bool) + 265472
4 Someapp 0x10101b428 gmscore::vector::GMSMarkupBehavior::Commit(gmscore::renderer::EntityRenderer*) + 263572
5 Someapp 0x100efa9e8 gmscore::renderer::EntityRenderer::Draw(bool) + 400
6 Someapp 0x100f9ded4 -[GMSPhoenixRenderer drawForced:] + 6452
7 Someapp 0x100f80bc8 -[GMSEntityRendererView draw] + 518060
8 Someapp 0x100f7f224 -[GMSEntityRendererView displayLinkFired:] + 511496
9 Someapp 0x100f7de10 -[GMSDisplayLink displayLinkFired:] + 506356
10 QuartzCore 0x1f9308f90 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636
11 QuartzCore 0x1f93d2b10 display_timer_callback(__CFMachPort*, void*, long, void*) + 272
12 CoreFoundation 0x1f4eeca8c __CFMachPortPerform + 188
13 CoreFoundation 0x1f4f13690 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
14 CoreFoundation 0x1f4f12ddc __CFRunLoopDoSource1 + 440
15 CoreFoundation 0x1f4f0dc00 __CFRunLoopRun + 2096
16 CoreFoundation 0x1f4f0d0b0 CFRunLoopRunSpecific + 436
17 GraphicsServices 0x1f710d79c GSEventRunModal + 104
18 UIKitCore 0x221887978 UIApplicationMain + 212
19 Someapp 0x100511850 main + 16 (TripResultViewController+Validation.swift:16)
20 libdyld.dylib 0x1f49d28e0 start + 4
I am facing the same issue but in iOS 13 devices with GoogleMaps 3.7.0 pod.
The error only appears the first time I open the app (after installing it), but the rest of the executions are working well, maybe this give u some clues about the crash.
There is an open issue for de maps-sdk-for-ios that it's worth to keep an eye on it, because it seems to be related to a bug in the SDK:
issue tracker link
I hope this information helps to solve the problem or at least to throw some light on it ...
The issue was originally reported here: https://github.com/googlemaps/google-maps-ios-utils/issues/236
In our app we use Google Map SDK and I can reproduce this issue by zooming in on the map to the max (starting with version 3.3.0)
I reported it here: https://issuetracker.google.com/issues/148238890

How to debug crash during spritekit rendering?

I'm making an IOS game using spritekit, and also integrated crashlytics for error reporting. I'm receiving the following error report periodically, and I'm unable to reproduce it, and unsure how to even start going about finding the problem. Any ideas would be greatly appreciated.
Thread : Crashed: com.apple.spritekit.renderQueue
0 SpriteKit 0x2faed240 SKCShapeSprite::_NEW_copyRenderPathData(SKRenderQuad*, bool) const + 711
1 ??? 0x0061b9d0
2 SpriteKit 0x2fb12d09 SKCShapeSprite::copyRenderPathData(SKRenderQuad*, bool) + 40
3 SpriteKit 0x2fb0fdbd SKCRenderer::preprocessSpriteImp(std::__1::vector<SKCRenderer::SpriteRenderInfo, std::__1::allocator<SKCRenderer::SpriteRenderInfo> >&, SKRenderQuadPool&, SKCSprite const*, _GLKMatrix4 const&, float, unsigned int&, bool) + 428
4 SpriteKit 0x2fb10987 SKCRenderer::preprocessSpriteImp(std::__1::vector<SKCRenderer::SpriteRenderInfo, std::__1::allocator<SKCRenderer::SpriteRenderInfo> >&, SKRenderQuadPool&, SKCSprite const*, _GLKMatrix4 const&, float, unsigned int&, bool) + 3446
5 SpriteKit 0x2fb10987 SKCRenderer::preprocessSpriteImp(std::__1::vector<SKCRenderer::SpriteRenderInfo, std::__1::allocator<SKCRenderer::SpriteRenderInfo> >&, SKRenderQuadPool&, SKCSprite const*, _GLKMatrix4 const&, float, unsigned int&, bool) + 3446
6 SpriteKit 0x2fb0b0d7 SKCRenderer::preprocessAndSubmitSpriteInternal(std::__1::vector<SKCRenderer::SpriteRenderInfo const*, std::__1::allocator<SKCRenderer::SpriteRenderInfo const*> >&, std::__1::vector<SKCRenderer::SpriteRenderInfo, std::__1::allocator<SKCRenderer::SpriteRenderInfo> >&, SKRenderQuadPool&, SKCSprite const*, _GLKMatrix4 const&) + 94
7 SpriteKit 0x2fb0f94f SKCRenderer::preprocessAndSubmitSprite(SKCSprite const*, _GLKMatrix4 const&) + 154
8 SpriteKit 0x2fb0da69 SKCRenderer::submitScene(SKScene*, bool) + 524
9 SpriteKit 0x2fb11ba9 SKCRenderer::renderScene(SKScene*, bool) + 152
10 SpriteKit 0x2faa95f7 -[SKView _renderContent] + 1102
11 libdispatch.dylib 0x3a3758b7 _dispatch_client_callout + 22
12 libdispatch.dylib 0x3a37cb69 _dispatch_barrier_sync_f_invoke + 48
13 SpriteKit 0x2faa917b -[SKView renderContent] + 82
14 SpriteKit 0x2faa5f15 __29-[SKView setUpRenderCallback]_block_invoke + 116
15 SpriteKit 0x2fad7509 -[SKDisplayLink _callbackForNextFrame:] + 248
16 QuartzCore 0x2f679aa3 CA::Display::DisplayLinkItem::dispatch() + 98
17 QuartzCore 0x2f67990b CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 366
18 IOMobileFramebuffer 0x33f2e82b IOMobileFramebufferVsyncNotifyFunc + 90
19 IOKit 0x2d68c801 IODispatchCalloutFromCFMessage + 256
20 CoreFoundation 0x2c71d8e5 __CFMachPortPerform + 132
21 CoreFoundation 0x2c72ddab __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
22 CoreFoundation 0x2c72dd47 __CFRunLoopDoSource1 + 346
23 CoreFoundation 0x2c72c349 __CFRunLoopRun + 1608
24 CoreFoundation 0x2c67a621 CFRunLoopRunSpecific + 476
25 CoreFoundation 0x2c67a433 CFRunLoopRunInMode + 106
26 GraphicsServices 0x33a290a9 GSEventRunModal + 136
27 UIKit 0x2fc65359 UIApplicationMain + 1440

Crash report - EXC_BAD_ACCESS (SIGABRT)

First time posting here and i'm new to this whole developer thing so please be nice!
I have submitted my app (a 3d game made in unity) and it has returned 3 crash reports, which all look pretty similar to me. I've put them through unity. I'll post one below (it was too long so i just posted the first bit) as they are so long, if you can help id be happy to post the other 2.
Any help would be greatly appreciated! Thanks!
Incident Identifier: 938FFF53-56A2-4A1D-BF23-4E24567BA101
CrashReporter Key: 3286a932eadfb6a4501de9b1e0044450b3f54fb3
Hardware Model: xxx
Process: Box [1376]
Path: /private/var/mobile/Containers/Bundle/Application/00E4561A-F30C-4C48-B2BD-355A71A4D971/Box.app/Box
Identifier: Bob.Bob
Version: 1 (1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-06-02 17:16:47.033 -0700
Launch Time: 2015-06-02 17:16:42.956 -0700
OS Version: iOS 8.3 (12F69)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000ff222c47
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32123df0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x321a2cc3 pthread_kill + 59
2 libsystem_c.dylib 0x320bf905 abort + 73
3 Box 0x0182d908 mono_handle_native_sigsegv + 312
4 Box 0x0181d08c mono_sigsegv_signal_handler + 256
5 libsystem_platform.dylib 0x3219e879 _sigtramp + 41
6 Box 0x013e1f40 void ApplyMaterialPropertyBlockValuesMetal<SetValuesFunctorMetal>(MaterialPropertyBlock const&, GpuProgram*, GpuProgramParameters const*, ShaderType, SetValuesFunctorMetal&) (GpuProgramParamsApply.h:109)
7 Box 0x013de9c4 GfxDeviceMetal::SetMaterialProperties(MaterialPropertyBlock const&) (GfxDeviceMetal.mm:513)
8 Box 0x00ee48a0 ApplyBuiltinInstanceProperty::PerformFlushMaterialProperties() (ApplyBuiltinInstanceProperty.cpp:13)
9 Box 0x00f39ebc Skybox::SetupSun(Camera const&, GfxDevice&) (Skybox.cpp:256)
10 Box 0x00f3a218 Skybox::RenderSkybox(Unity::Material*, Camera const&) (Skybox.cpp:275)
11 Box 0x00ef941c Camera::RenderSkybox() (Camera.cpp:780)
12 Box 0x00ef3900 DoRenderLoop(RenderLoop&, RenderingPath, CullResults&, ShadowMapCache&, bool) (RenderLoopPrivate.cpp:416)
13 Box 0x00efa604 Camera::DoRender(CullResults&, void (*)(Camera&, RenderLoop&, CullResults&), int) (Camera.cpp:1175)
14 Box 0x00efad88 Camera::Render(CullResults&, ShaderLab::ShaderPassContext&, int) (Camera.cpp:1833)
15 Box 0x00f2c438 RenderManager::RenderCameras(int) (RenderManager.cpp:111)
16 Box 0x0104815c PlayerRender(bool) (Player.cpp:1490)
17 Box 0x01048c0c PlayerLoop(bool, bool, IHookEvent*) (Player.cpp:1990)
18 Box 0x00e13948 UnityPlayerLoopImpl(bool) (LibEntryPoint.mm:209)
19 Box 0x0008eb7c UnityRepaint (UnityAppController+Rendering.mm:199)
20 Box 0x0009e5a4 -[UnityAppController(ViewHandling) showGameUI] (UnityAppController+ViewHandling.mm:160)
21 Box 0x0009aeac -[UnityAppController startUnity:] (UnityAppController.mm:109)
22 Foundation 0x24378369 __NSFireDelayedPerform + 465
23 CoreFoundation 0x2360aedd __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 13
24 CoreFoundation 0x2360aa57 __CFRunLoopDoTimer + 647
25 CoreFoundation 0x23608ca7 __CFRunLoopRun + 1415
26 CoreFoundation 0x235551fd CFRunLoopRunSpecific + 473
27 CoreFoundation 0x2355500f CFRunLoopRunInMode + 103
28 GraphicsServices 0x2acf11fd GSEventRunModal + 133
29 UIKit 0x26cf9a55 UIApplicationMain + 1437
30 Box 0x000852b0 main (main.mm:40)
31 libdyld.dylib 0x32059aad start + 1

Export attribute on nullable property causes crash

Using mono 2.10.9 and monomac, I have written a c# class inheriting NSObject used for Cocoa-binding from Xcode. If my class includes a property using a nullable value like this:
[Export]
public bool? IsRegistered { get; set; }
my application crashes the ugly way during startup (see crash report below). The main window hasn't even been displayed yet. As soon as I change the bool? to bool, everything works fine, but I actually would like to use bool?. Any suggestions?
Crash report:
Process: SQAT [44677]
Path: /Users/USER/*/SQAT.app/Contents/MacOS/SQAT
Identifier: SQAT
Version: 4 (1)
Code Type: X86 (Native)
Parent Process: launchd [136]
Date/Time: 2013-01-23 15:31:51.540 +0100
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[44677]: garbage collection is OFF
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x95da69c6 __pthread_kill + 10
1 libsystem_c.dylib 0x90dc0f78 pthread_kill + 106
2 libsystem_c.dylib 0x90db1bdd abort + 167
3 libmono-2.0.dylib 0x0029eefd mono_handle_native_sigsegv + 685
4 libsystem_c.dylib 0x90e1659b _sigtramp + 43
5 ??? 0xffffffff 0 + 4294967295
6 libmono-2.0.dylib 0x002ed970 mono_runtime_posix_install_handlers + 288
7 libsystem_c.dylib 0x90db1bdd abort + 167
8 libmono-2.0.dylib 0x003ff47f monoeg_g_logv + 159
9 libmono-2.0.dylib 0x003ff4ab monoeg_assertion_message + 43
10 libmono-2.0.dylib 0x0035a4ee mono_marshal_emit_managed_wrapper + 782
11 libmono-2.0.dylib 0x0035ae50 mono_marshal_get_managed_wrapper + 752
12 libmono-2.0.dylib 0x0035b2a2 mono_delegate_to_ftnptr + 146
13 ??? 0x011bf4be 0 + 18609342
14 ??? 0x011bf45c 0 + 18609244
15 ??? 0x01203350 0 + 18887504
16 ??? 0x01203148 0 + 18886984
17 ??? 0x013340fc 0 + 20136188
18 ??? 0x011c10a8 0 + 18616488
19 ??? 0x011c090c 0 + 18614540
20 ??? 0x01205cd8 0 + 18898136
21 ??? 0x0092bfe0 0 + 9617376
22 ??? 0x0092b6dc 0 + 9615068
23 ??? 0x0092bdde 0 + 9616862
24 libmono-2.0.dylib 0x0020dca4 mono_jit_runtime_invoke + 164
25 libmono-2.0.dylib 0x003832e4 mono_runtime_invoke + 68
26 libmono-2.0.dylib 0x003893ae mono_runtime_exec_main + 238
27 libmono-2.0.dylib 0x002735fd mono_main + 6797
28 SQAT 0x000394bf main + 3135
29 SQAT 0x00038875 start + 53
There is no direct equivalent to bool? in ObjectiveC, so currently it is not possible to export such a property.
Exactly how are you trying to use this property from ObjectiveC?

IOS 6 Maps Crash

I keep getting this crash on IOS 6 but I am not sure what is wrong. Does anyone know what it means?
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: EXC_ARM_DA_ALIGN at 0x00000001
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x3bcab0d8 CFRetain + 20
1 CoreFoundation 0x3bd424ee __CFSetStandardRetainKey + 50
2 VectorKit 0x3840e97c -[VKAnimation _stopAnimation:] + 36
3 VectorKit 0x383d841c -[VKAnimation onTimerFired:] + 48
4 VectorKit 0x383d8240 -[VKMainLoop displayTimerFired:] + 352
5 QuartzCore 0x3664377c CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 156
6 QuartzCore 0x366436d4 CA::Display::IOMFBDisplayLink::callback(__IOMobileFramebuffer*, unsigned long long, unsigned long long, unsigned long long, void*) + 60
7 IOMobileFramebuffer 0x3c497fd4 IOMobileFramebufferVsyncNotifyFunc + 152
8 IOKit 0x35a965aa IODispatchCalloutFromCFMessage + 190
9 CoreFoundation 0x3bd35888 __CFMachPortPerform + 116
10 CoreFoundation 0x3bd403e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
11 CoreFoundation 0x3bd40386 __CFRunLoopDoSource1 + 134
12 CoreFoundation 0x3bd3f20a __CFRunLoopRun + 1378
13 CoreFoundation 0x3bcb2238 CFRunLoopRunSpecific + 352
14 CoreFoundation 0x3bcb20c4 CFRunLoopRunInMode + 100
15 GraphicsServices 0x33eae336 GSEventRunModal + 70
16 UIKit 0x3be33284 UIApplicationMain + 1116
17 App Name 0x000dcb88 main (main.m:14)
18 App Name 0x000dcb54 start + 36
The application is using the MKMapkit in IOS 6.
This is an internal bug. Report this to Apple.
You may be able to use the Simulator's "Reset Content" thing (in the app/iOS Simulator menu) to clear out caches if this is happening in the Simulator.
Looks like the issue is caused by accessing a released object from within or soon after VectorKit's stopAnimation: method is called. I'm not familiar with VectorKit, so you might look in that method or what looks to be the onTimerFired: delegate callback.
Good luck.
Tim