Bug 432497

Summary: Krita Crash everytime im doing cut the Layer/ Remove some layer (one of many), Krita always Crash ..
Product: [Applications] krita Reporter: Eka Dana P P <eka_dana>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: halla
Priority: NOR Keywords: drkonqi
Version: 4.4.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eka Dana P P 2021-02-04 08:57:11 UTC
Application: krita (4.4.2)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.8.0-41-generic x86_64
Windowing system: X11
Distribution: Feren OS

-- Information about the crash:
- What I was doing when the application crashed:

- Unusual behavior I noticed:

- Custom settings of the application:

Krita Crash everytime im doing cut the Layer/ Remove some layer  (one of many), Krita always Crash ..

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault

[New LWP 19012]
[New LWP 19013]
[New LWP 19014]
[New LWP 19015]
[New LWP 19016]
[New LWP 19027]
[New LWP 19029]
[New LWP 19034]
[New LWP 19035]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fed5bb1aaff in poll () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fed56ae0680 (LWP 18995))]

Thread 10 (Thread 0x7fed29953700 (LWP 19035)):
#0  0x00007fed5950415b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fed59505adf in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed59506132 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fed5c100fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fed5bebfa12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fed4dbe538a in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fed5bec0bac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 9 (Thread 0x7fed31ffb700 (LWP 19034)):
#0  0x00007fed5bb1aaff in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fed5950618e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed5c100fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fed5bebfa12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fed4d92ffa9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fed5bec0bac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7fed317fa700 (LWP 19029)):
#0  0x00007fed5bb2089d in syscall () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fed5bec3130 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fed5bec2f96 in QSemaphore::tryAcquire(int, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fed5d4caa3a in KisTileDataSwapper::run() () from /lib/x86_64-linux-gnu/libkritaimage.so.20
#4  0x00007fed5bec0bac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7fed327fc700 (LWP 19027)):
#0  0x00007fed5bb1617c in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fed5954e89f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed59505cde in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed59506132 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fed5c100fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fed5bebfa12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fed5bec0bac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7fed3ffff700 (LWP 19016)):
#0  0x00007fed5bb1617c in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fed5954e89f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed59505cde in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed59506132 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fed5c100fbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fed5bebfa12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fed59e06f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fed5bec0bac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7fed4cfed700 (LWP 19015)):
#0  0x00007fed59dd9376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fed547f8e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fed547f8a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7fed4ffff700 (LWP 19014)):
#0  0x00007fed59dd9376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fed547f8e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fed547f8a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7fed4f7fe700 (LWP 19013)):
#0  0x00007fed59dd9376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fed547f8e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fed547f8a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fed4effd700 (LWP 19012)):
#0  0x00007fed59dd9376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fed547f8e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fed547f8a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fed59dd2609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fed5bb27293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fed56ae0680 (LWP 18995)):
[KCrash Handler]
#4  0x00007fed5e50c897 in ?? () from /lib/x86_64-linux-gnu/libkritaui.so.20
#5  0x00007fed5e50cf34 in KisMimeData::retrieveData(QString const&, QVariant::Type) const () from /lib/x86_64-linux-gnu/libkritaui.so.20
#6  0x00007fed5c0cd01d in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fed5c0cdf4d in QMimeData::imageData() const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fed5c495bb1 in QClipboard::image(QClipboard::Mode) const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#9  0x00007fed5e4bef6c in KisClipboard::clipboardDataChanged() () from /lib/x86_64-linux-gnu/libkritaui.so.20
#10 0x00007fed5c0dd6f0 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fed5c496005 in QClipboard::emitChanged(QClipboard::Mode) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007fed5633cd39 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007fed5c495d30 in QClipboard::setMimeData(QMimeData*, QClipboard::Mode) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007fed5e4bda35 in KisClipboard::setLayers(QList<KisSharedPtr<KisNode> >, KisSharedPtr<KisImage>, bool) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#15 0x00007fed5e515d5f in KisNodeManager::cutLayersToClipboard() () from /lib/x86_64-linux-gnu/libkritaui.so.20
#16 0x00007fed5e3ae751 in ?? () from /lib/x86_64-linux-gnu/libkritaui.so.20
#17 0x00007fed5c0dd6f0 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fed5cb778e6 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fed5cb79fb8 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fed5cd046a2 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fed5cd0bdee in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fed5cd0d082 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fed5cbc0c06 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fed5cd0f68b in QMenu::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fed5cb7ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fed5cb86e77 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fed5e7a2afd in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#28 0x00007fed5c0a669a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fed5cb860a7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fed5cbdc8ee in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fed5cbdf174 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fed5cb7ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fed5cb86bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fed5e7a2afd in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#35 0x00007fed5c0a669a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fed5c4884e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#37 0x00007fed5c489b55 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#38 0x00007fed5c4617ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#39 0x00007fed5636dd7e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#40 0x00007fed59505f9d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fed59506220 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fed5c100fa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fed5cd098f8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007fed5cd09a23 in QMenu::exec(QPoint const&, QAction*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007fed3c5f85ff in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritalayerdocker.so
#48 0x00007fed3c5f8e14 in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritalayerdocker.so
#49 0x00007fed5c0dd6f0 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007fed3c5ec81b in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritalayerdocker.so
#51 0x00007fed3c6093c1 in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritalayerdocker.so
#52 0x00007fed5cbc0c06 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007fed5cc70f82 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007fed5cdfb5b2 in QAbstractItemView::viewportEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007fed5ce6bd2f in QTreeView::viewportEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007fed3c608dbb in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritalayerdocker.so
#57 0x00007fed5c0a6403 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007fed5cb7ddb2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007fed5cb8796c in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007fed5e7a2afd in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#61 0x00007fed5c0a669a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#62 0x00007fed5cbdc50c in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007fed5cbdf174 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#64 0x00007fed5cb7ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#65 0x00007fed5cb86bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#66 0x00007fed5e7a2afd in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#67 0x00007fed5c0a669a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#68 0x00007fed5c4884e8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#69 0x00007fed5c489b55 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#70 0x00007fed5c4617ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#71 0x00007fed5636dd7e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#72 0x00007fed59505f9d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007fed59506220 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007fed595062c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007fed5c100fa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#76 0x00007fed5c0a51ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#77 0x00007fed5c0ad354 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#78 0x000055b68c296ed7 in main ()
[Inferior 1 (process 18995) detached]

Possible duplicates by query: bug 431865, bug 427627, bug 397796, bug 384941, bug 372245.

Reported using DrKonqi
Comment 1 Halla Rempt 2021-02-04 09:01:40 UTC
This is already fixed in the stable branch. A beta of 4.4.3 will come out in two weeks.

*** This bug has been marked as a duplicate of bug 431865 ***