Bug 430426 - Krita crashes when trying to open new files in KDE Wayland.
Summary: Krita crashes when trying to open new files in KDE Wayland.
Status: RESOLVED DUPLICATE of bug 429079
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.4.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-12-15 13:47 UTC by SoilpH96
Modified: 2020-12-15 14:12 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 SoilpH96 2020-12-15 13:47:56 UTC
Application: krita (4.4.1)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.9.14-arch1-1 x86_64
Windowing system: Wayland
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
Opening a file in a Wayland session.

- Custom settings of the application:
Launched using the --platform wayland argument. Using XWayland appears to not cause problems.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f10e7b78596 in XQueryKeymap () from /usr/lib/libX11.so.6
#5  0x00007f10ead26cb9 in KisExtendedModifiersMapper::Private::Private() () from /usr/lib/libkritaui.so.20
#6  0x00007f10ead26e7e in KisExtendedModifiersMapper::KisExtendedModifiersMapper() () from /usr/lib/libkritaui.so.20
#7  0x00007f10ead24285 in KisInputManager::Private::handleCompressedTabletEvent(QEvent*) () from /usr/lib/libkritaui.so.20
#8  0x00007f10ead1e50a in KisInputManager::slotCompressedMoveEvent() () from /usr/lib/libkritaui.so.20
#9  0x00007f10e8876e10 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f10e98c8766 in KisSignalCompressor::tryEmitSignalSafely() () from /usr/lib/libkritaglobal.so.20
#11 0x00007f10e98c8992 in KisSignalCompressor::start() () from /usr/lib/libkritaglobal.so.20
#12 0x00007f10ead202e7 in KisInputManager::eventFilterImpl(QEvent*) () from /usr/lib/libkritaui.so.20
#13 0x00007f10e883f7e3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f10e9307741 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f10e930e87b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f10ead9610a in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.20
#17 0x00007f10e883fa7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f10e930d87e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f10e9361249 in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f10e936463f in ?? () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f10e9307752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f10ead9610a in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.20
#23 0x00007f10e883fa7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007f10e8c19594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#25 0x00007f10e8beebb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#26 0x00007f10e8beee39 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#27 0x00007f10e886c582 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007f10e9307752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f10ead9610a in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.20
#30 0x00007f10e883fa7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007f10e8842573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007f10e88990a4 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007f10e5cc48f4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f10e5d18821 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f10e5cc3121 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f10e88986e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007f10e883e3fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#38 0x00007f10e8846894 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#39 0x0000556a5dde3088 in main ()
[Inferior 1 (process 8312) detached]

Reported using DrKonqi
Comment 1 Halla Rempt 2020-12-15 13:50:28 UTC
Yes, krita needs xwayland. It will not run otherwise. Until there is proper support for wacom tablets and color management in Wayland, Qt and window managers, it's not useful to making Krita run on Wayland.

*** This bug has been marked as a duplicate of bug 429079 ***
Comment 2 Halla Rempt 2020-12-15 14:08:37 UTC
Git commit ac9a2a12e00e61e4a4d4702c3078e91e80a365d5 by Boudewijn Rempt.
Committed on 15/12/2020 at 14:01.
Pushed by rempt into branch 'master'.

Warn the user when trying to run Krita on Wayland

We don't support the wayland platform plugin until it has tablet
support and color management support.
Related: bug 429079

M  +6    -0    krita/main.cc

https://invent.kde.org/graphics/krita/commit/ac9a2a12e00e61e4a4d4702c3078e91e80a365d5
Comment 3 Halla Rempt 2020-12-15 14:11:58 UTC
Git commit de17b3af87c3520b98b48d8a58d36c2f0469490e by Boudewijn Rempt.
Committed on 15/12/2020 at 14:11.
Pushed by rempt into branch 'krita/4.4.2'.

Warn the user when trying to run Krita on Wayland

We don't support the wayland platform plugin until it has tablet
support and color management support.
Related: bug 429079
(cherry picked from commit ac9a2a12e00e61e4a4d4702c3078e91e80a365d5)

M  +6    -0    krita/main.cc

https://invent.kde.org/graphics/krita/commit/de17b3af87c3520b98b48d8a58d36c2f0469490e
Comment 4 Halla Rempt 2020-12-15 14:12:29 UTC
Git commit 75f597455fa587278c2108cfbfbe3f9075d3a59e by Boudewijn Rempt.
Committed on 15/12/2020 at 14:12.
Pushed by rempt into branch 'krita/4.3'.

Warn the user when trying to run Krita on Wayland

We don't support the wayland platform plugin until it has tablet
support and color management support.
Related: bug 429079
(cherry picked from commit ac9a2a12e00e61e4a4d4702c3078e91e80a365d5)

M  +6    -0    krita/main.cc

https://invent.kde.org/graphics/krita/commit/75f597455fa587278c2108cfbfbe3f9075d3a59e