Bug 399397

Summary: Krita crashes after dragging entries in recent documents
Product: [Applications] krita Reporter: lunibackup
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: halla
Priority: NOR Keywords: drkonqi
Version: 4.1.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lunibackup 2018-10-05 05:45:54 UTC
Application: krita (4.1.3)
 (Compiled from sources)
Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.15.0-36-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
Dragging any entry under Recent Documents within the new start page crashes Krita immediately.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3c4cc71cc0 (LWP 8459))]

Thread 6 (Thread 0x7f3bf4aef700 (LWP 8469)):
#0  0x00007f3c48ffcbf9 in __GI___poll (fds=0x7f3bf0004b40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3c41311439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c4131154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c49b4fa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3c49af3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3c4991eb8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3c2a374906 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f3c49929aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3c42c0d6db in start_thread (arg=0x7f3bf4aef700) at pthread_create.c:463
#9  0x00007f3c4900988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3c09a11700 (LWP 8468)):
#0  0x00007f3c48ffcbf9 in __GI___poll (fds=0x7f3bfc000b20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3c41311439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c4131154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c49b4fa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3c49af3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3c4991eb8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3c29ef98b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f3c49929aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3c42c0d6db in start_thread (arg=0x7f3c09a11700) at pthread_create.c:463
#9  0x00007f3c4900988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3c09210700 (LWP 8467)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f3c4991d840 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f3c4991d6b2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f3c46b92daa in KisTileDataSwapper::run() () from /usr/lib/x86_64-linux-gnu/libkritaimage.so.17
#4  0x00007f3c49929aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3c42c0d6db in start_thread (arg=0x7f3c09210700) at pthread_create.c:463
#6  0x00007f3c4900988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3c0ba92700 (LWP 8465)):
#0  0x00007f3c41310a84 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3c4131136b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c4131154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c49b4fa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f3c49af3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3c4991eb8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3c49929aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3c42c0d6db in start_thread (arg=0x7f3c0ba92700) at pthread_create.c:463
#8  0x00007f3c4900988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3c234c5700 (LWP 8461)):
#0  0x00007f3c48ff80b4 in __GI___libc_read (fd=8, buf=0x7f3c234c4b20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f3c41355a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c41310f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c413113e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3c4131154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c49b4fa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f3c49af3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f3c4991eb8a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f3c42e3ae45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f3c49929aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3c42c0d6db in start_thread (arg=0x7f3c234c5700) at pthread_create.c:463
#11 0x00007f3c4900988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3c4cc71cc0 (LWP 8459)):
[KCrash Handler]
#6  0x00007f3c4a42c4e7 in operator<<(QDataStream&, QStandardItem const&) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f3c4a4343aa in QStandardItemModel::mimeData(QList<QModelIndex> const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#8  0x00007f3c4aadb21e in QAbstractItemView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f3c4aad9fb9 in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f3c4ab12c77 in QListView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f3c4a8c1b08 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f3c4a96371e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f3c4aada8eb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f3c49af583d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f3c4a882e65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f3c4a88aff7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f3c4c13dc47 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libkritaui.so.17
#18 0x00007f3c49af5ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f3c4a889942 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f3c4a8dcc73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f3c4a8df289 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f3c4a882e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f3c4a88a45f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f3c4c13dc47 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libkritaui.so.17
#25 0x00007f3c49af5ab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f3c4a0872ab in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007f3c4a088e55 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007f3c4a061f0b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007f3c33ce8edb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#30 0x00007f3c49af3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f3c49afcfa0 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x000055ef7e47a028 in main ()

Reported using DrKonqi
Comment 1 Halla Rempt 2018-10-05 07:14:20 UTC
Git commit 24d2b6bee643d75ffd5bcef754e26f94b861d126 by Boudewijn Rempt.
Committed on 05/10/2018 at 07:13.
Pushed by rempt into branch 'master'.

M  +1    -0    libs/ui/KisWelcomePageWidget.cpp

https://commits.kde.org/krita/24d2b6bee643d75ffd5bcef754e26f94b861d126
Comment 2 Halla Rempt 2018-10-10 09:57:49 UTC
Git commit f8cd40ae135fd1a892abd53df588d993614d41bf by Boudewijn Rempt.
Committed on 10/10/2018 at 07:38.
Pushed by rempt into branch 'krita/4.1'.

M  +1    -0    libs/ui/widgets/KisWelcomePageWidget.cpp

https://commits.kde.org/krita/f8cd40ae135fd1a892abd53df588d993614d41bf