A Carbon application controlling DSLRs and running perfectly fine from Yosemite to Sierra always crashes under High Sierra if the memory card inside the camera is not empty. However if the memory card is empty it doesn’t crash!

I have been unable to find anything in my code that could explain the crash. Please find below a sample, any idea of what could be wrong?

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x20:

Application Specific Information:
objc_msgSend() selector name: retain


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                     0xa6a69163 objc_msgSend + 19
1   libobjc.A.dylib                     0xa6a6ca3e objc_setProperty + 83
2 com.apple.ImageCaptureCore 0x95825a44 - [ICCameraFileProperties setCreationDate:] + 29 3 com.apple.ImageCaptureCore 0x9584295f -[ICCameraFile initWithDictionary:parentFolder:device:] + 823 4 com.apple.ImageCaptureCore 0x9583ac43 __50-[ICCameraDevice processImageCaptureNotification:]_block_invoke + 485 5 com.apple.CoreFoundation 0x937a53e6 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 198 6 com.apple.CoreFoundation 0x937a52f1 -[NSArray enumerateObjectsUsingBlock:] + 81 7 com.apple.ImageCaptureCore 0x958391c6 -[ICCameraDevice processImageCaptureNotification:] + 474 8 com.apple.ImageCaptureCore 0x9583be5c __54-[ICCameraDevice handleImageCaptureEventNotification:]_block_invoke_2 + 146 9 com.apple.ImageCaptureCore 0x9582bada __ICPerformBlockOnMainThreadAndWaitUntilDone_block_invoke + 145 10 com.apple.CoreFoundation 0x937bc350 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
11  com.apple.CoreFoundation            0x9379ff9c __CFRunLoopDoBlocks + 268
12  com.apple.CoreFoundation            0x9379f74a __CFRunLoopRun + 2874
13  com.apple.CoreFoundation            0x9379e8e1 CFRunLoopRunSpecific + 641
14  com.apple.CoreFoundation            0x9379e64a CFRunLoopRunInMode + 122
15 com.apple.HIToolbox 0x92d9d42b RunCurrentEventLoopInMode + 321 16 com.apple.HIToolbox 0x92d9d152 ReceiveNextEventCommon + 777
17  com.apple.HIToolbox                 0x92f19632 _AcquireNextEvent + 58
18 com.apple.HIToolbox 0x92f0aeac RunApplicationEventLoop + 174
19  com.alpha.beta                      0x000419c9 main + 30247
20  com.alpha.beta                      0x00002615 start + 53


Thimeau
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to