[krita] [Bug 448092] Clicking G'mic reset button crashes Krita 5.0.2 on macOS 12.1

vanyossi bugzilla_noreply at kde.org
Sun Jan 9 00:37:38 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=448092

vanyossi <ghevan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |CONFIRMED
         Resolution|WAITINGFORINFO              |---

--- Comment #10 from vanyossi <ghevan at gmail.com> ---
I can confirm GMI'C crashing on mac M1, I was changing parameters on the black
and white filters. The crash seem to happen inside GMI'C functions and its
probably arch related

thread #28, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000175d69bb8 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 256
krita_gmic_qt.so`gmic::_run<float>:
->  0x175d69bb8 <+256>: ldr    x9, [x8]
    0x175d69bbc <+260>: ldr    x10, [sp, #0x328]
    0x175d69bc0 <+264>: cmp    x9, x10
    0x175d69bc4 <+268>: b.ne   0x175d69bd8               ; <+288>
Target 0: (krita) stopped.
(lldb)
error: No auto repeat.
(lldb)
error: No auto repeat.
(lldb) bt all
  thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x0000000193ca1954 libsystem_kernel.dylib`mach_msg_trap + 8
    frame #1: 0x0000000193ca1d00 libsystem_kernel.dylib`mach_msg + 76
    frame #2: 0x0000000193da8e38 CoreFoundation`__CFRunLoopServiceMachPort +
372
    frame #3: 0x0000000193da72f0 CoreFoundation`__CFRunLoopRun + 1212
    frame #4: 0x0000000193da6694 CoreFoundation`CFRunLoopRunSpecific + 600
    frame #5: 0x000000019c91c990 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #6: 0x000000019c91c704 HIToolbox`ReceiveNextEventCommon + 552
    frame #7: 0x000000019c91c4c4
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
    frame #8: 0x00000001968fbaec AppKit`_DPSNextEvent + 844
    frame #9: 0x00000001968fa390 AppKit`-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
    frame #10: 0x0000000105ccbee8
libqcocoa.dylib`___lldb_unnamed_symbol679$$libqcocoa.dylib + 1760
    frame #11: 0x00000001052575a8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528
    frame #12: 0x00000001762ca9b0
krita_gmic_qt.so`KritaGmicPlugin::launch(std::__1::shared_ptr<KisImageInterface>,
bool) + 1672
    frame #13: 0x0000000136056a60
kritaqmic.so`QMic::slotQMic(this=<unavailable>, again=false) at QMic.cpp:88:26
[opt]
    frame #14: 0x000000010528a218 QtCore`QMetaObject::activate(QObject*, int,
int, void**) + 2424
    frame #15: 0x00000001038e8744
QtWidgets`QAction::activate(QAction::ActionEvent) + 304
    frame #16: 0x0000000105283060 QtCore`QObject::event(QEvent*) + 440
    frame #17: 0x00000001038f1ca4
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292
    frame #18: 0x00000001038f303c QtWidgets`QApplication::notify(QObject*,
QEvent*) + 548
    frame #19: 0x0000000101966bec
libkritaui.18.0.0.dylib`KisApplication::notify(this=0x000000016fdff3a8,
receiver=0x00006000005afc40, event=0x0000600002624060) at
KisApplication.cpp:757:40 [opt]
    frame #20: 0x000000010525bc14
QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204
    frame #21: 0x000000010525ce14
QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) +
796
    frame #22: 0x0000000105ccca4c
libqcocoa.dylib`___lldb_unnamed_symbol686$$libqcocoa.dylib + 312
    frame #23: 0x0000000105ccd110
libqcocoa.dylib`___lldb_unnamed_symbol698$$libqcocoa.dylib + 48
    frame #24: 0x0000000193da8bbc
CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
    frame #25: 0x0000000193da8b08 CoreFoundation`__CFRunLoopDoSource0 + 208
    frame #26: 0x0000000193da87f4 CoreFoundation`__CFRunLoopDoSources0 + 268
    frame #27: 0x0000000193da7168 CoreFoundation`__CFRunLoopRun + 820
    frame #28: 0x0000000193da6694 CoreFoundation`CFRunLoopRunSpecific + 600
    frame #29: 0x000000019c91c990 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #30: 0x000000019c91c61c HIToolbox`ReceiveNextEventCommon + 320
    frame #31: 0x000000019c91c4c4
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
    frame #32: 0x00000001968fbaec AppKit`_DPSNextEvent + 844
    frame #33: 0x00000001968fa390 AppKit`-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
    frame #34: 0x00000001968ec3b0 AppKit`-[NSApplication run] + 596
    frame #35: 0x0000000105ccbf64
libqcocoa.dylib`___lldb_unnamed_symbol679$$libqcocoa.dylib + 1884
    frame #36: 0x00000001052575a8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528
    frame #37: 0x000000010525c2ec QtCore`QCoreApplication::exec() + 128
    frame #38: 0x0000000100013a28 krita`main(argc=<unavailable>,
