This has happened only once so far but you should be made aware of it. I was looking at various G'mic settings and when I clicked the reset button top right of the G'mic window, Krita crashed. macOS displayed the "Krita has closed unexpectedly" msg.
Hi, we can't really help without a crash log. On MacOS, there is this problem that you need to start Krita in a special way before you get a crash log, so if you can't repeat the crash, we won't really be able to help. The way to get a crash log is described here: https://docs.krita.org/en/reference_manual/sharing_krita_logs.html?highlight=crash%20log#macos So basically your task would be to use the instruction above to start Krita in that special way, and then try to crash Krita in GMIC (just try to repeat what you did that time, if it doesn't close Krita, then maybe change something else and then click the reset button, and then something different and then the reset button, until Krita closes on its own - it would be awesome if you could also remember what you did just before Krita crashed). What to do next is also described in the instruction. Another thing that you can do (but it's much less likely to help) is going to Help -> Show Krita log for bug reports, and getting the file and attaching it here.
Created attachment 145209 [details] attachment-6224-0.html Hi tiar, thanks for responding. I have tried to repeat the crash witnout luck. I suspect i could try all day and night without a crash. Perhaps you should set this bugs aside and if I experience a repeat I'll use the info youve provided and send the reports you would need. Thank you, Eric On Fri., Jan. 7, 2022, 1:45 p.m. Tiar, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=448092 > > Tiar <tamtamy.tymona@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Resolution|--- |WAITINGFORINFO > CC| |tamtamy.tymona@gmail.com > Status|REPORTED |NEEDSINFO > > --- Comment #1 from Tiar <tamtamy.tymona@gmail.com> --- > Hi, we can't really help without a crash log. On MacOS, there is this > problem > that you need to start Krita in a special way before you get a crash log, > so if > you can't repeat the crash, we won't really be able to help. > > The way to get a crash log is described here: > > https://docs.krita.org/en/reference_manual/sharing_krita_logs.html?highlight=crash%20log#macos > > So basically your task would be to use the instruction above to start > Krita in > that special way, and then try to crash Krita in GMIC (just try to repeat > what > you did that time, if it doesn't close Krita, then maybe change something > else > and then click the reset button, and then something different and then the > reset button, until Krita closes on its own - it would be awesome if you > could > also remember what you did just before Krita crashed). What to do next is > also > described in the instruction. > > Another thing that you can do (but it's much less likely to help) is going > to > Help -> Show Krita log for bug reports, and getting the file and attaching > it > here. > > -- > You are receiving this mail because: > You reported the bug.
Hi, Can you check if the Console logged a crash report? That may help a bit, but since a G'MIC release is due soon, you'd have to try to reproduce again on the next update.
Created attachment 145210 [details] attachment-8018-0.html Hi Amy, if a new G'mic is on the way and there will probably a Krtia 5.0.3 coming soon, I'll wait until i have both installed and then I'll do my best to repeat the crash. Is that OK? On Fri., Jan. 7, 2022, 2:20 p.m. amyspark, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=448092 > > amyspark <amy@amyspark.me> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |amy@amyspark.me > > --- Comment #3 from amyspark <amy@amyspark.me> --- > Hi, > > Can you check if the Console logged a crash report? That may help a bit, > but > since a G'MIC release is due soon, you'd have to try to reproduce again on > the > next update. > > -- > You are receiving this mail because: > You reported the bug.
(In reply to Tiar from comment #1) > Hi, we can't really help without a crash log. On MacOS, there is this > problem that you need to start Krita in a special way before you get a crash > log, so if you can't repeat the crash, we won't really be able to help. DrKonqi works just fine on Mac, and could easily be embedded in the app bundle. The Mac's OS also has its own crash reporter that can be activated to get a post-mortem backtrace which can then be copied to a report on here. Running an application under the debugger will cause certain bugs not to express themselves (the infamous Heisenbugs ;)).
If there was a crash message from the OS showing the crash backtrace you may still find it using "Console.app" under the section "Crash reports". If the system registered a crash it will probably be available there. Im uncertain of how long they are stored so it may already be unavailable. If you find it, paste the contents of the crashlog here.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
I can confirm that g'mic crashes on my M1 macbook pro.
Cannot reproduce on e26e4e3 (latest nightly, 2022-01-08) on my Intel Macbook. Marking again as WAITINGFORINFO because a crash report is needed for debugging, as requested in comment 3.
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
Yeah, this looks definitely as a G'MIC specific crash. David, can you triage this on a M1 Macbook, or should we try and reproduce this with the next G'MIC version?
We cannot try it on a Mac M1, we don't have access to such a machine. But the crash log will be probably helpful to get an idea about the problem. I'll forward it to Sébastien.
Ha too bad that there are no line numbers in the log. It makes it more difficult to analyze.
Is it possible that not all debug information is included in the app bundle? This ticket has been ringing a bell for me, I seem to recall getting a crash under similar conditions long ago, on my Intel Mac. Sadly (or maybe not so much :)) that's all I can remember.
Iván, can you try adding symbolication to nightly, or generate a DMG with debug symbols and reproduce this?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Created attachment 145936 [details] attachment-14100-0.html I am unable to supply the info you want. Two devs have confirmed the crash on macOS. Their msgs are part of this conversation. On Mon., Jan. 24, 2022, 8:37 p.m. Bug Janitor Service, < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=448092 > > --- Comment #16 from Bug Janitor Service <bug-janitor@kde.org> --- > Dear Bug Submitter, > > This bug has been in NEEDSINFO status with no change for at least > 15 days. Please provide the requested information as soon as > possible and set the bug status as REPORTED. Due to regular bug > tracker maintenance, if the bug is still in NEEDSINFO status with > no change in 30 days the bug will be closed as RESOLVED > WORKSFORME > due to lack of needed information. > > For more information about our bug triaging procedures please read the > wiki located here: > https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging > > If you have already provided the requested information, please > mark the bug as REPORTED so that the KDE team knows that the bug is > ready to be confirmed. > > Thank you for helping us make KDE software even better for everyone! > > -- > You are receiving this mail because: > You reported the bug.
Without a symbolicated backtrace on Arm, there's not much me or David can do about it.
It doesn't crash for me with the latest deps build/krita build on my m1, so maybe a qmic update magically fixed it?
Given how I remember having experienced this issue but cannot find any trace of having found a fix, I'd say it's still there and just doesn't express itself (like any self-respecting Heisenbug ;) )