JKCalhoun Posted April 25, 2021 Share Posted April 25, 2021 Sadly I have not had a stable version of Publisher on my M1 MacBook Pro. I have to go back to an older MacBook to get any work done. Persistently crashing in Metal/CA. It appears to be related to the ellipse image crop element. I was able to actually go almost an entire afternoon without a crash when I installed 1.9.3. But then as I added ellipse image crop element and started resizing it, dragging it, etc., the crashes began and have not let up. Publisher Crash #4.txt Publisher Crash #5.txt Publisher Crash #6.txt Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted April 25, 2021 Author Share Posted April 25, 2021 All crashes in a background thread. Three different "reasons" although all in CA: Termination Reason: COREANIMATION, [0x2] function=path_rect_frag_lph spec=TprcA3Xhf | (null) Termination Reason: COREANIMATION, [0x2] function=buffer_image_blit_frag_lph spec=TbibA3Xhf | (null) Termination Reason: COREANIMATION, [0x2] function=path_cubic_frag_lph spec=TpcbA3Xhf | (null) Thread 8 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000184e71130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000184e73a20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000184e73a54 abort_with_payload + 16 3 com.apple.QuartzCore 0x000000018b25a88c CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x000000018b2589b0 CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x000000018b256508 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 0x000000018b39550c CA::OGL::MetalContext::draw_path_rects(unsigned int, CA::OGL::PathRect const*) + 72 7 com.apple.QuartzCore 0x000000018b41e434 CA::OGL::PathFiller::flush_rect() + 108 8 com.apple.QuartzCore 0x000000018b41f300 CA::OGL::PathFiller::finish() + 68 9 com.apple.QuartzCore 0x000000018b41f90c CA::OGL::PathFiller::render(CGPath const*) + 144 10 com.apple.QuartzCore 0x000000018b2b52cc CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 1996 11 com.apple.QuartzCore 0x000000018b25028c CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 12 com.apple.QuartzCore 0x000000018b24bb2c CA::CG::Queue::render_callback(void*) + 1208 13 libdispatch.dylib 0x0000000184cd5420 _dispatch_client_callout + 20 14 libdispatch.dylib 0x0000000184cdc87c _dispatch_lane_serial_drain + 836 15 libdispatch.dylib 0x0000000184cdd2cc _dispatch_lane_invoke + 408 16 libdispatch.dylib 0x0000000184ce73fc _dispatch_workloop_worker_thread + 708 17 libsystem_pthread.dylib 0x0000000184e7e060 _pthread_wqthread + 276 18 libsystem_pthread.dylib 0x0000000184e7cd94 start_wqthread + 8 Thread 11 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000184e71130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000184e73a20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000184e73a54 abort_with_payload + 16 3 com.apple.QuartzCore 0x000000018b25a88c CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x000000018b2589b0 CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x000000018b256508 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 0x000000018b395338 CA::OGL::MetalContext::draw_buffer_image_rects(unsigned long, CA::OGL::Buffer const*, CA::OGL::Buffer const*) + 72 7 com.apple.QuartzCore 0x000000018b2f7fec CA::OGL::GlyphCache::flush(unsigned long, CGGlyphBitmap const* const*, CGGlyphPosition const*) + 616 8 com.apple.QuartzCore 0x000000018b2f8548 CA::OGL::GlyphCache::emit_glyphs(unsigned long, CGGlyphBitmap const* const*, CGGlyphPosition const*) + 508 9 com.apple.QuartzCore 0x000000018b428e70 CA::CG::draw_glyph_bitmaps(CA::CG::Renderer&, CA::CG::FillGlyphs const&, CA::CG::ShadowStyle const*) + 904 10 com.apple.QuartzCore 0x000000018b26c2f8 CA::CG::FillGlyphs::draw_shape_and_color(CA::CG::Renderer&) const + 40 11 com.apple.QuartzCore 0x000000018b25028c CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 12 com.apple.QuartzCore 0x000000018b24bb2c CA::CG::Queue::render_callback(void*) + 1208 13 libdispatch.dylib 0x0000000184cd5420 _dispatch_client_callout + 20 14 libdispatch.dylib 0x0000000184cdc87c _dispatch_lane_serial_drain + 836 15 libdispatch.dylib 0x0000000184cdd2cc _dispatch_lane_invoke + 408 16 libdispatch.dylib 0x0000000184ce73fc _dispatch_workloop_worker_thread + 708 17 libsystem_pthread.dylib 0x0000000184e7e060 _pthread_wqthread + 276 18 libsystem_pthread.dylib 0x0000000184e7cd94 start_wqthread + 8 Thread 4 Crashed:: Dispatch queue: CA::CG::Queue 0 libsystem_kernel.dylib 0x0000000184e71130 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x0000000184e73a20 abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib 0x0000000184e73a54 abort_with_payload + 16 3 com.apple.QuartzCore 0x000000018b25a88c CA::OGL::MetalContext::create_fragment_shader(CA::OGL::MetalContext::FragmentShader::Spec const&) + 3396 4 com.apple.QuartzCore 0x000000018b2589b0 CA::OGL::MetalContext::create_pipeline_state(CA::OGL::MetalContext::Pipeline::Spec const&, unsigned int*, std::__1::atomic<bool>*) + 556 5 com.apple.QuartzCore 0x000000018b256508 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 0x000000018b395580 CA::OGL::MetalContext::draw_path_cubics(unsigned int, CA::OGL::PathCubic const*) + 72 7 com.apple.QuartzCore 0x000000018b41db44 CA::OGL::PathFiller::flush_cube() + 220 8 com.apple.QuartzCore 0x000000018b41f308 CA::OGL::PathFiller::finish() + 76 9 com.apple.QuartzCore 0x000000018b41f90c CA::OGL::PathFiller::render(CGPath const*) + 144 10 com.apple.QuartzCore 0x000000018b2b52cc CA::CG::fill_path(CA::CG::Renderer&, CGPath const*, CA::CG::StrokeParameters const*, CA::Rect const*, CA::ScanConverter::FillRule, CA::Mat2<double> const&, bool) + 1996 11 com.apple.QuartzCore 0x000000018b25028c CA::CG::DrawOp::render(CA::CG::Renderer&) const + 1380 12 com.apple.QuartzCore 0x000000018b24bb2c CA::CG::Queue::render_callback(void*) + 1208 13 libdispatch.dylib 0x0000000184cd5420 _dispatch_client_callout + 20 14 libdispatch.dylib 0x0000000184cdc87c _dispatch_lane_serial_drain + 836 15 libdispatch.dylib 0x0000000184cdd2cc _dispatch_lane_invoke + 408 16 libdispatch.dylib 0x0000000184ce73fc _dispatch_workloop_worker_thread + 708 17 libsystem_pthread.dylib 0x0000000184e7e060 _pthread_wqthread + 276 18 libsystem_pthread.dylib 0x0000000184e7cd94 start_wqthread + 8 The backtraces of the crashed are the same from frames 0..5 But frame #6 is different in all three crashes: Crash #4 CA::OGL::MetalContext::draw_path_rects(unsigned int, CA::OGL::PathRect const*) + 72 Crash #5 CA::OGL::MetalContext::draw_buffer_image_rects(unsigned long, CA::OGL::Buffer const*, CA::OGL::Buffer const*) + 72 Crash #6 CA::OGL::MetalContext::draw_path_cubics(unsigned int, CA::OGL::PathCubic const*) + 72 Quote Link to comment Share on other sites More sharing options...
SPaceBar Posted April 26, 2021 Share Posted April 26, 2021 Hi @JKCalhoun Sorry to hear you have been experiencing crashes. Could you upload a video of the steps you need to take to get the crash to happen please? I will then give it a go on my M1 MacBook Pro. Quote Link to comment Share on other sites More sharing options...
JKCalhoun Posted May 3, 2021 Author Share Posted May 3, 2021 I'll try to do that. SPaceBar 1 Quote 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.