Krita crash on saving
Hello, Krita crashes for me on the latest snapshots when saving file. Dr. Konqui output: Application: Krita (krita), signal: Segmentation fault [KCrash Handler] #4 0x00007fcee791e6c3 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x2ffffffff) at /usr/include/c++/12/bits/ atomic_base.h:488 #5 QAtomicOps<int>::loadRelaxed<int> (_q_value=<error reading variable: Cannot access memory at address 0x2ffffffff>) at /usr/include/qt5/QtCore/ qatomic_cxx11.h:239 #6 QBasicAtomicInteger<int>::loadRelaxed (this=0x2ffffffff) at /usr/include/ qt5/QtCore/qbasicatomic.h:107 #7 QtPrivate::RefCount::deref (this=0x2ffffffff) at /usr/include/qt5/QtCore/ qrefcount.h:66 #8 QList<QAction*>::~QList (this=<optimized out>, this=<optimized out>) at / usr/include/qt5/QtCore/qlist.h:873 #9 0x00007fcee797f014 in KToolBar::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/ widgetutils/xmlgui/ktoolbar.cpp:83 #10 KToolBar::~KToolBar (this=<optimized out>, this=<optimized out>) at /usr/ src/debug/krita-5.0.6-1.2.x86_64/libs/widgetutils/xmlgui/ktoolbar.cpp:794 #11 0x00007fcee797f0f9 in KToolBar::~KToolBar (this=<optimized out>, this=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/ widgetutils/xmlgui/ktoolbar.cpp:795 #12 0x00007fcee8f1922e in QObjectPrivate::deleteChildren (this=this@entry=0x55a4a247fac0) at kernel/qobject.cpp:2104 #13 0x00007fcee9ad7946 in QWidget::~QWidget (this=0x55a4a6d5eb80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #14 0x00007fcee9ad7c89 in QWidget::~QWidget (this=0x55a4a6d5eb80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1546 #15 0x00007fcee8f1922e in QObjectPrivate::deleteChildren (this=this@entry=0x55a49c2f8780) at kernel/qobject.cpp:2104 #16 0x00007fcee9ad7946 in QWidget::~QWidget (this=0x55a49c2f8740, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #17 0x00007fcee9c49869 in QSplitter::~QSplitter (this=0x55a49c2f8740, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:979 #18 0x00007fcee8f1922e in QObjectPrivate::deleteChildren (this=this@entry=0x55a4a61d6f10) at kernel/qobject.cpp:2104 #19 0x00007fcee9ad7946 in QWidget::~QWidget (this=0x55a49cc5fd20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #20 0x00007fcee292c3e9 in KFileWidget::~KFileWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kio-5.94.0-1.1.x86_64/src/filewidgets/ kfilewidget.cpp:472 #21 0x00007fcee8f1922e in QObjectPrivate::deleteChildren (this=this@entry=0x55a4a13054c0) at kernel/qobject.cpp:2104 #22 0x00007fcee9ad7946 in QWidget::~QWidget (this=this@entry=0x55a4a2e6db20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #23 0x00007fcee9ca08fa in QDialog::~QDialog (this=this@entry=0x55a4a2e6db20, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:426 #24 0x00007fcee29e231d in KDEPlatformFileDialogBase::~KDEPlatformFileDialogBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-integration-5.24.5-1.2.x86_64/ build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/ EWIEGA46WW/../../../../../src/platformtheme/kdeplatformfiledialogbase_p.h:14 #25 KDEPlatformFileDialog::~KDEPlatformFileDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-integration-5.24.5-1.2.x86_64/ build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/ EWIEGA46WW/../../../../../src/platformtheme/kdeplatformfiledialoghelper.h:14 #26 KDEPlatformFileDialog::~KDEPlatformFileDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5-integration-5.24.5-1.2.x86_64/ build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/ EWIEGA46WW/../../../../../src/platformtheme/kdeplatformfiledialoghelper.h:14 #27 0x00007fcee29f6e67 in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5- integration-5.24.5-1.2.x86_64/src/platformtheme/ kdeplatformfiledialoghelper.cpp:257 #28 0x00007fcee29f6ec9 in KDEPlatformFileDialogHelper::~KDEPlatformFileDialogHelper (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma5- integration-5.24.5-1.2.x86_64/src/platformtheme/ kdeplatformfiledialoghelper.cpp:258 #29 0x00007fcee9ca0c84 in QDialogPrivate::~QDialogPrivate (this=0x55a4aaf497e0, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:112 #30 0x00007fcee9cab729 in QFileDialogPrivate::~QFileDialogPrivate (this=0x55a4aaf497e0, __in_chrg=<optimized out>) at dialogs/qfiledialog.cpp: 553 #31 0x00007fcee7913381 in KisPreviewFileDialog::~KisPreviewFileDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ krita-5.0.6-1.2.x86_64/build/libs/widgetutils/kritawidgetutils_autogen/ EWIEGA46WW/../../../../../libs/widgetutils/KisPreviewFileDialog.h:41 #32 KisPreviewFileDialog::~KisPreviewFileDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/build/libs/ widgetutils/kritawidgetutils_autogen/EWIEGA46WW/../../../../../libs/ widgetutils/KisPreviewFileDialog.h:41 #33 0x00007fcee792880b in QScopedPointerDeleter<KisPreviewFileDialog>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:52 #34 QScopedPointer<KisPreviewFileDialog, QScopedPointerDeleter<KisPreviewFileDialog> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/ qscopedpointer.h:107 #35 KoFileDialog::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/widgetutils/ KoFileDialog.cpp:43 #36 KoFileDialog::~KoFileDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/widgetutils/KoFileDialog.cpp:67 #37 0x00007fceeac8100d in KisMainWindow::saveDocument (this=0x55a49cf08080, document=<optimized out>, saveas=<optimized out>, isExporting=<optimized out>, isAdvancedExporting=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/ libs/ui/KisMainWindow.cpp:1471 #38 0x00007fceeac81c73 in KisMainWindow::slotFileSave (this=0x55a49cf08080) at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/ui/KisMainWindow.cpp:1745 #39 0x00007fcee8f26e1c in doActivate<false> (sender=0x55a4a2dd0580, signal_index=4, argv=0x7ffcf0d59aa0) at kernel/qobject.cpp:3898 #40 0x00007fcee8f200cf in QMetaObject::activate (sender=sender@entry=0x55a4a2dd0580, m=m@entry=0x7fcee9faed40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcf0d59aa0) at kernel/qobject.cpp:3946 #41 0x00007fcee9a93b62 in QAction::triggered (this=this@entry=0x55a4a2dd0580, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #42 0x00007fcee9a967ab in QAction::activate (this=0x55a4a2dd0580, event=<optimized out>) at kernel/qaction.cpp:1161 #43 0x00007fcee9b8e01a in QAbstractButtonPrivate::click (this=0x55a4a5c5bbc0) at widgets/qabstractbutton.cpp:398 #44 0x00007fcee9b8e167 in QAbstractButton::mouseReleaseEvent (this=0x55a4a5c5b5f0, e=0x7ffcf0d5a0c0) at widgets/qabstractbutton.cpp:1044 #45 0x00007fcee9c860fa in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622 #46 0x00007fcee9adbf48 in QWidget::event (this=0x55a4a5c5b5f0, event=0x7ffcf0d5a0c0) at kernel/qwidget.cpp:9020 #47 0x00007fcee9a9a37e in QApplicationPrivate::notify_helper (this=this@entry=0x55a49b9a2e60, receiver=receiver@entry=0x55a4a5c5b5f0, e=e@entry=0x7ffcf0d5a0c0) at kernel/qapplication.cpp:3632 #48 0x00007fcee9aa28c2 in QApplication::notify (this=this@entry=0x7ffcf0d5a940, receiver=receiver@entry=0x55a4a5c5b5f0, e=e@entry=0x7ffcf0d5a0c0) at kernel/qapplication.cpp:3076 #49 0x00007fceeac4463e in KisApplication::notify (this=0x7ffcf0d5a940, receiver=0x55a4a5c5b5f0, event=0x7ffcf0d5a0c0) at /usr/src/debug/ krita-5.0.6-1.2.x86_64/libs/ui/KisApplication.cpp:768 #50 0x00007fcee8eef988 in QCoreApplication::notifyInternal2 (receiver=0x55a4a5c5b5f0, event=0x7ffcf0d5a0c0) at kernel/ qcoreapplication.cpp:1064 #51 0x00007fcee9aa09ce in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55a4a5c5b5f0, event=event@entry=0x7ffcf0d5a0c0, alienWidget=<optimized out>, nativeWidget=0x55a49cf08080, buttonDown=buttonDown@entry=0x7fcee9fe6330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #52 0x00007fcee9af4d68 in QWidgetWindow::handleMouseEvent (this=0x55a4a2e805c0, event=0x7ffcf0d5a410) at kernel/qwidgetwindow.cpp:683 #53 0x00007fcee9af82c0 in QWidgetWindow::event (this=0x55a4a2e805c0, event=0x7ffcf0d5a410) at kernel/qwidgetwindow.cpp:300 #54 0x00007fcee9a9a37e in QApplicationPrivate::notify_helper (this=this@entry=0x4037000000000000, receiver=receiver@entry=0x55a4a2e805c0, e=0x7ffcf0d5a410) at kernel/qapplication.cpp:3632 #55 0x00007fcee9aa172d in QApplication::notify (this=this@entry=0x7ffcf0d5a940, receiver=receiver@entry=0x55a4a2e805c0, e=e@entry=0x7ffcf0d5a410) at kernel/qapplication.cpp:3378 #56 0x00007fceeac4463e in KisApplication::notify (this=0x7ffcf0d5a940, receiver=0x55a4a2e805c0, event=0x7ffcf0d5a410) at /usr/src/debug/ krita-5.0.6-1.2.x86_64/libs/ui/KisApplication.cpp:768 #57 0x00007fcee8eef988 in QCoreApplication::notifyInternal2 (receiver=0x55a4a2e805c0, event=0x7ffcf0d5a410) at kernel/ qcoreapplication.cpp:1064 #58 0x00007fcee934ba45 in QGuiApplicationPrivate::processMouseEvent (e=0x55a4aaf492c0) at kernel/qguiapplication.cpp:2282 #59 0x00007fcee93202ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #60 0x00007fcee2b784da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #61 0x00007fcee627bda0 in g_main_context_dispatch () from /lib64/ libglib-2.0.so.0 #62 0x00007fcee627c158 in ?? () from /lib64/libglib-2.0.so.0 #63 0x00007fcee627c1ec in g_main_context_iteration () from /lib64/ libglib-2.0.so.0 #64 0x00007fcee8f475a6 in QEventDispatcherGlib::processEvents (this=0x55a49ba63fa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #65 0x00007fcee8eee3fb in QEventLoop::exec (this=this@entry=0x7ffcf0d5a740, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/ qflags.h:69 #66 0x00007fcee8ef6566 in QCoreApplication::exec () at ../../include/ QtCore/../../src/corelib/global/qflags.h:121 #67 0x00007fcee933f3bc in QGuiApplication::exec () at kernel/ qguiapplication.cpp:1867 #68 0x00007fcee9a9a2f5 in QApplication::exec () at kernel/qapplication.cpp: 2824 #69 0x000055a49942279c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krita-5.0.6-1.2.x86_64/krita/main.cc:698
Hi Gerd, On Sat 2022-05-21, Gerd Fleischer wrote:
Krita crashes for me on the latest snapshots when saving file.
I believe that would make a good bug report via https://bugzilla.opensuse.org/enter_bug.cgi Gerald
participants (2)
-
Gerald Pfeifer
-
Gerd Fleischer