Bug 474219

Summary: Dolphin crashes on close
Product: [Applications] dolphin Reporter: Nicolas Fella <nicolas.fella>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: kde, kfm-devel
Priority: VHI Keywords: drkonqi, qt6
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas Fella 2023-09-06 10:29:29 UTC
Application: dolphin (23.11.70)
 (Compiled from sources)
Qt Version: 6.5.2
Frameworks Version: 5.240.0
Operating System: Linux 6.4.13-200.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 38 (Thirty Eight)"
DrKonqi: 5.27.80 [KCrashBackend]

-- Information about the crash:
- Open Dolphin
- Open any kind of menu (context menu, menu bar menu etc)
- Close Dolphin

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f921e7ab35a in wl_map_insert_at (map=<optimized out>, flags=1, i=88, data=<optimized out>) at ../../src/wayland/src/wayland-util.c:276
#6  0x00007f921e7a6cb8 in proxy_destroy (proxy=0x20d9800) at ../../src/wayland/src/wayland-client.c:538
#7  0x00007f921e7a7112 in wl_proxy_destroy_caller_locks (proxy=0x20d9800) at ../../src/wayland/src/wayland-client.c:562
#8  wl_proxy_marshal_array_flags (proxy=proxy@entry=0x20d9800, opcode=opcode@entry=0, interface=interface@entry=0x0, version=version@entry=1, flags=flags@entry=1, args=args@entry=0x7ffc17af9500) at ../../src/wayland/src/wayland-client.c:900
#9  0x00007f921e7a730a in wl_proxy_marshal_flags (proxy=0x20d9800, opcode=0, interface=0x0, version=1, flags=1) at ../../src/wayland/src/wayland-client.c:823
#10 0x00007f91f004f41b in xdg_activation_v1_destroy (xdg_activation_v1=0x20d9800) at /home/nico/kde6/build/kwayland-integration/src/windowsystem/wayland-xdg-activation-v1-client-protocol.h:196
#11 QtWayland::xdg_activation_v1::destroy (this=this@entry=0x1ed1e90) at /home/nico/kde6/build/kwayland-integration/src/windowsystem/qwayland-xdg-activation-v1.cpp:71
#12 0x00007f91f0063430 in WaylandXdgActivationV1::~WaylandXdgActivationV1 (this=0x1ed1e80, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwayland-integration/src/windowsystem/waylandxdgactivationv1.cpp:17
#13 WaylandXdgActivationV1::~WaylandXdgActivationV1 (this=0x1ed1e80, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwayland-integration/src/windowsystem/waylandxdgactivationv1.cpp:19
#14 0x00007f91f0051b9d in std::default_delete<WaylandXdgActivationV1>::operator() (__ptr=<optimized out>, this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:93
#15 std::unique_ptr<WaylandXdgActivationV1, std::default_delete<WaylandXdgActivationV1> >::~unique_ptr (this=0x7f91f006f800 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_privateWaylandIntegrationSelf> >::instance()::holder+96>, __in_chrg=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:404
#16 WaylandIntegration::~WaylandIntegration (this=0x7f91f006f7a0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_privateWaylandIntegrationSelf> >::instance()::holder>, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwayland-integration/src/windowsystem/waylandintegration.cpp:44
#17 0x00007f91f0051c89 in WaylandIntegrationSingleton::~WaylandIntegrationSingleton (this=<optimized out>, __in_chrg=<optimized out>) at /home/nico/kde6/src/kwayland-integration/src/windowsystem/waylandintegration.cpp:27
#18 QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_privateWaylandIntegrationSelf>::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt6/QtCore/qglobalstatic.h:43
#19 0x00007f921f8621a6 in __run_exit_handlers () from /lib64/libc.so.6
#20 0x00007f921f8622ee in exit () from /lib64/libc.so.6
#21 0x00007f921f849b51 in __libc_start_call_main () from /lib64/libc.so.6
#22 0x00007f921f849c0b in __libc_start_main_impl () from /lib64/libc.so.6
#23 0x000000000043c305 in _start ()
[Inferior 1 (process 37257) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-09-06 10:30:08 UTC
Regression from https://invent.kde.org/plasma/kwayland-integration/-/merge_requests/47