JKCalhoun Posted January 23, 2021 Share Posted January 23, 2021 CoreAnimation crash repeatedly happening when I scroll through there document. I cannot use Publisher now! As you can see, latest Mac OS, M1 MacBook, Process: Affinity Publisher [888] Path: /Applications/Affinity Publisher.app/Contents/MacOS/Affinity Publisher Identifier: com.seriflabs.affinitypublisher Version: 1.8.6 (1.8.12) App Item ID: 881418622 App External ID: 838956949 Code Type: ARM-64 (Native) Parent Process: ??? [1] Responsible: Affinity Publisher [888] User ID: 501 Date/Time: 2021-01-22 17:50:02.922 -0800 OS Version: macOS 11.1 (20C69) Report Version: 12 Anonymous UUID: EB5025D0-6ADA-9D71-3CFC-E9A43F9121F7 Sleep/Wake UUID: BDC032FC-FE40-4CBE-A8B8-DDEB166CAC55 Time Awake Since Boot: 980000 seconds Time Since Wake: 520 seconds System Integrity Protection: enabled Crashed Thread: 3 Dispatch queue: CA::CG::Queue Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: COREANIMATION, [0x2] function=attachment_clear_frag_lph spec=TatcA3S1Xhf | (null) : Thread 3 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x000000019f14c130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x000000019f14ea20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x000000019f14ea54 abort_with_payload + 16 3 com.apple.QuartzCore 0x00000001a5531b68 CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x00000001a552fc8c CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x00000001a552d7e4 CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 11460 6 com.apple.QuartzCore 0x00000001a5668a6c CA::OGL::MetalContext::draw_axis_aligned_rects(unsigned int, CA::OGL::AxisAlignedRect const*) + 84 7 com.apple.QuartzCore 0x00000001a56688d8 CA::OGL::MetalContext::clear_memoryless_texture() + 320 8 com.apple.QuartzCore 0x00000001a552e7a8 CA::OGL::MetalContext::set_surface(CA::OGL::Surface*) + 1100 9 com.apple.QuartzCore 0x00000001a552dac8 CA::OGL::Context::prepare_destination_() + 104 10 com.apple.QuartzCore 0x00000001a552ab9c CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 124 11 com.apple.QuartzCore 0x00000001a566c88c CA::OGL::MetalContext::draw_lines(unsigned int, unsigned int, CA::OGL::LineVertex const*) + 72 12 com.apple.QuartzCore 0x00000001a558df80 CA::OGL::Shape::render_path(CA::OGL::Context&, CA::Bounds const&, CA::OGL::Shape::PathRenderer const&, bool) + 1320 13 com.apple.QuartzCore 0x00000001a558da18 CA::OGL::Shape::fill_sc_path(CA::OGL::Context&, CA::ScanConverter::Path const&, CA::ScanConverter::FillRule, CA::Bounds const&, bool, bool) + 184 14 com.apple.QuartzCore 0x00000001a558c884 CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 2728 15 com.apple.QuartzCore 0x00000001a5527cf4 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 3312 16 com.apple.QuartzCore 0x00000001a5522e08 CA::CG::Queue::render_callback(void*) + 1208 17 libdispatch.dylib 0x000000019efb0420 _dispatch_client_callout + 20 18 libdispatch.dylib 0x000000019efb787c _dispatch_lane_serial_drain + 836 19 libdispatch.dylib 0x000000019efb82cc _dispatch_lane_invoke + 408 20 libdispatch.dylib 0x000000019efc23fc _dispatch_workloop_worker_thread + 708 21 libsystem_pthread.dylib 0x000000019f159060 _pthread_wqthread + 276 22 libsystem_pthread.dylib 0x000000019f157d94 start_wqthread + 8 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 25, 2021 Author Share Posted January 25, 2021 I rebooted my M1 MacBook and the crashing seemed to have abated. About 24 hours later though and a CA crash again. Maybe some kind of path fill/stroke? Thread 4 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x00000001a4b9c130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x00000001a4b9ea20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x00000001a4b9ea54 abort_with_payload + 16 3 com.apple.QuartzCore 0x00000001aaf81b68 CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x00000001aaf7fc8c CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x00000001aaf7d7e4 CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 11460 6 com.apple.QuartzCore 0x00000001ab0bc7a4 CA::OGL::MetalContext::draw_path_cubics(unsigned int, CA::OGL::PathCubic const*) + 72 7 com.apple.QuartzCore 0x00000001ab144cf0 CA::OGL::PathFiller::flush_cube() + 220 8 com.apple.QuartzCore 0x00000001ab1464b4 CA::OGL::PathFiller::finish() + 76 9 com.apple.QuartzCore 0x00000001ab146774 CA::OGL::PathFiller::render(CGPath const*, CGAffineTransform const*, double, double const*, unsigned long, double, CGLineCap, CGLineJoin, double, double, CGRect const*) + 176 10 com.apple.QuartzCore 0x00000001aafdc610 CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 2100 11 com.apple.QuartzCore 0x00000001ab057094 CA::CG::stroke_path(CA::CG::Renderer&, CGPath const*, CA::CG::BasicState const&, CA::CG::StrokeState const&, CA::Mat2<double> const&, bool, bool) + 292 12 com.apple.QuartzCore 0x00000001aaf77568 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 13 com.apple.QuartzCore 0x00000001aaf72e08 CA::CG::Queue::render_callback(void*) + 1208 14 libdispatch.dylib 0x00000001a4a00420 _dispatch_client_callout + 20 15 libdispatch.dylib 0x00000001a4a0787c _dispatch_lane_serial_drain + 836 16 libdispatch.dylib 0x00000001a4a082cc _dispatch_lane_invoke + 408 17 libdispatch.dylib 0x00000001a4a123fc _dispatch_workloop_worker_thread + 708 18 libsystem_pthread.dylib 0x00000001a4ba9060 _pthread_wqthread + 276 19 libsystem_pthread.dylib 0x00000001a4ba7d94 start_wqthread + 8 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 25, 2021 Author Share Posted January 25, 2021 Rebooted again. Crashed almost immediately trying to drag an image in. Cubic again. Thread 12 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000193be0130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000193be2a20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000193be2a54 abort_with_payload + 16 3 com.apple.QuartzCore 0x0000000199fc5b68 CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x0000000199fc3c8c CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x0000000199fc17e4 CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 11460 6 com.apple.QuartzCore 0x000000019a1007a4 CA::OGL::MetalContext::draw_path_cubics(unsigned int, CA::OGL::PathCubic const*) + 72 7 com.apple.QuartzCore 0x000000019a188cf0 CA::OGL::PathFiller::flush_cube() + 220 8 com.apple.QuartzCore 0x000000019a18a4b4 CA::OGL::PathFiller::finish() + 76 9 com.apple.QuartzCore 0x000000019a18a774 CA::OGL::PathFiller::render(CGPath const*, CGAffineTransform const*, double, double const*, unsigned long, double, CGLineCap, CGLineJoin, double, double, CGRect const*) + 176 10 com.apple.QuartzCore 0x000000019a020610 CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 2100 11 com.apple.QuartzCore 0x000000019a09b094 CA::CG::stroke_path(CA::CG::Renderer&, CGPath const*, CA::CG::BasicState const&, CA::CG::StrokeState const&, CA::Mat2<double> const&, bool, bool) + 292 12 com.apple.QuartzCore 0x0000000199fbb568 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 13 com.apple.QuartzCore 0x0000000199fb6e08 CA::CG::Queue::render_callback(void*) + 1208 14 libdispatch.dylib 0x0000000193a44420 _dispatch_client_callout + 20 15 libdispatch.dylib 0x0000000193a4b87c _dispatch_lane_serial_drain + 836 16 libdispatch.dylib 0x0000000193a4c2cc _dispatch_lane_invoke + 408 17 libdispatch.dylib 0x0000000193a563fc _dispatch_workloop_worker_thread + 708 18 libsystem_pthread.dylib 0x0000000193bed060 _pthread_wqthread + 276 19 libsystem_pthread.dylib 0x0000000193bebd94 start_wqthread + 8 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 27, 2021 Author Share Posted January 27, 2021 A new crash today. Main thread this time. Here is the relevant backtrace. Same M1 MacBook Pro running macOS Big Sur (11.1): Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 liblibpersona.dylib 0x000000011f5d0cc4 TextFlowHandleGenerator::MakeHandles(HandleTool const&) const + 1276 1 liblibpersona.dylib 0x000000011f5d0bfc TextFlowHandleGenerator::MakeHandles(HandleTool const&) const + 1076 2 liblibpersona.dylib 0x000000011f5d0600 TextFlowHandleGenerator::HandleAtPoint(HandleTool const&, HandleTool::HandlePicker&) + 76 3 liblibpersona.dylib 0x000000010dcc9a0c HandleTool::HandleGeneratorSet::HandleAtPoint(HandleTool const&, HandleTool::HandlePicker&) const + 180 4 liblibpersona.dylib 0x000000010dccd50c HandleTool::UpdateHoverHandle() + 144 5 liblibpersona.dylib 0x000000010dccfba4 HandleTool::ResetHoverHandle(Kernel::Counted<HandleTool::Handle> const&) + 336 6 liblibpersona.dylib 0x000000010dccf9e4 HandleTool::OnMouseUp(ToolPointSpread const&) + 480 7 liblibpersona.dylib 0x000000010c2f6080 Tool::MouseUp(ToolPointView const&, unsigned int) + 1008 8 liblibaffinity.dylib 0x000000010847bc14 Affinity::DocumentViewController::MouseUp(Kernel::Counted<Tool>, Kernel::PointT<float> const&, ToolPointView const&, unsigned int) + 396 9 com.seriflabs.libcocoaui 0x00000001066ead74 -[DocumentView mouseUp:] + 828 10 com.apple.AppKit 0x00000001966cf030 forwardMethod + 200 11 com.apple.AppKit 0x0000000196645f98 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2560 12 com.apple.AppKit 0x000000019664532c -[NSWindow(NSEventRouting) sendEvent:] + 352 13 com.seriflabs.libcocoaui 0x00000001065ca498 -[PersonaWindow sendEvent:] + 1212 14 com.apple.AppKit 0x00000001966440d4 -[NSApplication(NSEvent) sendEvent:] + 2512 15 com.seriflabs.libcocoaui 0x00000001065fa188 -[Application sendEvent:] + 800 16 com.apple.AppKit 0x00000001969139c0 -[NSApplication _handleEvent:] + 76 17 com.apple.AppKit 0x00000001964b2634 -[NSApplication run] + 640 18 com.apple.AppKit 0x0000000196483db0 NSApplicationMain + 1064 19 libdyld.dylib 0x0000000193c0cf34 start + 4 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 27, 2021 Author Share Posted January 27, 2021 Relaunched, continued editing, crash again. Now we're back to CoreAnimation crashing a background thread. The original CGPath crash I keep seeing. Thread 11 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000193be0130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000193be2a20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000193be2a54 abort_with_payload + 16 3 com.apple.QuartzCore 0x0000000199fc5b68 CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x0000000199fc3c8c CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x0000000199fc17e4 CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 11460 6 com.apple.QuartzCore 0x000000019a100730 CA::OGL::MetalContext::draw_path_rects(unsigned int, CA::OGL::PathRect const*) + 72 7 com.apple.QuartzCore 0x000000019a1895e0 CA::OGL::PathFiller::flush_rect() + 108 8 com.apple.QuartzCore 0x000000019a18a4ac CA::OGL::PathFiller::finish() + 68 9 com.apple.QuartzCore 0x000000019a18a774 CA::OGL::PathFiller::render(CGPath const*, CGAffineTransform const*, double, double const*, unsigned long, double, CGLineCap, CGLineJoin, double, double, CGRect const*) + 176 10 com.apple.QuartzCore 0x000000019a020610 CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 2100 11 com.apple.QuartzCore 0x000000019a09b094 CA::CG::stroke_path(CA::CG::Renderer&, CGPath const*, CA::CG::BasicState const&, CA::CG::StrokeState const&, CA::Mat2<double> const&, bool, bool) + 292 12 com.apple.QuartzCore 0x0000000199fbb568 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 13 com.apple.QuartzCore 0x0000000199fb6e08 CA::CG::Queue::render_callback(void*) + 1208 14 libdispatch.dylib 0x0000000193a44420 _dispatch_client_callout + 20 15 libdispatch.dylib 0x0000000193a4b87c _dispatch_lane_serial_drain + 836 16 libdispatch.dylib 0x0000000193a4c2cc _dispatch_lane_invoke + 408 17 libdispatch.dylib 0x0000000193a563fc _dispatch_workloop_worker_thread + 708 18 libsystem_pthread.dylib 0x0000000193bed060 _pthread_wqthread + 276 19 libsystem_pthread.dylib 0x0000000193bebd94 start_wqthread + 8 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 28, 2021 Author Share Posted January 28, 2021 And again, scrolling. CGPath crash again: Thread 5 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000182e48130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000182e4aa20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000182e4aa54 abort_with_payload + 16 3 com.apple.QuartzCore 0x000000018922db68 CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x000000018922bc8c CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x00000001892297e4 CA::OGL::MetalContext::draw(MTLPrimitiveType, unsigned int, unsigned int, void const*, unsigned long, unsigned int, unsigned int, unsigned short const*, CA::OGL::ClipPlane const*, CA::OGL::MetalBufferPool::MetalBuffer const*) + 11460 6 com.apple.QuartzCore 0x00000001893687a4 CA::OGL::MetalContext::draw_path_cubics(unsigned int, CA::OGL::PathCubic const*) + 72 7 com.apple.QuartzCore 0x00000001893f0cf0 CA::OGL::PathFiller::flush_cube() + 220 8 com.apple.QuartzCore 0x00000001893f24b4 CA::OGL::PathFiller::finish() + 76 9 com.apple.QuartzCore 0x00000001893f2774 CA::OGL::PathFiller::render(CGPath const*, CGAffineTransform const*, double, double const*, unsigned long, double, CGLineCap, CGLineJoin, double, double, CGRect const*) + 176 10 com.apple.QuartzCore 0x0000000189288610 CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 2100 11 com.apple.QuartzCore 0x0000000189303094 CA::CG::stroke_path(CA::CG::Renderer&, CGPath const*, CA::CG::BasicState const&, CA::CG::StrokeState const&, CA::Mat2<double> const&, bool, bool) + 292 12 com.apple.QuartzCore 0x0000000189223568 CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 13 com.apple.QuartzCore 0x000000018921ee08 CA::CG::Queue::render_callback(void*) + 1208 14 libdispatch.dylib 0x0000000182cac420 _dispatch_client_callout + 20 15 libdispatch.dylib 0x0000000182cb387c _dispatch_lane_serial_drain + 836 16 libdispatch.dylib 0x0000000182cb42cc _dispatch_lane_invoke + 408 17 libdispatch.dylib 0x0000000182cbe3fc _dispatch_workloop_worker_thread + 708 18 libsystem_pthread.dylib 0x0000000182e55060 _pthread_wqthread + 276 19 libsystem_pthread.dylib 0x0000000182e53d94 start_wqthread + 8 Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted January 28, 2021 Author Share Posted January 28, 2021 I wonder, if you're creating the dispatch queue to render, if you could bump up the priority of the queue to give Metal more time to render. Quote Link to comment Share on other sites More sharing options...
Staff Jon P Posted February 2, 2021 Staff Share Posted February 2, 2021 Hi @JKCalhoun, I've been scrolling around in a few documents on an M1 MacBook and not had any crashes so far. If you try the latest beta here do you get the same behavior? Do you find this is specific to that certain document? If so, and it crashes on beta, is it possible to upload it here? Thanks Quote Serif Europe Ltd. - www.serif.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.