https://bugs.kde.org/show_bug.cgi?id=469647
Bug ID: 469647 Summary: Crash on minimizing Krita window Classification: Applications Product: krita Version: git master (please specify the git hash!) Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: penguinflyer2...@gmail.com Target Milestone: --- SUMMARY With a document open, minimizing the window can cause Krita to crash. Given the backtrace is in KisIdleTasksManager, it's probably related to the recent set of commits which added it. Backtrace: > * thread #1, stop reason = Exception 0xc0000005 encountered at address > 0x7ff8ac0f8b5e: Access violation reading location 0x241a499f000 > * frame #0: 0x00007ff8ac0f8b5e ucrtbase.dll`memcmp + 238 > frame #1: 0x00007ff80a8dcd74 Qt5Core.dll`QListData::erase(void**) > [inlined] QListData::remove(int) at qlist.cpp:282:13 > frame #2: 0x00007ff80a8dcd59 Qt5Core.dll`QListData::erase(void**) at > qlist.cpp:347:5 > frame #3: 0x00007ff81c84e66f > libkritaui.dll`KisIdleTasksManager::slotImageIsIdle() [inlined] > QList<int>::takeFirst(this=0x00000241c5e45e50) at qlist.h:603:29 > frame #4: 0x00007ff81c84e5f1 > libkritaui.dll`KisIdleTasksManager::slotImageIsIdle() [inlined] > QQueue<int>::dequeue(this=0x00000241c5e45e50) at qqueue.h:60:43 > frame #5: 0x00007ff81c84e5f1 > libkritaui.dll`KisIdleTasksManager::slotImageIsIdle(this=0x00000241c5e379b8) > at KisIdleTasksManager.cpp:112:41 > frame #6: 0x00007ff80aa90cbb Qt5Core.dll`void doActivate<false>(QObject*, > int, void**) at qobject.cpp:3931:21 > frame #7: 0x00007ff80aa90cbb Qt5Core.dll`void doActivate<false>(QObject*, > int, void**) at qobject.cpp:3931:21 > frame #8: 0x00007ff80aa95ee4 Qt5Core.dll`QTimer::timerEvent(QTimerEvent*) > [inlined] QTimer::timeout(QTimer::QPrivateSignal) at moc_qtimer.cpp:205:5 > frame #9: 0x00007ff80aa95eba Qt5Core.dll`QTimer::timerEvent(QTimerEvent*) > at qtimer.cpp:257:14 > frame #10: 0x00007ff80aa85a6f Qt5Core.dll`QObject::event(QEvent*) at > qobject.cpp:1324:9 > frame #11: 0x00007ff80e3ec5a3 > Qt5Widgets.dll`QApplicationPrivate::notify_helper(QObject*, QEvent*) at > qapplication.cpp:3637:26 > frame #12: 0x00007ff80e3ed823 > Qt5Widgets.dll`QApplication::notify(QObject*, QEvent*) at qapplication.cpp:0 > frame #13: 0x00007ff81cadab88 > libkritaui.dll`KisApplication::notify(this=0x0000006e68d4f870, > receiver=0x00000241c5e46480, event=0x0000006e68d4c220) at KisApplication.cpp:0 > frame #14: 0x00007ff80aa5dfb2 > Qt5Core.dll`QCoreApplication::notifyInternal2(QObject*, QEvent*) at > qcoreapplication.cpp:1064:18 > frame #15: 0x00007ff80aab18e3 > Qt5Core.dll`QEventDispatcherWin32Private::sendTimerEvent(int) at > qeventdispatcher_win.cpp:430:9 > frame #16: 0x00007ff80aab1555 Qt5Core.dll`qt_internal_proc(HWND__*, > unsigned int, unsigned long long, long long) at > qeventdispatcher_win.cpp:256:16 > frame #17: 0x00007ff8adf7e858 user32.dll`CallWindowProcW + 1016 > frame #18: 0x00007ff8adf7e299 user32.dll`DispatchMessageW + 601 > frame #19: 0x00007ff80aab2708 > Qt5Core.dll`QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) > at qeventdispatcher_win.cpp:595:21 > frame #20: 0x00007ff83d998295 qwindows.dll`qt_plugin_instance + 11253 > frame #21: 0x00007ff80aa5b236 > Qt5Core.dll`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] > QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) at > qeventloop.cpp:139:55 > frame #22: 0x00007ff80aa5b217 > Qt5Core.dll`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) at > qeventloop.cpp:232:9 > frame #23: 0x00007ff80aa5e54d Qt5Core.dll`QCoreApplication::exec() at > qcoreapplication.cpp:1375:32 > frame #24: 0x00007ff8457f5569 krita.dll`::krita_main(argc=<unavailable>, > argv=0x00000241ba3fcf80) at main.cc:717:17 > frame #25: 0x00007ff6c2a313d6 krita.com`__tmainCRTStartup at > crtexe.c:329:15 > frame #26: 0x00007ff6c2a31426 krita.com`mainCRTStartup at crtexe.c:206:9 > frame #27: 0x00007ff8ae177614 kernel32.dll`BaseThreadInitThunk + 20 > frame #28: 0x00007ff8ae7226a1 ntdll.dll`RtlUserThreadStart + 33 STEPS TO REPRODUCE 1. Open a document. 2. Minimize the window. It might take a few attempts, or crash the first time. OBSERVED RESULT Instant crash. EXPECTED RESULT No crash. SOFTWARE/OS VERSIONS Krita 5.2.0-prealpha git f0a28f5a. ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.