https://bugs.kde.org/show_bug.cgi?id=454496

            Bug ID: 454496
           Summary: Krita crash on save
           Product: krita
           Version: 5.0.6
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: connorpick...@gmail.com
  Target Milestone: ---

Application: krita (5.0.6)

Qt Version: 5.15.2
Frameworks Version: 5.94.0
Operating System: Linux 5.17.9-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.5 [KCrashBackend]

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

Saving a new file causes Krita to crash every time. Others have suggested
rolling back kxmlgui but I do not have that package installed.

See similar post here:
https://old.reddit.com/r/krita/comments/urugq5/krita_crashes_when_trying_to_save_file/

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f84df6676c3 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  0x00007f84df6c8014 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 0x00007f84df6c80f9 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 0x00007f84e0c6222e in QObjectPrivate::deleteChildren
(this=this@entry=0x5591df9ccf60) at kernel/qobject.cpp:2104
#13 0x00007f84e1820946 in QWidget::~QWidget (this=0x5591dfaa5ba0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#14 0x00007f84e1820c89 in QWidget::~QWidget (this=0x5591dfaa5ba0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1546
#15 0x00007f84e0c6222e in QObjectPrivate::deleteChildren
(this=this@entry=0x5591dfa669c0) at kernel/qobject.cpp:2104
#16 0x00007f84e1820946 in QWidget::~QWidget (this=0x5591df0cbc60,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#17 0x00007f84e1992869 in QSplitter::~QSplitter (this=0x5591df0cbc60,
__in_chrg=<optimized out>) at widgets/qsplitter.cpp:979
#18 0x00007f84e0c6222e in QObjectPrivate::deleteChildren
(this=this@entry=0x5591dfd732e0) at kernel/qobject.cpp:2104
#19 0x00007f84e1820946 in QWidget::~QWidget (this=0x5591dfa4c2b0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#20 0x00007f84d81e83e9 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 0x00007f84e0c6222e in QObjectPrivate::deleteChildren
(this=this@entry=0x5591d8fd5ed0) at kernel/qobject.cpp:2104
#22 0x00007f84e1820946 in QWidget::~QWidget (this=this@entry=0x5591df477aa0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#23 0x00007f84e19e98fa in QDialog::~QDialog (this=this@entry=0x5591df477aa0,
__in_chrg=<optimized out>) at dialogs/qdialog.cpp:426
#24 0x00007f84d828931d 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 0x00007f84d829de67 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 0x00007f84d829dec9 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 0x00007f84e19e9c84 in QDialogPrivate::~QDialogPrivate (this=0x5591d8dc98c0,
__in_chrg=<optimized out>) at dialogs/qdialog.cpp:112
#30 0x00007f84e19f4729 in QFileDialogPrivate::~QFileDialogPrivate
(this=0x5591d8dc98c0, __in_chrg=<optimized out>) at dialogs/qfiledialog.cpp:553
#31 0x00007f84df65c381 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 0x00007f84df67180b 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 0x00007f84e29ca00d in KisMainWindow::saveDocument (this=0x5591d4a38830,
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 0x00007f84e29cacd6 in KisMainWindow::slotFileSaveAs (this=0x5591d4a38830)
at /usr/src/debug/krita-5.0.6-1.2.x86_64/libs/ui/KisMainWindow.cpp:1752
#39 0x00007f84e0c6fe1c in doActivate<false> (sender=0x5591d96e1c20,
signal_index=4, argv=0x7fffa64b88d0) at kernel/qobject.cpp:3898
#40 0x00007f84e0c690cf in QMetaObject::activate
(sender=sender@entry=0x5591d96e1c20, m=m@entry=0x7f84e1cf7d40
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7fffa64b88d0) at kernel/qobject.cpp:3946
#41 0x00007f84e17dcb62 in QAction::triggered (this=this@entry=0x5591d96e1c20,
_t1=<optimized out>) at .moc/moc_qaction.cpp:376
#42 0x00007f84e17df7ab in QAction::activate (this=0x5591d96e1c20,
event=<optimized out>) at kernel/qaction.cpp:1161
#43 0x00007f84e17e037d in QAction::event (e=<optimized out>, this=<optimized
out>) at kernel/qaction.cpp:1086
#44 QAction::event (this=<optimized out>, e=<optimized out>) at
kernel/qaction.cpp:1075
#45 0x00007f84e17e337e in QApplicationPrivate::notify_helper
(this=this@entry=0x5591d3566740, receiver=receiver@entry=0x5591d96e1c20,
e=0x7fffa64b8b10) at kernel/qapplication.cpp:3632
#46 0x00007f84e17ea72d in QApplication::notify (this=this@entry=0x7fffa64b9110,
receiver=receiver@entry=0x5591d96e1c20, e=e@entry=0x7fffa64b8b10) at
kernel/qapplication.cpp:3378
#47 0x00007f84e298d63e in KisApplication::notify (this=0x7fffa64b9110,
receiver=0x5591d96e1c20, event=0x7fffa64b8b10) at
/usr/src/debug/krita-5.0.6-1.2.x86_64/libs/ui/KisApplication.cpp:768
#48 0x00007f84e0c38988 in QCoreApplication::notifyInternal2
(receiver=0x5591d96e1c20, event=0x7fffa64b8b10) at
kernel/qcoreapplication.cpp:1064
#49 0x00007f84e10c3e6b in QShortcutMap::dispatchEvent (this=<optimized out>,
e=<optimized out>) at kernel/qshortcutmap.cpp:675
#50 0x00007f84e10c47bb in QShortcutMap::tryShortcut
(this=this@entry=0x5591d3566808, e=e@entry=0x7fffa64b8bd0) at
kernel/qshortcutmap.cpp:343
#51 0x00007f84e106c986 in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, timestamp=69932, keyCode=83, modifiers=...,
nativeScanCode=39, nativeVirtualKey=83, nativeModifiers=5, text=...,
autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#52 0x00007f84e109072d in QGuiApplicationPrivate::processKeyEvent
(e=0x5591df9eea60) at kernel/qguiapplication.cpp:2395
#53 0x00007f84e10692ac in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#54 0x00007f84da8c34da in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#55 0x00007f84ddfc6da0 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#56 0x00007f84ddfc7158 in ?? () from /lib64/libglib-2.0.so.0
#57 0x00007f84ddfc71ec in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#58 0x00007f84e0c905a6 in QEventDispatcherGlib::processEvents
(this=0x5591d34407f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f84e0c373fb in QEventLoop::exec (this=this@entry=0x7fffa64b8f10,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007f84e0c3f566 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x00007f84e10883bc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#62 0x00007f84e17e32f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#63 0x00005591d1f4579c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/krita-5.0.6-1.2.x86_64/krita/main.cc:698
[Inferior 1 (process 2843) detached]

The reporter indicates this bug may be a duplicate of or related to bug 453884.

Possible duplicates by query: bug 454020, bug 453884, bug 436724, bug 433633,
bug 426384.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to