Bug 436705 - Krita crashes on exit every time
Summary: Krita crashes on exit every time
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-06 20:01 UTC by Alexey
Modified: 2022-03-17 13:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.17 KB, patch)
2021-09-14 01:44 UTC, cobratornado
Details
New crash information added by DrKonqi (7.12 KB, text/plain)
2022-03-14 13:39 UTC, Airton
Details
New crash information added by DrKonqi (25.83 KB, text/plain)
2022-03-16 23:15 UTC, Harrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2021-05-06 20:01:55 UTC
SUMMARY
Crash report appears every time I close Krita. 

STEPS TO REPRODUCE
1. Start Krita.
2. Exit Krita (method does note make sense).

OBSERVED RESULT
Krash message appears in KDE system tray.

EXPECTED RESULT
No crashes should appear.


SOFTWARE/OS VERSIONS

Application: krita (4.2.9)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-72-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.2 LTS

ADDITIONAL INFORMATION

-- Information about the crash:

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 0x7f6626f7fc80 (LWP 19248))]

Thread 3 (Thread 0x7f660ec9b700 (LWP 19257)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f662be8c0b0 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f662be8bf16 in QSemaphore::tryAcquire(int, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f662d34f9aa in KisTileDataSwapper::run() () from /lib/x86_64-linux-gnu/libkritaimage.so.18
#4  0x00007f662be899d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6629e60609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f662baff293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f661d88f700 (LWP 19253)):
#0  0x00007f662baf2aff in __GI___poll (fds=0x7f661801cf50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f662965136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f66296514a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f662c0a9583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f662c0504db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f662be88785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f6629e93efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f662be899d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f6629e60609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f662baff293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6626f7fc80 (LWP 19248)):
[KCrash Handler]
#6  0x00007f662cab3b1a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f662cac344e in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f662cac3474 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f662cac3474 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f662cac3509 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f662cab83dc in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f662caa7908 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f662caa7e1d in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f662c07b01e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f662caa7c29 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f662cb7b931 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f662c07b01e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f662caa7c29 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f662cb7ddf8 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f662c07b01e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f662caa7c29 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f660d4b825d in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-38-x86_64-linux-gnu.so
#23 0x00007f660dd303f5 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so
#24 0x00007f6614022b60 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-38-x86_64-linux-gnu.so
#25 0x00007f660dd300a0 in ?? () from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-38-x86_64-linux-gnu.so
#26 0x00007f660e1a41aa in ?? () from /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#27 0x00007f660e1ed500 in PyVectorcall_Call () from /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#28 0x00007f660e052017 in ?? () from /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#29 0x00007f660e0d83ad in Py_FinalizeEx () from /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#30 0x00007f66142c0af9 in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritapykrita.so
#31 0x00007f66142c0c90 in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritapykrita.so
#32 0x00007f66142bdd1b in ?? () from /usr/lib/x86_64-linux-gnu/kritaplugins/kritapykrita.so
#33 0x00007f662c07b01e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f662c0855ef in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f662c053aae in QCoreApplication::~QCoreApplication() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f662ca6a49e in QApplication::~QApplication() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f662e62774f in QtSingleApplication::~QtSingleApplication() () from /lib/x86_64-linux-gnu/libkritaui.so.18
#38 0x0000559bd5ce3bdc in main ()
[Inferior 1 (process 19248) detached]

Отправить на https://bugs.kde.org/
Comment 1 Halla Rempt 2021-05-06 20:05:44 UTC
Krita 4.2.9 is very old. Please update to a more recent version of Krita, and use the appimage.
Comment 2 Alexey 2021-05-06 20:15:18 UTC
(In reply to Halla Rempt from comment #1)
> Krita 4.2.9 is very old. Please update to a more recent version of Krita,
> and use the appimage.

Thank you for the answer! Can you please provide me a manual of preferable way to upgrade Krita? Actually I prefer to use packages provided with my Linux distribution.. All of them are up to date.
Comment 3 Halla Rempt 2021-05-07 06:54:35 UTC
Use the appimage; that's all there's to it. Most Linux distributions lag behind our releases a lot. And if they do not, they use an unpatched version of Qt, or a version of Qt that's too new and buggy.
Comment 4 cobratornado 2021-09-14 01:44:16 UTC
Created attachment 141530 [details]
New crash information added by DrKonqi

krita (4.2.9) using Qt 5.12.8

- What I was doing when the application crashed: Closing the application

- Unusual behavior I noticed: Notification that the program has crashed

- Custom settings of the application: None

-- Backtrace (Reduced):
#11 0x00007f1be7731908 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f1be7731e1d in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f1be6d0501e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f1be7731c29 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#16 0x00007f1be6d0501e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 5 Airton 2022-03-14 13:39:30 UTC
Created attachment 147494 [details]
New crash information added by DrKonqi

krita (4.2.9) using Qt 5.12.8

- What I was doing when the application crashed:
Open and immediately close Krita. An error message apears in tray to tell Krita ended unexpectedly

- Unusual behavior I noticed:
Closing Krits is not unexpected!

- Custom settings of the application:

-- Backtrace (Reduced):
#12 0x00007fef92af0908 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fef92af0e1d in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fef920c3eee in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fef92af0c29 in QWidget::~QWidget() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#17 0x00007fef920c3eee in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 6 Harrison 2022-03-16 23:15:52 UTC
Created attachment 147535 [details]
New crash information added by DrKonqi

krita (4.2.9) using Qt 5.12.8

- What I was doing when the application crashed:
Simply opening and closing shows the crash in the tray

-- Backtrace (Reduced):
#11 0x00007f31005df908 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f31005dfe1d in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f30ffbb2eee in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f31005dfc29 in QWidget::~QWidget() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]
#16 0x00007f30ffbb2eee in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 7 Halla Rempt 2022-03-17 13:24:35 UTC
Note to everyone who added there comments to this bug: you are using an outdated distribution build of Krita. Krita 4.2.9 is no longer maintained, and, in any case, it's Ubuntu's Qt build that causes this issue. Use the official appimage for 5.0.2 instead.