Bug 452204

Summary: Plasma (Wayland) Starting kinfocenter and Ctrl+C in konsole causes a segfault
Product: [Plasma] plasmashell Reporter: Stefan Rücker <s.ruecker>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi, wayland
Version: 5.24.3   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Rücker 2022-04-03 00:31:29 UTC
Application: plasmashell (5.24.3)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.0-5-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.24.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Just tried wayland, and only got a konsole from the saved session but major parts of plasma didn't show up (e.g. no taskbar)

Then started kinfocenter from kinfocenter, which didn't load as well and afterwards pressing Ctrl+C a crash occured.

stefan@mars:~$ kinfocenter 
QSocketNotifier: Can only be used with threads started with QThread
kf.xmlgui: cannot find .rc file "kinfocenterui.rc" for component "kinfocenter"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/share/kpackage/kcms/kcm_about-distro/contents/ui/main.qml:72:9: QML FormLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

^C

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fabfce43236 in QtWayland::kde_primary_output_v1::handle_primary_output (data=0x5653ef0ff2e0, object=0x5653efd5ac80, output_name=0x7fabf000ab0c "eDP-1") at ./obj-x86_64-linux-gnu/backends/kwayland/qwayland-kde-primary-output-v1.cpp:83
#5  0x00007fac3878c7ea in ffi_call_unix64 () at ../src/x86/unix64.S:105
#6  0x00007fac3878b923 in ffi_call_int (cif=0x7ffc08142fd0, fn=0x7fabfce43210 <QtWayland::kde_primary_output_v1::handle_primary_output(void*, kde_primary_output_v1*, char const*)>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:672
#7  0x00007fac3af9d661 in wl_closure_invoke (closure=closure@entry=0x7fabf000aa30, flags=flags@entry=1, target=<optimized out>, target@entry=0x5653efd5ac80, opcode=opcode@entry=0, data=<optimized out>) at ../src/connection.c:1025
#8  0x00007fac3af99a0a in dispatch_event (display=display@entry=0x5653ee9052f0, queue=<optimized out>, queue=<optimized out>) at ../src/wayland-client.c:1583
#9  0x00007fac3af9b32c in dispatch_queue (queue=0x5653ee9053c0, display=0x5653ee9052f0) at ../src/wayland-client.c:1729
#10 wl_display_dispatch_queue_pending (display=0x5653ee9052f0, queue=0x5653ee9053c0) at ../src/wayland-client.c:1971
#11 0x00007fac36aefc1b in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#12 0x00007fac38ec01e8 in doActivate<false> (sender=0x5653ee91d510, signal_index=4, argv=0x7ffc08143300) at kernel/qobject.cpp:3898
#13 0x00007fac38eb967f in QMetaObject::activate (sender=sender@entry=0x5653ee91d510, m=m@entry=0x7fac39122820 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#14 0x00007fac38e86783 in QAbstractEventDispatcher::awake (this=this@entry=0x5653ee91d510) at .moc/moc_qabstracteventdispatcher.cpp:149
#15 0x00007fac38ee1213 in QEventDispatcherGlib::processEvents (this=0x5653ee91d510, flags=...) at kernel/qeventdispatcher_glib.cpp:430
#16 0x00007fac38e8855b in QEventLoop::exec (this=this@entry=0x7ffc08143420, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#17 0x00007fac38e90830 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#18 0x00005653ed02a74a in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238
[Inferior 1 (process 6833) detached]

Possible duplicates by query: bug 450861, bug 450723, bug 450215, bug 448919, bug 445713.

Reported using DrKonqi
Comment 1 Nate Graham 2022-04-04 21:41:09 UTC
#4  0x00007fabfce43236 in QtWayland::kde_primary_output_v1::handle_primary_output (data=0x5653ef0ff2e0, object=0x5653efd5ac80, output_name=0x7fabf000ab0c "eDP-1") at ./obj-x86_64-linux-gnu/backends/kwayland/qwayland-kde-primary-output-v1.cpp:83

It doesn't like the connextor name or something?
Comment 2 David Edmundson 2022-05-04 22:18:16 UTC

*** This bug has been marked as a duplicate of bug 451847 ***