Bug 475038 - Krita has random crash out of nowhere.
Summary: Krita has random crash out of nowhere.
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-30 07:31 UTC by tikoblocks
Modified: 2023-10-01 09:59 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (66.42 KB, text/plain)
2023-09-30 07:31 UTC, tikoblocks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tikoblocks 2023-09-30 07:31:29 UTC
Application: krita (5.1.5)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.1.55-1-lts x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
The crash started occuring randomly from seemingly nowhere.





I started the application from the terminal and here is what I got:

[user@archlinux ~]$ krita
Invalid profile :  "/usr/share/color/icc/colord/Crayons.icc"
Invalid profile :  "/usr/share/color/icc/colord/x11-colors.icc"
Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed,  "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: (libKSeExprUI.so.4: cannot open shared object file: No such file or directory)"
QObject::startTimer: Timers cannot have negative intervals
/usr/lib/krita-python-libs/krita added to PYTHONPATH
kf.kio.filewidgets.kfilefiltercombo: Could not find filter " *.kra *.krz |Krita document "
krita.lib.widgetutils: KoFileDialog::onFilterSelected: Cannot find suffix for filter ""
krita.lib.widgetutils: KoFileDialog::onFilterSelected: Cannot find suffix for filter ""
krita.lib.widgetutils: KoFileDialog::onFilterSelected: Cannot find suffix for filter " *.kra *.krz "
qt.xkb.compose: failed to create compose table
19 -- exe=/usr/bin/krita
13 -- platform=xcb
11 -- display=:0
14 -- appname=krita
17 -- apppath=/usr/bin
10 -- signal=11
11 -- pid=172464
17 -- appversion=5.1.5
18 -- programname=Krita
31 -- bugaddress=submit@bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = krita path = /usr/bin pid = 172464
KCrash: Arguments: /usr/bin/krita 
KCrash: Attempting to start /usr/lib/drkonqi
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 43 and type 'Read', disabling...
QSocketNotifier: Invalid socket 47 and type 'Read', disabling...
QSocketNotifier: Invalid socket 128 and type 'Read', disabling...
QSocketNotifier: Invalid socket 129 and type 'Exception', disabling...
QSocketNotifier: Invalid socket 130 and type 'Read', disabling...
The X11 connection broke (error 1). Did the X11 server die?

[1]+  Stopped                 krita
[user@archlinux ~]$ QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 39 and type 'Read', disabling...
QFile::at: Cannot set file position 0
Unable to start Dr. Konqi
Re-raising signal for core dump handling.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007f80b1f0dbd7 in QuaZip::isOpen() const (this=0x7f7fe412ab60) at /usr/src/debug/quazip/quazip-1.4/quazip/quazip.cpp:650
#7  0x00007f80b1f1a430 in QuaZipFile::close() (this=0x7f7fe40d83f0) at /usr/src/debug/quazip/quazip-1.4/quazip/quazipfile.cpp:472
#8  0x00007f80b1f11399 in QuaZipFile::~QuaZipFile() (this=0x7f7fe40d83f0, this=<optimized out>) at /usr/src/debug/quazip/quazip-1.4/quazip/quazipfile.cpp:174
#9  0x00007f80b1f113ae in QuaZipFile::~QuaZipFile() (this=0x7f7fe40d83f0, this=<optimized out>) at /usr/src/debug/quazip/quazip-1.4/quazip/quazipfile.cpp:176
#10 0x00007f80b3097a21 in KoQuaZipStore::~KoQuaZipStore() (this=0x5631d1b57bd0, this=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:116


Reported using DrKonqi
Comment 1 tikoblocks 2023-09-30 07:31:31 UTC
Created attachment 161960 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Halla Rempt 2023-10-01 09:40:13 UTC
Looks like a messed up Arch build. For instance

Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed,  "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: 

sounds like something did not compile all the way through. If you can reproduce the issue with the appimage, please reopen, otherwise, fix your Arch Linux install.
Comment 3 Antonio Rojas 2023-10-01 09:59:57 UTC
(In reply to Halla Rempt from comment #2)
> Looks like a messed up Arch build. For instance
> 
> Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed, 
> "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: 

This is fine and completely irrelevant. The crash is in quazip though, so please report it upstream to quazip.