Hard crash in CGImageProviderCallbackQueue

Has anyone an idea what might cause the below crash? I don’t even know what my app was doing other than shuffling some mails around.

Xojo 2018r1, 64bit

Date/Time: 2018-10-13 03:46:41.536 -0400
OS Version: Mac OS X 10.14 (18A391)
Report Version: 12
Anonymous UUID: F0B2B068-464F-8891-8FF0-1F941006D702

Sleep/Wake UUID: C451AAED-A759-4594-AF42-B28D93A5AED6

Time Awake Since Boot: 220000 seconds
Time Since Wake: 120000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: CGImageProviderCallbackQueue

Exception Type: EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Floating point exception: 8
Termination Reason: Namespace SIGNAL, Code 0x8
Terminating Process: exc handler [14655]

Thread 0 Crashed:: Dispatch queue: CGImageProviderCallbackQueue
0 com.apple.driver.AppleIntelHD5000GraphicsMTLDriver 0x00007fff251817ec CHAL_INTEL::ChalContext::ChalExecuteKernel(CHAL_INTEL::tagDecodedBinaryInfo const*, MTLSize&, MTLSize&, MTLSize&, CHAL_INTEL::sResourceArguments, unsigned int const*, MTLRegion, MTLIGAccelBuffer*, unsigned int, MTLIGAccelBuffer*, unsigned int) + 608
1 com.apple.driver.AppleIntelHD5000GraphicsMTLDriver 0x00007fff2515c7d7 IGAccelComputeCommandEncoder::dispatchThreadgroups(MTLSize, MTLSize) + 229
2 com.apple.driver.AppleIntelHD5000GraphicsMTLDriver 0x00007fff2515c645 -[MTLIGAccelComputeCommandEncoder dispatchThreadgroups:threadsPerThreadgroup:] + 255
3 com.apple.CoreImage 0x00007fff2e53c171 CIMetalRenderToTextures + 835
4 com.apple.CoreImage 0x00007fff2e53bcc5 CI::MetalContext::compute_quad(CI::MetalMainProgram const*, CGSize const&, void const**, unsigned long) + 465
5 com.apple.CoreImage 0x00007fff2e536c20 CI::MetalContext::render_node(CI::TileTask*, CI::ProgramNode*, CGRect const&, CGRect const&, void const**, unsigned long) + 928
6 com.apple.CoreImage 0x00007fff2e535be0 CI::MetalContext::render_root_node(CI::TileTask*, CI::ProgramNode*, CGRect const&, void () block_pointer) + 288
7 com.apple.CoreImage 0x00007fff2e535063 CI::Context::recursive_render(CI::TileTask*, CI::Node*, CGRect const&, CI::Node*, bool) + 2185
8 com.apple.CoreImage 0x00007fff2e5345ba CI::Context::render(CI::ProgramNode*, CGRect const&) + 98
9 com.apple.CoreImage 0x00007fff2e5cc0c0 invocation function for block in CI::image_render_to_surface(CI::Context*, CI::Image*, CGRect, CGColorSpace*, __IOSurface*, CGPoint, CI::PixelFormat, CI::RenderDestination const*) + 23
10 com.apple.CoreImage 0x00007fff2e52b43c CI::recursive_tile(CI::RenderTask*, CI::Context*, CI::RenderDestination const*, char const*, CI::Node*, CGRect const&, CI::PixelFormat, CI::swizzle_info const&, CI::TileTask* (CI::ProgramNode*, CGRect) block_pointer) + 918
11 com.apple.CoreImage 0x00007fff2e52ad00 CI::tile_node_graph(CI::Context*, CI::RenderDestination const*, char const*, CI::Node*, CGRect const&, CI::PixelFormat, CI::swizzle_info const&, CI::TileTask* (CI::ProgramNode*, CGRect) block_pointer) + 470
12 com.apple.CoreImage 0x00007fff2e5cbe5e CI::image_render_to_surface(CI::Context*, CI::Image*, CGRect, CGColorSpace*, __IOSurface*, CGPoint, CI::PixelFormat, CI::RenderDestination const*) + 2531
13 com.apple.CoreImage 0x00007fff2e5cf2e2 invocation function for block in copyIOSurfaceCallback(void*, CGImageProvider*, __CFDictionary const*) + 173
14 libdispatch.dylib 0x00007fff5aaaddcb _dispatch_client_callout + 8
15 libdispatch.dylib 0x00007fff5aab9a28 _dispatch_lane_barrier_sync_invoke_and_complete + 60
16 com.apple.CoreImage 0x00007fff2e5ceefc copyIOSurfaceCallback(void*, CGImageProvider*, __CFDictionary const*) + 649
17 com.apple.QuartzCore 0x00007fff389ff1d1 CA::Render::(anonymous namespace)::create_image_from_image_provider(CGImage*, CGImageProvider*, CGColorSpace*, unsigned int) + 93
18 com.apple.QuartzCore 0x00007fff389fedea CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int, double) + 357
19 com.apple.QuartzCore 0x00007fff389fea03 CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 523
20 com.apple.QuartzCore 0x00007fff389fe7dc CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 20
21 com.apple.QuartzCore 0x00007fff389fe6be CA::Layer::prepare_commit(CA::Transaction*) + 502
22 com.apple.QuartzCore 0x00007fff389e8456 CA::Context::commit_transaction(CA::Transaction*) + 334
23 com.apple.QuartzCore 0x00007fff389e7d20 CA::Transaction::commit() + 576
24 com.apple.QuartzCore 0x00007fff389e7a2c CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 66
25 com.apple.CoreFoundation 0x00007fff2dac595d CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
26 com.apple.CoreFoundation 0x00007fff2dac5892 __CFRunLoopDoObservers + 452
27 com.apple.CoreFoundation 0x00007fff2da674f4 __CFRunLoopRun + 1469
28 com.apple.CoreFoundation 0x00007fff2da66ce4 CFRunLoopRunSpecific + 463
29 com.apple.HIToolbox 0x00007fff2cd00895 RunCurrentEventLoopInMode + 293
30 com.apple.HIToolbox 0x00007fff2cd005cb ReceiveNextEventCommon + 618
31 com.apple.HIToolbox 0x00007fff2cd00348 _BlockUntilNextEventMatchingListInModeWithFilter + 64
32 com.apple.AppKit 0x00007fff2afbd95b _DPSNextEvent + 997
33 com.apple.AppKit 0x00007fff2afbc6fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
34 com.xojo.XojoFramework 0x0000000106eac6a9 0x106dd9000 + 865961
35 com.xojo.XojoFramework 0x0000000106eac6ed 0x106dd9000 + 866029
36 com.mothsoftware.mailarchiverx 0x0000000103c51455 Application._CallFunctionWithExceptionHandling%%op + 181
37 com.xojo.XojoFramework 0x000000010702ce53 CallFunctionWithExceptionHandling(void (*)()) + 262
38 com.xojo.XojoFramework 0x0000000106eac656 0x106dd9000 + 865878
39 com.apple.AppKit 0x00007fff2afb675d -[NSApplication run] + 699
40 com.xojo.XojoFramework 0x000000010702b17f RuntimeRun + 40
41 com.mothsoftware.mailarchiverx 0x0000000103d44173 REALbasic._RuntimeRun + 19
42 com.mothsoftware.mailarchiverx 0x0000000105ba7db8 _Main + 536
43 com.mothsoftware.mailarchiverx 0x0000000105b9f873 main + 19
44 libdyld.dylib 0x00007fff5aafc085 start + 1

Do you have any declares into CoreAnimation? Often starting with ‘CA’?

When my app is busy it’s not doing anything beyond showing a simple progress window. Could the piDog stuff have declares for Core Animation? I’ve updated to the latest version and sent a new build to the customer.

You’d have to ask @jim mckay