Some layer style options seem to generate a crash upon trying to open the layer style dialog to edit them. For the layer styles I only used krita default resources. From my testing this is at least triggered by "gradient overlay" style. but other may fall into this category. STEPS TO REPRODUCE 1. Create image and add a gradient overlay 2. Save image and close it 3. Reopen image and reopen layer style dialog. OBSERVED RESULT Crash I attach backtrace. Process 59704 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00000001023ef8f4 libkritaui.17.dylib`psd_layer_effects_shadow_base::setGradient(this=0x00000002a6050900, value=KoAbstractGradientSP @ 0x000000016fdf5fd0) at psd.h:427:38 424 425 void setGradient(KoAbstractGradientSP value) 426 { -> 427 m_gradientLink.type = value->resourceType().first; 428 m_gradientLink.md5 = value->md5Sum(); 429 m_gradientLink.filename = value->filename(); 430 m_gradientLink.name = value->name(); Target 0: (krita) stopped. (lldb) bt all * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x00000001023ef8f4 libkritaui.17.dylib`psd_layer_effects_shadow_base::setGradient(this=0x00000002a6050900, value=KoAbstractGradientSP @ 0x000000016fdf5fd0) at psd.h:427:38 frame #1: 0x00000001023e1810 libkritaui.17.dylib`GradientOverlay::fetchGradientOverlay(this=0x000000029c49b1a0, config=0x00000002a6050900) const at kis_dlg_layer_style.cpp:1136:13 frame #2: 0x00000001023dd9b4 libkritaui.17.dylib`KisDlgLayerStyle::style(this=0x000000016fdf87a0) const at kis_dlg_layer_style.cpp:470:24 frame #3: 0x00000001024d7788 libkritaui.17.dylib`updateLayerStyles(layer=<unavailable>, dlg=0x000000016fdf87a0) at kis_layer_manager.cc:906:59 frame #4: 0x00000001024dc9ac libkritaui.17.dylib`decltype(__f=(0x00006000007cd668), __args=0x00006000007cd670, __args=0x00006000007cd678)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*)>(fp)(std::__1::forward<KisSharedPtr<KisLayer>&>(fp0), std::__1::forward<KisDlgLayerStyle*&>(fp0))) std::__1::__invoke<void (*&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*&>(void (*&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*&) at type_traits:3694:1 frame #5: 0x00000001024dc944 libkritaui.17.dylib`std::__1::__bind_return<void (*)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>, std::__1::tuple<>, __is_valid_bind_return<void (*)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=(0x00006000007cd668), __bound_args=size=2, (null)=__tuple_indices<0, 1> @ 0x000000016fdf626f, __args=size=0)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>, 0ul, 1ul, std::__1::tuple<> >(void (*&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2857:12 frame #6: 0x00000001024dc8e4 libkritaui.17.dylib`std::__1::__bind_return<void (*)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>, std::__1::tuple<>, __is_valid_bind_return<void (*)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), std::__1::tuple<KisSharedPtr<KisLayer>, KisDlgLayerStyle*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00006000007cd668)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>::operator()<>() at functional:2890:20 frame #7: 0x00000001024dc8a0 libkritaui.17.dylib`decltype(__f=0x00006000007cd668)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>&>(fp)()) std::__1::__invoke<std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>&>(std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>&) at type_traits:3694:1 frame #8: 0x00000001024dc854 libkritaui.17.dylib`void std::__1::__invoke_void_return_wrapper<void, true>::__call<std::__1::__bind<void (__args=0x00006000007cd668)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>&>(std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>&) at __functional_base:348:9 frame #9: 0x00000001024dc82c libkritaui.17.dylib`std::__1::__function::__alloc_func<std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>, std::__1::allocator<std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*> >, void ()>::operator(this=0x00006000007cd668)() at functional:1558:16 frame #10: 0x00000001024db120 libkritaui.17.dylib`std::__1::__function::__func<std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*>, std::__1::allocator<std::__1::__bind<void (&)(KisSharedPtr<KisLayer>, KisDlgLayerStyle*), KisSharedPtr<KisLayer>&, KisDlgLayerStyle*> >, void ()>::operator(this=0x00006000007cd660)() at functional:1732:12 frame #11: 0x00000001067d5f7c libkritaglobal.17.dylib`std::__1::__function::__value_func<void ()>::operator(this=0x000000016fdf89f8)() const at functional:1885:16 frame #12: 0x00000001067d5f38 libkritaglobal.17.dylib`std::__1::function<void ()>::operator(this= Function = updateLayerStyles(KisSharedPtr<KisLayer>, KisDlgLayerStyle*) )() const at functional:2560:12 frame #13: 0x00000001067d5410 libkritaglobal.17.dylib`SignalToFunctionProxy::start(this=0x000000016fdf89e8) at kis_signal_compressor_with_param.h:45:9 frame #14: 0x00000001067d53e4 libkritaglobal.17.dylib`SignalToFunctionProxy::qt_static_metacall(_o=0x000000016fdf89e8, _c=InvokeMetaMethod, _id=0, _a=0x000000016fdf6448) at moc_kis_signal_compressor_with_param.cpp:71:21 frame #15: 0x0000000108e783b0 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2352 frame #16: 0x00000001022b336c libkritaui.17.dylib`KisDlgLayerStyle::configChanged(this=0x000000016fdf87a0) at moc_kis_dlg_layer_style.cpp:1486:5 frame #17: 0x00000001022b3138 libkritaui.17.dylib`KisDlgLayerStyle::qt_static_metacall(_o=0x000000016fdf87a0, _c=InvokeMetaMethod, _id=0, _a=0x000000016fdf6618) at moc_kis_dlg_layer_style.cpp:1416:21 frame #18: 0x0000000108e783b0 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2352 frame #19: 0x00000001067d51f4 libkritaglobal.17.dylib`KisSignalCompressor::timeout(this=0x000060000a61c1e0) at moc_kis_signal_compressor.cpp:151:5 frame #20: 0x00000001068d2e70 libkritaglobal.17.dylib`KisSignalCompressor::tryEmitSignalSafely(this=0x000060000a61c1e0) at kis_signal_compressor.cpp:195:14 frame #21: 0x00000001068d2fb8 libkritaglobal.17.dylib`KisSignalCompressor::tryEmitOnTick(this=0x000060000a61c1e0, isFromTimer=true) at kis_signal_compressor.cpp:172:14 frame #22: 0x00000001068d30c4 libkritaglobal.17.dylib`KisSignalCompressor::slotTimerExpired(this=0x000060000a61c1e0) at kis_signal_compressor.cpp:207:10 frame #23: 0x00000001067d5138 libkritaglobal.17.dylib`KisSignalCompressor::qt_static_metacall(_o=0x000060000a61c1e0, _c=InvokeMetaMethod, _id=4, _a=0x000000016fdf68b8) at moc_kis_signal_compressor.cpp:93:21 frame #24: 0x0000000108e783b0 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2352 frame #25: 0x0000000108e7fe40 QtCore`QTimer::timerEvent(QTimerEvent*) + 120 frame #26: 0x0000000108e71294 QtCore`QObject::event(QEvent*) + 80 frame #27: 0x000000010710e3cc QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292 frame #28: 0x000000010710f760 QtWidgets`QApplication::notify(QObject*, QEvent*) + 556 frame #29: 0x000000010293b064 libkritaui.17.dylib`KisApplication::notify(this=0x000000016fdfed90, receiver=0x0000600000784280, event=0x000000016fdf6d20) at KisApplication.cpp:698:30 frame #30: 0x0000000108e49e18 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204 frame #31: 0x0000000108e9f6c0 QtCore`QTimerInfoList::activateTimers() + 932 frame #32: 0x00000001094ccb08 libqcocoa.dylib`___lldb_unnamed_symbol668$$libqcocoa.dylib + 24 frame #33: 0x00000001b9850bbc CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 frame #34: 0x00000001b9850b08 CoreFoundation`__CFRunLoopDoSource0 + 208 frame #35: 0x00000001b98507f4 CoreFoundation`__CFRunLoopDoSources0 + 268 frame #36: 0x00000001b984f168 CoreFoundation`__CFRunLoopRun + 820 frame #37: 0x00000001b984e694 CoreFoundation`CFRunLoopRunSpecific + 600 frame #38: 0x00000001c23c4990 HIToolbox`RunCurrentEventLoopInMode + 292 frame #39: 0x00000001c23c4704 HIToolbox`ReceiveNextEventCommon + 552 frame #40: 0x00000001c23c44c4 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72 frame #41: 0x00000001bc3a3aec AppKit`_DPSNextEvent + 844 frame #42: 0x00000001bc3a2390 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332 frame #43: 0x00000001094cd040 libqcocoa.dylib`___lldb_unnamed_symbol679$$libqcocoa.dylib + 520 frame #44: 0x0000000108e455f0 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528 frame #45: 0x00000001072e398c QtWidgets`QDialog::exec() + 476 frame #46: 0x00000001024d7cdc libkritaui.17.dylib`KisLayerManager::layerStyle(this=0x00000001081b72a0) at kis_layer_manager.cc:937:13 frame #47: 0x00000001022c3004 libkritaui.17.dylib`KisLayerManager::qt_static_metacall(_o=0x00000001081b72a0, _c=InvokeMetaMethod, _id=21, _a=0x000000016fdf8d58) at moc_kis_layer_manager.cpp:196:22 frame #48: 0x0000000108e783b0 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2352 frame #49: 0x0000000107104e5c QtWidgets`QAction::activate(QAction::ActionEvent) + 304 frame #50: 0x0000000107268908 QtWidgets`___lldb_unnamed_symbol2260$$QtWidgets + 96 frame #51: 0x00000001072660b4 QtWidgets`___lldb_unnamed_symbol2235$$QtWidgets + 504 frame #52: 0x000000010726cf24 QtWidgets`QMenu::mouseReleaseEvent(QMouseEvent*) + 644 frame #53: 0x0000000107143ee4 QtWidgets`QWidget::event(QEvent*) + 128 frame #54: 0x000000010726d4f4 QtWidgets`QMenu::event(QEvent*) + 1016 frame #55: 0x000000010710e3cc QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292 frame #56: 0x0000000107110cfc QtWidgets`QApplication::notify(QObject*, QEvent*) + 6088 frame #57: 0x000000010293b064 libkritaui.17.dylib`KisApplication::notify(this=0x000000016fdfed90, receiver=0x000000016fdfb808, event=0x000000016fdf9508) at KisApplication.cpp:698:30 frame #58: 0x0000000108e49e18 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204 frame #59: 0x000000010710ed44 QtWidgets`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 988 frame #60: 0x00000001071624a4 QtWidgets`___lldb_unnamed_symbol522$$QtWidgets + 2076 frame #61: 0x000000010716137c QtWidgets`___lldb_unnamed_symbol517$$QtWidgets + 236 frame #62: 0x000000010710e3cc QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292 frame #63: 0x000000010710f760 QtWidgets`QApplication::notify(QObject*, QEvent*) + 556 frame #64: 0x000000010293b064 libkritaui.17.dylib`KisApplication::notify(this=0x000000016fdfed90, receiver=0x00006000028c84e0, event=0x000000016fdf9a60) at KisApplication.cpp:698:30 frame #65: 0x0000000108e49e18 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204 frame #66: 0x000000010825cd78 QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2900 frame #67: 0x0000000108244df8 QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 248 frame #68: 0x00000001094ce704 libqcocoa.dylib`___lldb_unnamed_symbol698$$libqcocoa.dylib + 48 frame #69: 0x00000001b9850bbc CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 frame #70: 0x00000001b9850b08 CoreFoundation`__CFRunLoopDoSource0 + 208 frame #71: 0x00000001b98507f4 CoreFoundation`__CFRunLoopDoSources0 + 268 frame #72: 0x00000001b984f168 CoreFoundation`__CFRunLoopRun + 820 frame #73: 0x00000001b984e694 CoreFoundation`CFRunLoopRunSpecific + 600 frame #74: 0x00000001c23c4990 HIToolbox`RunCurrentEventLoopInMode + 292 frame #75: 0x00000001c23c461c HIToolbox`ReceiveNextEventCommon + 320 frame #76: 0x00000001c23c44c4 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72 frame #77: 0x00000001bc3a3aec AppKit`_DPSNextEvent + 844 frame #78: 0x00000001bc3a2390 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332 frame #79: 0x00000001bc3943b0 AppKit`-[NSApplication run] + 596 frame #80: 0x00000001094cd468 libqcocoa.dylib`___lldb_unnamed_symbol679$$libqcocoa.dylib + 1584 frame #81: 0x0000000108e455f0 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528 frame #82: 0x000000010726b934 QtWidgets`QMenu::exec(QPoint const&, QAction*) + 116 frame #83: 0x000000013aaca784 kritalayerdocker.so`LayerBox::slotContextMenuRequested(this=0x000000013ec63fc0, pos=0x000000016fdfc850, index=0x000000016fdfbad0) at LayerBox.cpp:770:14 frame #84: 0x000000013aace1e4 kritalayerdocker.so`LayerBox::qt_static_metacall(_o=0x000000013ec63fc0, _c=InvokeMetaMethod, _id=2, _a=0x000000016fdfba50) at moc_LayerBox.cpp:237:21 frame #85: 0x0000000108e783b0 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2352 frame #86: 0x000000013aabc700 kritalayerdocker.so`NodeView::contextMenuRequested(this=0x0000600001b4a880, _t1=0x000000016fdfc850, _t2=0x000000016fdfbad0) at moc_NodeView.cpp:224:5 frame #87: 0x000000013aaefa48 kritalayerdocker.so`NodeView::showContextMenu(this=0x0000600001b4a880, globalPos=0x000000016fdfc850, index=0x000000016fdfbad0) at NodeView.cpp:334:10 frame #88: 0x000000013aaef9e4 kritalayerdocker.so`NodeView::contextMenuEvent(this=0x0000600001b4a880, e=0x000000016fdfc828) at NodeView.cpp:329:5 frame #89: 0x0000000107143ee4 QtWidgets`QWidget::event(QEvent*) + 128 frame #90: 0x00000001071d8f30 QtWidgets`QFrame::event(QEvent*) + 56 frame #91: 0x000000010734bafc QtWidgets`QAbstractItemView::viewportEvent(QEvent*) + 1124 frame #92: 0x00000001073b5dc8 QtWidgets`QTreeView::viewportEvent(QEvent*) + 464 frame #93: 0x000000013aaef720 kritalayerdocker.so`NodeView::viewportEvent(this=0x0000600001b4a880, e=0x000000016fdfc828) at NodeView.cpp:320:23 frame #94: 0x0000000108e4a11c QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 252 frame #95: 0x000000010710e3ac QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 260 frame #96: 0x000000010711065c QtWidgets`QApplication::notify(QObject*, QEvent*) + 4392 frame #97: 0x000000010293b064 libkritaui.17.dylib`KisApplication::notify(this=0x000000016fdfed90, receiver=0x0000600000f1da40, event=0x000000016fdfc828) at KisApplication.cpp:698:30 frame #98: 0x0000000108e49e18 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204 frame #99: 0x0000000107162920 QtWidgets`___lldb_unnamed_symbol522$$QtWidgets + 3224 frame #100: 0x000000010716137c QtWidgets`___lldb_unnamed_symbol517$$QtWidgets + 236 frame #101: 0x000000010710e3cc QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292 frame #102: 0x000000010710f760 QtWidgets`QApplication::notify(QObject*, QEvent*) + 556 frame #103: 0x000000010293b064 libkritaui.17.dylib`KisApplication::notify(this=0x000000016fdfed90, receiver=0x0000600002677b40, event=0x000000016fdfcd80) at KisApplication.cpp:698:30 frame #104: 0x0000000108e49e18 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204 frame #105: 0x000000010825cd78 QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2900 frame #106: 0x0000000108244df8 QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 248 frame #107: 0x00000001094ce704 libqcocoa.dylib`___lldb_unnamed_symbol698$$libqcocoa.dylib + 48 frame #108: 0x00000001b9850bbc CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 frame #109: 0x00000001b9850b08 CoreFoundation`__CFRunLoopDoSource0 + 208 frame #110: 0x00000001b98507f4 CoreFoundation`__CFRunLoopDoSources0 + 268 frame #111: 0x00000001b984f168 CoreFoundation`__CFRunLoopRun + 820 frame #112: 0x00000001b984e694 CoreFoundation`CFRunLoopRunSpecific + 600 frame #113: 0x00000001c23c4990 HIToolbox`RunCurrentEventLoopInMode + 292 frame #114: 0x00000001c23c461c HIToolbox`ReceiveNextEventCommon + 320 frame #115: 0x00000001c23c44c4 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72 frame #116: 0x00000001bc3a3aec AppKit`_DPSNextEvent + 844 frame #117: 0x00000001bc3a2390 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332 frame #118: 0x00000001bc3943b0 AppKit`-[NSApplication run] + 596 frame #119: 0x00000001094cd468 libqcocoa.dylib`___lldb_unnamed_symbol679$$libqcocoa.dylib + 1584 frame #120: 0x0000000108e455f0 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528 frame #121: 0x0000000108e4a4f4 QtCore`QCoreApplication::exec() + 128 frame #122: 0x0000000100013994 krita`main(argc=1, argv=0x000000016fdff488) at main.cc:678:17 frame #123: 0x00000001006e10f4 dyld`start + 520 thread #2 frame #0: 0x00000001b97802bc libsystem_pthread.dylib`start_wqthread thread #4 frame #0: 0x00000001b97802bc libsystem_pthread.dylib`start_wqthread thread #6 frame #0: 0x00000001b97802bc libsystem_pthread.dylib`start_wqthread thread #7, name = 'OGL Profiler' frame #0: 0x00000001b9749954 libsystem_kernel.dylib`mach_msg_trap + 8 frame #1: 0x00000001b9749d00 libsystem_kernel.dylib`mach_msg + 76 frame #2: 0x000000021a76ab0c OpenGL`glcDebugListener + 336 frame #3: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #8, name = 'com.apple.CFSocket.private' frame #0: 0x00000001b9753d38 libsystem_kernel.dylib`__select + 8 frame #1: 0x00000001b987b294 CoreFoundation`__CFSocketManager + 648 frame #2: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #9, name = 'com.apple.NSEventThread' frame #0: 0x00000001b9749954 libsystem_kernel.dylib`mach_msg_trap + 8 frame #1: 0x00000001b9749d00 libsystem_kernel.dylib`mach_msg + 76 frame #2: 0x00000001b9850e38 CoreFoundation`__CFRunLoopServiceMachPort + 372 frame #3: 0x00000001b984f2f0 CoreFoundation`__CFRunLoopRun + 1212 frame #4: 0x00000001b984e694 CoreFoundation`CFRunLoopRunSpecific + 600 frame #5: 0x00000001bc510c24 AppKit`_NSEventThread + 196 frame #6: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #10, name = 'Qt bearer thread' frame #0: 0x00000001b9751ad0 libsystem_kernel.dylib`poll + 8 frame #1: 0x0000000108e9c520 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) + 436 frame #2: 0x0000000108e9dc10 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 832 frame #3: 0x0000000108e455f0 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528 frame #4: 0x0000000108ca42cc QtCore`QThread::exec() + 136 frame #5: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #6: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #11, name = 'KisTileDataSwapper' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cad8ec QtCore`___lldb_unnamed_symbol328$$QtCore + 48 frame #3: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #4: 0x0000000108ca9c24 QtCore`QSemaphore::tryAcquire(int, int) + 124 frame #5: 0x0000000103d1ab58 libkritaimage.17.dylib`KisTileDataSwapper::waitForWork(this=0x0000600003b37760) at kis_tile_data_swapper.cpp:74:20 frame #6: 0x0000000103d1ab84 libkritaimage.17.dylib`KisTileDataSwapper::run(this=0x0000600003b37760) at kis_tile_data_swapper.cpp:80:9 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #12 frame #0: 0x00000001b97802bc libsystem_pthread.dylib`start_wqthread thread #14 frame #0: 0x00000001b97802bc libsystem_pthread.dylib`start_wqthread thread #15 frame #0: 0x00000001b974b604 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #16 frame #0: 0x0000000000000000 thread #18, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #19, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #20, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #21, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #22, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #23, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #24, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148 thread #25, name = 'Thread (pooled)' frame #0: 0x00000001b974d0c0 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b9785ab4 libsystem_pthread.dylib`_pthread_cond_wait + 1228 frame #2: 0x0000000108cadc24 QtCore`___lldb_unnamed_symbol329$$QtCore + 300 frame #3: 0x0000000108cad914 QtCore`___lldb_unnamed_symbol328$$QtCore + 88 frame #4: 0x0000000108cad884 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 116 frame #5: 0x0000000108cad7e0 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 64 frame #6: 0x0000000108caa004 QtCore`___lldb_unnamed_symbol305$$QtCore + 624 frame #7: 0x0000000108ca51d8 QtCore`___lldb_unnamed_symbol263$$QtCore + 328 frame #8: 0x00000001b97854ec libsystem_pthread.dylib`_pthread_start + 148
Could you please attach a file that causes the crash?
Created attachment 143262 [details] Crashy file This one crashes I noticed it only crashes with gradients from the default set, not any custom gradient.
The crash can no longer be reproduced in krita5 (ee19ed32f1a4174d8f234ddb6d2b0a486c9fc780) and master