Summary: | Crash when selecting filter>raindrops on an empty layer. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | BroskiBaboski <wonkyskotny3> |
Component: | Filters | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amy, griffinvalley |
Priority: | NOR | ||
Version: | 5.0.2 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/cb223cd3f998012307403f41125ad9cefa17a54d | Version Fixed In: | |
Sentry Crash Report: |
Description
BroskiBaboski
2022-01-31 10:50:09 UTC
Hm... I can't reproduce that here on KDE Neon, however... Could you try to run Krita in gdb again, and this time, when it crashes type "thread apply all backtrace", and then keep smashing 'continue' untill gdb gives nothing new anymore. This way, we can find the exact spot it crashes, and maybe do something about it anyhow. (In reply to wolthera from comment #1) > Hm... I can't reproduce that here on KDE Neon, however... > > Could you try to run Krita in gdb again, and this time, when it crashes type > "thread apply all backtrace", and then keep smashing 'continue' untill gdb > gives nothing new anymore. > > This way, we can find the exact spot it crashes, and maybe do something > about it anyhow. Um, continue? this is the output when I write that after the crash Thread 18 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff937ff640 (LWP 395934)] 0x00007fffd3cc5edd in KisRainDropsFilter::processImpl(KisSharedPtr<KisPaintDevice>, QRect const&, KisPinnedSharedPtr<KisFilterConfiguration>, KoUpdater*) const () from /tmp/.mount_krita-APF8bu/usr/lib/kritaplugins/kritaraindropsfilter.so (gdb) thread apply all backtrace Thread 18 (Thread 0x7fff937ff640 (LWP 395934) "Thread (pooled)"): #0 0x00007fffd3cc5edd in KisRainDropsFilter::processImpl(KisSharedPtr<KisPaintDevice>, QRect const&, KisPinnedSharedPtr<KisFilterConfiguration>, KoUpdater*) const () from /tmp/.mount_krita-APF8bu/usr/lib/kritaplugins/kritaraindropsfilter.so #1 0x00007ffff792748f in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaui.so.17 #2 0x00007ffff792bc62 in KisFilterStrokeStrategy::doStrokeCallback(KisStrokeJobData*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaui.so.17 #3 0x00007ffff6be4c14 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaimage.so.17 #4 0x00007ffff50b1877 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #7 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 16 (Thread 0x7fff9be8f640 (LWP 395930) "RecorderWriter"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fff940036e0, nfds=1, timeout=1049) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007fffca2b6467 in RecorderWriter::run() () from /tmp/.mount_krita-APF8bu/usr/lib/kritaplugins/kritarecorderdocker.so #7 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #9 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 13 (Thread 0x7fffa9047640 (LWP 395926) "Thread (pooled)"): #0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fffa9046b00, op=137, expected=0, futex_word=0x7fff9c007ba0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x7fffa9046b00, clockid=0, expected=0, futex_word=0x7fff9c007ba0) at futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fff9c007ba0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7fffa9046b00, private=private@entry=0) at futex-internal.c:139 #3 0x00007ffff4c24d7e in __pthread_cond_wait_common (abstime=0x7fffa9046b00, clockid=1, mutex=0x7fff9c007b50, cond=0x7fff9c007b78) at pthread_cond_wait.c:504 #4 ___pthread_cond_timedwait64 (cond=0x7fff9c007b78, mutex=0x7fff9c007b50, abstime=0x7fffa9046b00) at pthread_cond_wait.c:653 #5 0x00007ffff50b4d64 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007ffff50b50f6 in QWaitCondition::wait(QMutex*, unsigned long) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #7 0x00007ffff50b1b28 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #9 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #10 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 12 (Thread 0x7fffa9848640 (LWP 395925) "QNetworkAccessM"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fff9c0029e0, nfds=2, timeout=135078) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #7 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #8 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 11 (Thread 0x7fffaa049640 (LWP 395921) "QQuickPixmapRea"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fffa4005160, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007fffc88934f6 in ?? () from /tmp/.mount_krita-APF8bu/usr/lib/kritaplugins/../libQt5Quick.so.5 #7 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #9 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 10 (Thread 0x7fffc3fbd640 (LWP 395920) "QQmlThread"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fffb4000b60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007fffc8f26c55 in ?? () from /tmp/.mount_krita-APF8bu/usr/lib/kritaplugins/../libQt5Qml.so.5 #7 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #9 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 9 (Thread 0x7fffc12f6640 (LWP 395913) "KisTileDataSwap"): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007ffff50b06ff in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #2 0x00007ffff50b0567 in QSemaphore::tryAcquire(int, int) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #3 0x00007ffff6c0f9fa in KisTileDataSwapper::run() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaimage.so.17 #4 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #6 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 7 (Thread 0x7fffc47be640 (LWP 395901) "Qt bearer threa"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fffbc0025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #7 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #8 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 6 (Thread 0x7fffe8777640 (LWP 395900) "QXcbEventQueue"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fffe8776af8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee17fc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fffee181ffa in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffe93b1ff0 in ?? () from /tmp/.mount_krita-APF8bu/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5 #4 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #6 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 3 (Thread 0x7fffe7f4f640 (LWP 395895) "QDBusConnection"): #0 0x00007ffff4ca8cdf in __GI___poll (fds=0x7fffd8007370, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fffee9d7ea6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff50abde4 in QThread::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007fffee080a05 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5DBus.so.5 #7 0x00007ffff50ad42e in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff4c25927 in start_thread (arg=<optimised out>) at pthread_create.c:435 #9 0x00007ffff4cb59e4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Thread 1 (Thread 0x7fffe9a74900 (LWP 395884) "AppRun"): #0 ___xstat64 (vers=1, name=0xa6ce6b8 "/tmp/.mount_krita-APF8bu/usr/share/mime/image/png.xml", buf=0x7fffffffae10) at ../sysdeps/unix/sysv/linux/xstat64.c:50 #1 0x00007ffff522ba35 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #2 0x00007ffff51c1adc in QFileInfo::isFile() const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #3 0x00007ffff51dfb72 in QStandardPaths::locateAll(QStandardPaths::StandardLocation, QString const&, QFlags<QStandardPaths::LocateOption>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #4 0x00007ffff5367576 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #5 0x00007ffff5354bc0 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #6 0x00007ffff535b5d7 in QMimeType::suffixes() const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #7 0x00007ffff535b79e in QMimeType::preferredSuffix() const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #8 0x00007ffff57c79dc in QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Gui.so.5 #9 0x00007ffff5de101d in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #10 0x00007ffff5dfcedb in QCommonStyle::standardIcon(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #11 0x00007ffff5e3acfd in QWindowsStyle::standardIcon(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #12 0x00007ffff5e008f5 in QProxyStyle::standardIcon(QStyle::StandardPixmap, QStyleOption const*, QWidget const*) const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #13 0x00007ffff5df34a3 in QCommonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #14 0x00007ffff5e38b99 in QWindowsStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #15 0x00007ffff5ecc2bf in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #16 0x00007ffff5daa3b8 in QWidget::event(QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #17 0x00007ffff5ed2ffa in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #18 0x00007ffff5d698dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #19 0x00007ffff5d70f20 in QApplication::notify(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #20 0x00007ffff7ae7d92 in KisApplication::notify(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaui.so.17 #21 0x00007ffff528c4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #22 0x00007ffff5da2fe5 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #23 0x00007ffff5da36c5 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #24 0x00007ffff5da43ec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #25 0x00007ffff5da3190 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #26 0x00007ffff5da43ec in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #27 0x00007ffff5da42d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #28 0x00007ffff5da42d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #29 0x00007ffff5da3190 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #30 0x00007ffff5d79bbb in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #31 0x00007ffff5d79e48 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #32 0x00007ffff5d9219f in QWidgetPrivate::syncBackingStore() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #33 0x00007ffff5daa588 in QWidget::event(QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #34 0x00007ffff5eb3899 in QMainWindow::event(QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #35 0x00007ffff1de80fa in KMainWindow::event(QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritawidgetutils.so.17 #36 0x00007ffff1e24929 in KXmlGuiWindow::event(QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritawidgetutils.so.17 #37 0x00007ffff5d698dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #38 0x00007ffff5d70f20 in QApplication::notify(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Widgets.so.5 #39 0x00007ffff7ae7d92 in KisApplication::notify(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libkritaui.so.17 #40 0x00007ffff528c4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #41 0x00007ffff528f1aa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #42 0x00007ffff52e6233 in ?? () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #43 0x00007fffee9848bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #44 0x00007fffee9d7f08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007fffee982003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007ffff52e581f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #47 0x00007ffff528aa8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #48 0x00007ffff5293804 in QCoreApplication::exec() () from /tmp/.mount_krita-APF8bu/usr/bin/../lib/libQt5Core.so.5 #49 0x0000000000407750 in main () (gdb) pressing enter repeats it, if I write "continue" and enter it'll say this (gdb) continue Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) Sorry, I was referring to the output prompt. This is excellent, thanks! Ah, got what's causing it: It happens on a transparent layer, very likely because these don't have any data on them and thus the matrix is completely empty. Point where it's crashing: https://invent.kde.org/graphics/krita/-/blob/master/plugins/filters/raindropsfilter/kis_raindrops_filter.cpp#L140 --------------------- Thread 50 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc77fe700 (LWP 2983083)] 0x00007fffd160a6f6 in KisRainDropsFilter::processImpl (this=<optimized out>, device=..., applyRect=..., config=..., progressUpdater=0x7fffa8004760) at /home/wolthera/krita/src/plugins/filters/raindropsfilter/kis_raindrops_filter.cpp:140 140 if (BoolMatrix[y][x]) (gdb) thread apply all backtrace Thread 50 (Thread 0x7fffc77fe700 (LWP 2983083)): #0 0x00007fffd160a6f6 in KisRainDropsFilter::processImpl(KisSharedPtr<KisPaintDevice>, QRect const&, KisPinnedSharedPtr<KisFilterConfiguration>, KoUpdater*) const (this=<optimized out>, device=..., applyRect=..., config=..., progressUpdater=0x7fffa8004760) at /home/wolthera/krita/src/plugins/filters/raindropsfilter/kis_raindrops_filter.cpp:140 #1 0x00007ffff7a3014d in KisFilterStrokeStrategy::<lambda()>::<lambda()>::operator() (__closure=0x7fffa806f400) at /usr/include/c++/9/bits/atomic_base.h:318 #2 std::_Function_handler<void(), KisFilterStrokeStrategy::doStrokeCallback(KisStrokeJobData*)::<lambda()>::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/include/c++/9/bits/std_function.h:300 #3 0x00007ffff7a36436 in KisFilterStrokeStrategy::doStrokeCallback(KisStrokeJobData*) (this=0x555562461b40, data=0x7fffa8007010) at /home/wolthera/krita/src/libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp:306 #4 0x00007ffff6e00d7b in KisStrokeJob::run() (this=<optimized out>) at /home/wolthera/krita/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../src/libs/image/kis_stroke_job.h:32 #5 KisUpdateJobItem::run() (this=0x555563075a70) at /home/wolthera/krita/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../src/libs/image/kis_update_job_item.h:90 #6 0x00007ffff57d2862 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007ffff57cf45c in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007ffff36ee609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007ffff5434293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Git commit 4d3830d10bba1e9825799a7e6521a082d517ef81 by Dmitry Kazakov. Committed on 23/02/2022 at 13:58. Pushed by dkazakov into branch 'master'. Fix a crash in raindrops filter when the layer is totally empty This seems to be a regression from the recent refactoring of KisFilterStrokeStrategy M +12 -8 libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp M +6 -0 plugins/filters/raindropsfilter/kis_raindrops_filter.cpp https://invent.kde.org/graphics/krita/commit/4d3830d10bba1e9825799a7e6521a082d517ef81 Git commit cb223cd3f998012307403f41125ad9cefa17a54d by Dmitry Kazakov. Committed on 23/02/2022 at 14:01. Pushed by dkazakov into branch 'krita/5.0'. Fix a crash in raindrops filter when the layer is totally empty This seems to be a regression from the recent refactoring of KisFilterStrokeStrategy M +12 -8 libs/ui/tool/strokes/kis_filter_stroke_strategy.cpp M +6 -0 plugins/filters/raindropsfilter/kis_raindrops_filter.cpp https://invent.kde.org/graphics/krita/commit/cb223cd3f998012307403f41125ad9cefa17a54d |