argv=0x000000016fdff678) at main.cc:698:17 [opt]
    frame #39: 0x00000001006d10f4 dyld`start + 520
  thread #6, name = 'OGL Profiler'
    frame #0: 0x0000000193ca1954 libsystem_kernel.dylib`mach_msg_trap + 8
    frame #1: 0x0000000193ca1d00 libsystem_kernel.dylib`mach_msg + 76
    frame #2: 0x00000001f4cc2b0c OpenGL`glcDebugListener + 336
    frame #3: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #7, name = 'com.apple.CFSocket.private'
    frame #0: 0x0000000193cabd38 libsystem_kernel.dylib`__select + 8
    frame #1: 0x0000000193dd3294 CoreFoundation`__CFSocketManager + 648
    frame #2: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #8, name = 'com.apple.NSEventThread'
    frame #0: 0x0000000193ca1954 libsystem_kernel.dylib`mach_msg_trap + 8
    frame #1: 0x0000000193ca1d00 libsystem_kernel.dylib`mach_msg + 76
    frame #2: 0x0000000193da8e38 CoreFoundation`__CFRunLoopServiceMachPort +
372
    frame #3: 0x0000000193da72f0 CoreFoundation`__CFRunLoopRun + 1212
    frame #4: 0x0000000193da6694 CoreFoundation`CFRunLoopRunSpecific + 600
    frame #5: 0x0000000196a68c24 AppKit`_NSEventThread + 196
    frame #6: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #9
    frame #0: 0x0000000193ca3604 libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #10, name = 'Qt bearer thread'
    frame #0: 0x0000000193ca9ad0 libsystem_kernel.dylib`poll + 8
    frame #1: 0x00000001052ae284 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) + 436
    frame #2: 0x00000001052af9a4
QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 844
    frame #3: 0x00000001052575a8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 528
    frame #4: 0x00000001050b4858 QtCore`QThread::exec() + 136
    frame #5: 0x00000001050b5738 QtCore`___lldb_unnamed_symbol263$$QtCore + 328
    frame #6: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #11, name = 'KisTileDataSwapper'
    frame #0: 0x0000000193ca50c0 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x0000000193cddab4 libsystem_pthread.dylib`_pthread_cond_wait +
1228
    frame #2: 0x00000001050bdec4 QtCore`___lldb_unnamed_symbol322$$QtCore + 48
    frame #3: 0x00000001050bde5c QtCore`QWaitCondition::wait(QMutex*,
QDeadlineTimer) + 116
    frame #4: 0x00000001050ba204 QtCore`QSemaphore::tryAcquire(int, int) + 124
    frame #5: 0x00000001021d97c4
libkritaimage.18.0.0.dylib`KisTileDataSwapper::run() [inlined]
KisTileDataSwapper::waitForWork(this=0x0000600003b342e0) at
kis_tile_data_swapper.cpp:74:20 [opt]
    frame #6: 0x00000001021d97b4
libkritaimage.18.0.0.dylib`KisTileDataSwapper::run(this=0x0000600003b342e0) at
kis_tile_data_swapper.cpp:80:9 [opt]
    frame #7: 0x00000001050b5738 QtCore`___lldb_unnamed_symbol263$$QtCore + 328
    frame #8: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #12
    frame #0: 0x0000000193ca3604 libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #15
    frame #0: 0x0000000193ca3604 libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #16
    frame #0: 0x0000000193ca3604 libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #17
    frame #0: 0x0000000000000000
  thread #18
    frame #0: 0x0000000000000000
  thread #27, name = 'GmicQt::FilterThread'
    frame #0: 0x0000000193ca370c libsystem_kernel.dylib`__ulock_wait + 8
    frame #1: 0x0000000193cdf720 libsystem_pthread.dylib`_pthread_join + 452
    frame #2: 0x0000000175e96f74 krita_gmic_qt.so`void
gmic::wait_threads<float>(void*, bool, float const&) + 400
    frame #3: 0x0000000175d8fed4 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 156700
    frame #4: 0x0000000175d7c04c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 75156
    frame #5: 0x0000000175d9609c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 181732
    frame #6: 0x0000000175d7c04c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 75156
    frame #7: 0x0000000175d7c04c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 75156
    frame #8: 0x0000000175d9609c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 181732
    frame #9: 0x0000000175d9609c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 181732
    frame #10: 0x0000000175d673e8 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*) +
836
    frame #11: 0x00000001762c88a0 krita_gmic_qt.so`gmic& gmic::run<float>(char
const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*,
bool*) + 176
    frame #12: 0x0000000175cf574c krita_gmic_qt.so`GmicQt::FilterThread::run()
+ 940
    frame #13: 0x00000001050b5738 QtCore`___lldb_unnamed_symbol263$$QtCore +
328
    frame #14: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
* thread #28, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000175d69bb8 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 256
    frame #1: 0x0000000175e96d00 krita_gmic_qt.so`void*
gmic_parallel<float>(void*) + 72
    frame #2: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148
  thread #29
    frame #0: 0x0000000193af2260
libsystem_malloc.dylib`nanov2_free_definite_size + 36
    frame #1: 0x0000000175e04618 krita_gmic_qt.so`cimg_library::CImg<char>
gmic::substitute_item<float>(char const*, cimg_library::CImgList<float>&,
cimg_library::CImgList<char>&, cimg_library::CImgList<float>&,
cimg_library::CImgList<char>&, unsigned int const*, cimg_library::CImg<unsigned
int> const*, bool) + 14172
    frame #2: 0x0000000175d99558 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 195232
    frame #3: 0x0000000175d7c04c krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int
const*, bool*, char const*, cimg_library::CImg<unsigned int> const*) + 75156
    frame #4: 0x0000000175e96d00 krita_gmic_qt.so`void*
gmic_parallel<float>(void*) + 72
    frame #5: 0x0000000193cdd4ec libsystem_pthread.dylib`_pthread_start + 148

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list