[krita] [Bug 458935] New: GMIC crash on macos arm, stacktrace gmic::_run<float>
vanyossi
bugzilla_noreply at kde.org
Fri Sep 9 21:06:17 BST 2022
https://bugs.kde.org/show_bug.cgi?id=458935
Bug ID: 458935
Summary: GMIC crash on macos arm, stacktrace gmic::_run<float>
Product: krita
Version: git master (please specify the git hash!)
Platform: Compiled Sources
OS: macOS
Status: REPORTED
Severity: crash
Priority: NOR
Component: G'Mic for Krita
Assignee: krita-bugs-null at kde.org
Reporter: ghevan at gmail.com
Target Milestone: ---
on macOS arm64, gmic crashes on many filters. Stacktrace is run with gmic in
debug mode.
* thread #29, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x00000002aa02e674 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*) + 50916
krita_gmic_qt.so`gmic::_run<float>:
-> 0x2aa02e674 <+50916>: ldr x9, [x22]
0x2aa02e678 <+50920>: mov w8, #0x1
0x2aa02e67c <+50924>: ldr x10, [sp, #0x40f0]
0x2aa02e680 <+50928>: cmp x9, x10
Target 0: (krita) stopped.
(lldb) bt all
thread #1, queue = 'com.apple.main-thread'
frame #0: 0x00000001975ee8b0 libsystem_kernel.dylib`mach_msg_trap + 8
frame #1: 0x00000001975eed20 libsystem_kernel.dylib`mach_msg + 76
frame #2: 0x00000001976f92c0 CoreFoundation`__CFRunLoopServiceMachPort +
372
frame #3: 0x00000001976f7770 CoreFoundation`__CFRunLoopRun + 1180
frame #4: 0x00000001976f6b34 CoreFoundation`CFRunLoopRunSpecific + 600
frame #5: 0x00000001a0336338 HIToolbox`RunCurrentEventLoopInMode + 292
frame #6: 0x00000001a03360b4 HIToolbox`ReceiveNextEventCommon + 564
frame #7: 0x00000001a0335e68
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
frame #8: 0x000000019a25e51c AppKit`_DPSNextEvent + 860
frame #9: 0x000000019a25ce14 AppKit`-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
frame #10: 0x000000011007701c
libqcocoa.dylib`___lldb_unnamed_symbol678$$libqcocoa.dylib + 1772
frame #11: 0x000000010a158ca8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 524
frame #12: 0x00000002aa937088
krita_gmic_qt.so`KritaGmicPlugin::launch(std::__1::shared_ptr<KisImageInterface>,
bool) + 5056
frame #13: 0x000000014df7e91c
kritaqmic.so`QMic::slotQMic(this=0x000000014bd4ed10, again=false) at
QMic.cpp:85:30
frame #14: 0x000000014df7d9b8
kritaqmic.so`QMic::qt_static_metacall(_o=0x000000014bd4ed10,
_c=InvokeMetaMethod, _id=2, _a=0x000000016fdfc868) at moc_QMic.cpp:79:21
frame #15: 0x000000010a18d5c4 QtCore`QMetaObject::activate(QObject*, int,
int, void**) + 2392
frame #16: 0x0000000106484718
QtWidgets`QAction::activate(QAction::ActionEvent) + 304
frame #17: 0x000000010a1861b0 QtCore`QObject::event(QEvent*) + 440
frame #18: 0x000000010648dc9c
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292
frame #19: 0x000000010648f010 QtWidgets`QApplication::notify(QObject*,
QEvent*) + 548
frame #20: 0x000000010396f4e0
libkritaui.19.0.0.dylib`KisApplication::notify(this=0x000000016fdfeda0,
receiver=0x000000014afef500, event=0x00000002af56d920) at
KisApplication.cpp:757:40
frame #21: 0x000000010a15d444
QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 288
frame #22: 0x000000010a15e900
QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) +
1476
frame #23: 0x0000000110077b6c
libqcocoa.dylib`___lldb_unnamed_symbol685$$libqcocoa.dylib + 312
frame #24: 0x000000011007821c
libqcocoa.dylib`___lldb_unnamed_symbol697$$libqcocoa.dylib + 48
frame #25: 0x00000001976f9044
CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
frame #26: 0x00000001976f8f90 CoreFoundation`__CFRunLoopDoSource0 + 208
frame #27: 0x00000001976f8c90 CoreFoundation`__CFRunLoopDoSources0 + 268
frame #28: 0x00000001976f7610 CoreFoundation`__CFRunLoopRun + 828
frame #29: 0x00000001976f6b34 CoreFoundation`CFRunLoopRunSpecific + 600
frame #30: 0x00000001a0336338 HIToolbox`RunCurrentEventLoopInMode + 292
frame #31: 0x00000001a0335fc4 HIToolbox`ReceiveNextEventCommon + 324
frame #32: 0x00000001a0335e68
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 72
frame #33: 0x000000019a25e51c AppKit`_DPSNextEvent + 860
frame #34: 0x000000019a25ce14 AppKit`-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
frame #35: 0x000000019a24efe0 AppKit`-[NSApplication run] + 596
frame #36: 0x0000000110077094
libqcocoa.dylib`___lldb_unnamed_symbol678$$libqcocoa.dylib + 1892
frame #37: 0x000000010a158ca8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 524
frame #38: 0x000000010a15db04 QtCore`QCoreApplication::exec() + 128
frame #39: 0x00000001000132f0 krita`main(argc=1, argv=0x000000016fdff4a0)
at main.cc:721:17
frame #40: 0x00000001006c508c dyld`start + 520
thread #2
frame #0: 0x00000001975f072c libsystem_kernel.dylib`__workq_kernreturn + 8
thread #3
frame #0: 0x00000001975f072c libsystem_kernel.dylib`__workq_kernreturn + 8
thread #5
frame #0: 0x00000001975f072c libsystem_kernel.dylib`__workq_kernreturn + 8
thread #6, name = 'OGL Profiler'
frame #0: 0x00000001975ee8b0 libsystem_kernel.dylib`mach_msg_trap + 8
frame #1: 0x00000001975eed20 libsystem_kernel.dylib`mach_msg + 76
frame #2: 0x00000001f8da588c OpenGL`glcDebugListener + 408
frame #3: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #7, name = 'com.apple.CFSocket.private'
frame #0: 0x00000001975f9598 libsystem_kernel.dylib`__select + 8
frame #1: 0x00000001977238a0 CoreFoundation`__CFSocketManager + 644
frame #2: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #8, name = 'com.apple.NSEventThread'
frame #0: 0x00000001975ee8b0 libsystem_kernel.dylib`mach_msg_trap + 8
frame #1: 0x00000001975eed20 libsystem_kernel.dylib`mach_msg + 76
frame #2: 0x00000001976f92c0 CoreFoundation`__CFRunLoopServiceMachPort +
372
frame #3: 0x00000001976f7770 CoreFoundation`__CFRunLoopRun + 1180
frame #4: 0x00000001976f6b34 CoreFoundation`CFRunLoopRunSpecific + 600
frame #5: 0x000000019a3cb100 AppKit`_NSEventThread + 196
frame #6: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #9, name = 'Qt bearer thread'
frame #0: 0x00000001975f6eb0 libsystem_kernel.dylib`poll + 8
frame #1: 0x0000000100bb32a8 libclang_rt.asan_osx_dynamic.dylib`wrap_poll +
856
frame #2: 0x000000010a1b214c QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) + 468
frame #3: 0x000000010a1b3948
QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
+ 896
frame #4: 0x000000010a158ca8
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 524
frame #5: 0x0000000109fac3cc QtCore`QThread::exec() + 136
frame #6: 0x0000000109fad314 QtCore`___lldb_unnamed_symbol266$$QtCore + 328
frame #7: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #10, name = 'KisTileDataSwapper'
frame #0: 0x00000001975f2270 libsystem_kernel.dylib`__psynch_cvwait + 8
frame #1: 0x000000019762c83c libsystem_pthread.dylib`_pthread_cond_wait +
1236
frame #2: 0x0000000109fb5db4 QtCore`___lldb_unnamed_symbol325$$QtCore + 48
frame #3: 0x0000000109fb5d4c QtCore`QWaitCondition::wait(QMutex*,
QDeadlineTimer) + 116
frame #4: 0x0000000109fb1f60 QtCore`QSemaphore::tryAcquire(int, int) + 124
frame #5: 0x0000000106cef3e4
libkritaimage.19.0.0.dylib`KisTileDataSwapper::waitForWork(this=0x0000000117493600)
at kis_tile_data_swapper.cpp:74:20
frame #6: 0x0000000106cef414
libkritaimage.19.0.0.dylib`KisTileDataSwapper::run(this=0x0000000117493600) at
kis_tile_data_swapper.cpp:80:9
frame #7: 0x0000000109fad314 QtCore`___lldb_unnamed_symbol266$$QtCore + 328
frame #8: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #14
frame #0: 0x00000001975f072c libsystem_kernel.dylib`__workq_kernreturn + 8
thread #15
frame #0: 0x00000001975f072c libsystem_kernel.dylib`__workq_kernreturn + 8
thread #26
frame #0: 0x0000000000000000
thread #27, name = 'GmicQt::FilterThread'
frame #0: 0x00000001975f0834 libsystem_kernel.dylib`__ulock_wait + 8
frame #1: 0x000000019762e5a0 libsystem_pthread.dylib`_pthread_join + 444
frame #2: 0x00000002aa1d706c krita_gmic_qt.so`void
gmic::wait_threads<float>(void*, bool, float const&) + 560
frame #3: 0x00000002aa094fac 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*) + 471068
frame #4: 0x00000002aa06c6e0 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*) + 304976
frame #5: 0x00000002aa0c9b6c 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*) + 687068
frame #6: 0x00000002aa06c6e0 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*) + 304976
frame #7: 0x00000002aa05b334 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*) + 234404
frame #8: 0x00000002aa0c9b6c 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*) + 687068
frame #9: 0x00000002aa0c9b6c 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*) + 687068
frame #10: 0x00000002a9ff1da0 krita_gmic_qt.so`gmic&
gmic::_run<float>(cimg_library::CImgList<char> const&,
cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*) +
2400
frame #11: 0x00000002a9ff0684 krita_gmic_qt.so`gmic& gmic::run<float>(char
const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*,
bool*) + 484
frame #12: 0x00000002a9e57a48 krita_gmic_qt.so`GmicQt::FilterThread::run()
+ 1924
frame #13: 0x0000000109fad314 QtCore`___lldb_unnamed_symbol266$$QtCore +
328
frame #14: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
thread #28
frame #0: 0x0000000100be9eec
libclang_rt.asan_osx_dynamic.dylib`__sanitizer::StackDepotBase<__sanitizer::StackDepotNode,
1, 20>::Put(__sanitizer::StackTrace, bool*) + 208
frame #1: 0x0000000100be9e0c
libclang_rt.asan_osx_dynamic.dylib`__sanitizer::StackDepotPut(__sanitizer::StackTrace)
+ 36
frame #2: 0x0000000100b8d2dc
libclang_rt.asan_osx_dynamic.dylib`__asan::Allocator::Allocate(unsigned long,
unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) + 880
frame #3: 0x0000000100b8dc40
libclang_rt.asan_osx_dynamic.dylib`__asan::asan_memalign(unsigned long,
unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType) + 80
frame #4: 0x0000000100bd4d70 libclang_rt.asan_osx_dynamic.dylib`wrap__Znam
+ 228
frame #5: 0x00000002a9e4fd0c krita_gmic_qt.so`cimg_library::CImg<unsigned
int>::CImg(unsigned int, unsigned int, unsigned int, unsigned int) + 432
frame #6: 0x00000002a9e4bf1c krita_gmic_qt.so`cimg_library::CImg<unsigned
int>::CImg(unsigned int, unsigned int, unsigned int, unsigned int) + 64
frame #7: 0x00000002aa0c9230 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*) + 684704
frame #8: 0x00000002aa1d6c6c krita_gmic_qt.so`void*
gmic_parallel<float>(void*) + 632
frame #9: 0x000000019762c26c libsystem_pthread.dylib`_pthread_start + 148
* thread #29, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00000002aa02e674 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*) + 50916
frame #1: 0x00000002aa06c6e0 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*) + 304976
frame #2: 0x00000002aa1d6c6c krita_gmic_qt.so`void*
gmic_parallel<float>(void*) + 632
frame #3: 0x000000019762c26c 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