Bug 445795 - Crash on creating new empty file
Summary: Crash on creating new empty file
Status: RESOLVED DUPLICATE of bug 445719
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.4.8
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-11-20 09:42 UTC by Stefan Huber
Modified: 2021-11-20 09:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-11-20 09:42:57 UTC
Application: krita (4.4.8)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.15.1-gentoo x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "Gentoo Base System release 2.7"

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

Did some drawing. After some time it crashed. After restart it crashes when creating new empty files.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f8201b69536 in __GI_abort () at abort.c:79
#6  0x00007f8201bc0658 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f8201cc85ca "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007f8201c4d462 in __GI___fortify_fail (msg=msg@entry=0x7f8201cc85b2 "stack smashing detected") at fortify_fail.c:26
#8  0x00007f8201c4d440 in __stack_chk_fail () at stack_chk_fail.c:24
#9  0x00007f82025d7b74 in QImageData::create(QSize const&, QImage::Format) () from /usr/lib64/libQt5Gui.so.5
#10 0x00007f82025d7bab in QImage::QImage(QSize const&, QImage::Format) () from /usr/lib64/libQt5Gui.so.5
#11 0x00007f82025d7be9 in QImage::QImage(int, int, QImage::Format) () from /usr/lib64/libQt5Gui.so.5
#12 0x00007f820278306b in ?? () from /usr/lib64/libQt5Gui.so.5
#13 0x00007f82025dc54d in QImage::smoothScaled(int, int) const () from /usr/lib64/libQt5Gui.so.5
#14 0x00007f82025deca2 in QImage::transformed(QTransform const&, Qt::TransformationMode) const () from /usr/lib64/libQt5Gui.so.5
#15 0x00007f82025df339 in QImage::scaled(QSize const&, Qt::AspectRatioMode, Qt::TransformationMode) const () from /usr/lib64/libQt5Gui.so.5
#16 0x00007f8204300d62 in ?? () from /usr/lib64/libkritaui.so.20
#17 0x00007f82042fd80f in KisPrescaledProjection::drawUsingBackend(QPainter&, KisSharedPtr<KisPPUpdateInfo>) () from /usr/lib64/libkritaui.so.20
#18 0x00007f82042fdaee in KisPrescaledProjection::preScale() () from /usr/lib64/libkritaui.so.20
#19 0x00007f82042ff068 in ?? () from /usr/lib64/libkritaui.so.20
#20 0x00007f8202bf3f44 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#23 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f8202beb4c4 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f8202befe93 in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f8202befe39 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f8202befeaf in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f8202bf2fd3 in QWidgetPrivate::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f8202befe19 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f8202befeaf in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f8202bf2fd3 in QWidgetPrivate::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f8202befe19 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f8202befeaf in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f8202bf2fd3 in QWidgetPrivate::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f8202befe19 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f8202befeaf in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f8202bf2fd3 in QWidgetPrivate::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f8202d2d6a9 in QMdiSubWindow::changeEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007f8202bf3490 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#42 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f8202bef595 in QWidget::setWindowState(QFlags<Qt::WindowState>) () from /usr/lib64/libQt5Widgets.so.5
#44 0x00007f8202befbc1 in QWidget::showMaximized() () from /usr/lib64/libQt5Widgets.so.5
#45 0x00007f8202d2ce3b in QMdiSubWindow::eventFilter(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#46 0x00007f82021a61a5 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#47 0x00007f8202bb165e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#48 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#49 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#50 0x00007f8202bef595 in QWidget::setWindowState(QFlags<Qt::WindowState>) () from /usr/lib64/libQt5Widgets.so.5
#51 0x00007f8202befbc1 in QWidget::showMaximized() () from /usr/lib64/libQt5Widgets.so.5
#52 0x00007f820468ded5 in KisMainWindow::showView(KisView*, QMdiSubWindow*) () from /usr/lib64/libkritaui.so.20
#53 0x00007f820468a1e7 in KisMainWindow::addView(KisView*, QMdiSubWindow*) () from /usr/lib64/libkritaui.so.20
#54 0x00007f820468a301 in KisMainWindow::addViewAndNotifyLoadingCompleted(KisDocument*, QMdiSubWindow*) () from /usr/lib64/libkritaui.so.20
#55 0x00007f82021d8cb0 in ?? () from /usr/lib64/libQt5Core.so.5
#56 0x00007f82042b1e7f in ?? () from /usr/lib64/libkritaui.so.20
#57 0x00007f82021d8cb0 in ?? () from /usr/lib64/libQt5Core.so.5
#58 0x00007f8202d4c2f0 in ?? () from /usr/lib64/libQt5Widgets.so.5
#59 0x00007f82021d8cb0 in ?? () from /usr/lib64/libQt5Core.so.5
#60 0x00007f8202ca30d2 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
#61 0x00007f8202ca334a in ?? () from /usr/lib64/libQt5Widgets.so.5
#62 0x00007f8202ca5362 in ?? () from /usr/lib64/libQt5Widgets.so.5
#63 0x00007f8202ca5585 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#64 0x00007f8202bf34c8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#65 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#66 0x00007f8202bb8bdf in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#67 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#68 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#69 0x00007f8202bb7c26 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#70 0x00007f8202c0c6ba in ?? () from /usr/lib64/libQt5Widgets.so.5
#71 0x00007f8202c0f815 in ?? () from /usr/lib64/libQt5Widgets.so.5
#72 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#73 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#74 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#75 0x00007f820259253d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#76 0x00007f82025731db in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#77 0x00007f81fcc1543a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#78 0x00007f81ffad8acb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f81ffad8d78 in ?? () from /usr/lib64/libglib-2.0.so.0
#80 0x00007f81ffad8e2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#81 0x00007f82021f6c9a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#82 0x00007f82021a4e93 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#83 0x00007f8202db94a9 in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5
#84 0x00007f820468854d in KisMainWindow::slotFileNew() () from /usr/lib64/libkritaui.so.20
#85 0x00007f82021d8cb0 in ?? () from /usr/lib64/libQt5Core.so.5
#86 0x00007f8202ca30d2 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
#87 0x00007f8202ca334a in ?? () from /usr/lib64/libQt5Widgets.so.5
#88 0x00007f8202ca5362 in ?? () from /usr/lib64/libQt5Widgets.so.5
#89 0x00007f8202ca5585 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#90 0x00007f8202bf34c8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#91 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#92 0x00007f8202bb8bdf in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#93 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#94 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#95 0x00007f8202bb7c26 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#96 0x00007f8202c0c6ba in ?? () from /usr/lib64/libQt5Widgets.so.5
#97 0x00007f8202c0f815 in ?? () from /usr/lib64/libQt5Widgets.so.5
#98 0x00007f8202bb166f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#99 0x00007f820465a549 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.20
#100 0x00007f82021a63e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#101 0x00007f820259253d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#102 0x00007f82025731db in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#103 0x00007f81fcc1543a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#104 0x00007f81ffad8acb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#105 0x00007f81ffad8d78 in ?? () from /usr/lib64/libglib-2.0.so.0
#106 0x00007f81ffad8e2f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#107 0x00007f82021f6c9a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#108 0x00007f82021a4e93 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#109 0x00007f82021ad110 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#110 0x00005608ac2e497b in ?? ()
#111 0x00007f8201b6a7fd in __libc_start_main (main=0x5608ac2e3180, argc=1, argv=0x7ffdb60a0de8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb60a0dd8) at ../csu/libc-start.c:332
#112 0x00005608ac2e5a3a in ?? ()
[Inferior 1 (process 2708283) detached]

Possible duplicates by query: bug 445746, bug 445496, bug 445355, bug 444950, bug 443308.

Reported using DrKonqi
Comment 1 Halla Rempt 2021-11-20 09:44:29 UTC
This is a bug in Qt. See the duplicate report 445719

*** This bug has been marked as a duplicate of bug 445719 ***
Comment 2 Halla Rempt 2021-11-20 09:46:16 UTC
Note that you should use the appimage for the best experience since that includes a patched-as-heck Qt, and that this crash won't happen if you enable canvas acceleration. (But the same bug will cause crashes in other places)