| Summary: | Crash related to kinetic scrolling and the gradient map filter | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Alvin Wong <alvin> |
| Component: | General | Assignee: | sh_zam <shzam> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | antti.savo, shzam |
| Priority: | NOR | ||
| Version First Reported In: | 4.4.2-beta2 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/6adbb94f227100d068489c7916487c26c20ef394 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Alvin Wong
2020-12-25 08:44:17 UTC
I am able to reproduce this on Linux build 4.4.2 Demonstrative video: https://youtu.be/MVfckEllfA0 Backtrace: Thread 1 "krita" received signal SIGSEGV, Segmentation fault. 0x00007ffff5628620 in ?? () from /usr/lib/libQt5Widgets.so.5 #0 0x00007ffff5628620 in ?? () from /usr/lib/libQt5Widgets.so.5 #1 0x00007ffff562aefe in ?? () from /usr/lib/libQt5Widgets.so.5 #2 0x00007ffff562dfc6 in ?? () from /usr/lib/libQt5Widgets.so.5 #3 0x00007ffff55e25b7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #4 0x00007ffff70ac04a in KisApplication::notify (this=<optimized out>, receiver=0x555562dcb380, event=0x7fffffffd8e0) at /usr/src/debug/krita-4.4.2/libs/ui/KisApplication.cpp:713 #5 0x00007ffff4b13a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #6 0x00007ffff55e187e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5 #7 0x00007ffff5635249 in ?? () from /usr/lib/libQt5Widgets.so.5 #8 0x00007ffff563863f in ?? () from /usr/lib/libQt5Widgets.so.5 #9 0x00007ffff55db752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #10 0x00007ffff70ac04a in KisApplication::notify (this=<optimized out>, receiver=0x5555645a0720, event=0x7fffffffdc20) at /usr/src/debug/krita-4.4.2/libs/ui/KisApplication.cpp:713 #11 0x00007ffff4b13a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #12 0x00007ffff4eed594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #13 0x00007ffff4ec2bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #14 0x00007fffeeb2b16c in ?? () from /usr/lib/libQt5XcbQpa.so.5 #15 0x00007ffff1f42a84 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #16 0x00007ffff1f969b1 in ?? () from /usr/lib/libglib-2.0.so.0 #17 0x00007ffff1f412b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #18 0x00007ffff4b6c6e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #19 0x00007ffff4b123fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #20 0x00007ffff4b1a894 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #21 0x0000555555e2704b in main (argc=<optimized out>, argv=0x7fffffffe2d8) at /usr/src/debug/krita-4.4.2/krita/main.cc:662 Kinetic Scrolling being enabled by default on Android this is a one tap death situation. Assigning this to myself A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/794 Git commit 6adbb94f227100d068489c7916487c26c20ef394 by Halla Rempt, on behalf of Sharaf Zaman. Committed on 07/04/2021 at 12:21. Pushed by rempt into branch 'master'. Crash when clicking Gradient Map/Palettize filter This only happens with these two items because they both create a QScroller which when used while Kinetic Scrolling being enabled is pushed to a recognizers container. But when we delete the widget, the cached value which was next to scroller's recognizer (a coincidence) is taken to be valid hence a crash. A +30 -0 3rdparty/ext_qt/0001-Check-if-we-reached-the-end-of-Iterator.patch M +6 -0 3rdparty/ext_qt/CMakeLists.txt https://invent.kde.org/graphics/krita/commit/6adbb94f227100d068489c7916487c26c20ef394 |