Bug 467200 - KDED5 crash when wake up from the standby
Summary: KDED5 crash when wake up from the standby
Status: RESOLVED DUPLICATE of bug 466674
Alias: None
Product: frameworks-kded
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.103.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-11 13:42 UTC by Enrico
Modified: 2023-03-11 20:04 UTC (History)
2 users (show)

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


Attachments
kded crash backtrace (6.40 KB, text/plain)
2023-03-11 13:42 UTC, Enrico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico 2023-03-11 13:42:05 UTC
Created attachment 157187 [details]
kded crash backtrace

SUMMARY
When I wake up the system from the standby, kded 5 crashes. It's reported by drkonki but it says that the bug can't be reported for kded, so I reproduced it manually with GDB

STEPS TO REPRODUCE
1. Start the system
2. Press the power button to standby the system
3. Press again the power button to wake up the system

OBSERVED RESULT
kded5 crash, but the system is still usable. It seems that only the systray is affected by this crash

EXPECTED RESULT
should not crash

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Comment 1 Nicolas Fella 2023-03-11 20:02:29 UTC
[Detaching after fork from child process 21679]
[Detaching after fork from child process 21698]
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash

Thread 1 "kded5" received signal SIGSEGV, Segmentation fault.
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
0x00007ffff3386a9a in serialize_closure (closure=closure@entry=0x5555559d7690, buffer=buffer@entry=0x555555b95250, buffer_count=buffer_count@entry=4)
    at ../src/connection.c:1157
Download failed: Argomento non valido.  Continuing without source file ./build/../src/connection.c.
1157    ../src/connection.c: File o directory non esistente.
(gdb)
(gdb) bt
#0  0x00007ffff3386a9a in serialize_closure (closure=closure@entry=0x5555559d7690, buffer=buffer@entry=0x555555b95250, buffer_count=buffer_count@entry=4)
    at ../src/connection.c:1157
#1  0x00007ffff3387925 in wl_closure_send (closure=0x5555559d7690, connection=0x555555590ba0) at ../src/connection.c:1225
#2  0x00007ffff338404c in wl_proxy_marshal_array_flags (proxy=proxy@entry=0x555555c97040, opcode=opcode@entry=0,
    interface=interface@entry=0x7fffd8522320 <org_kde_kwin_dpms_interface>, version=version@entry=1, flags=flags@entry=0, args=args@entry=0x7fffffffcf50)
    at ../src/wayland-client.c:859
#3  0x00007ffff33842be in wl_proxy_marshal_flags (proxy=0x555555c97040, opcode=0, interface=0x7fffd8522320 <org_kde_kwin_dpms_interface>, version=1,
    flags=0) at ../src/wayland-client.c:791
#4  0x00007fffd851e085 in org_kde_kwin_dpms_manager_get (output=0x51, org_kde_kwin_dpms_manager=0x555555c97040)
    at ./obj-x86_64-linux-gnu/src/libdpms/wayland-dpms-client-protocol.h:131
#5  QtWayland::org_kde_kwin_dpms_manager::get (this=this@entry=0x555555931460, output=output@entry=0x51)
    at ./obj-x86_64-linux-gnu/src/libdpms/qwayland-dpms.cpp:70
#6  0x00007fffd851d13f in DpmsManager::addScreen (this=0x555555931450, screen=<optimized out>) at ./src/libdpms/waylanddpmshelper.cpp:118
#7  0x00007ffff6ae8f4f in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd250, r=0x555555931450, this=0x555555a7a350)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x7fffffffdbc0, signal_index=9, argv=0x7fffffffd250) at kernel/qobject.cpp:3923
#9  0x00007ffff6ae21ef in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffff74b30c0 <QGuiApplication::staticMetaObject>,
    local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd250) at kernel/qobject.cpp:3983
#10 0x00007ffff6f2f162 in QGuiApplication::screenAdded (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:389
#11 0x00007ffff2f2ea21 in QtWaylandClient::QWaylandDisplay::registry_global_remove (this=0x55555556aaa0, id=64) at ./src/client/qwaylanddisplay.cpp:566
#12 0x00007ffff3377f7a in ffi_call_unix64 () at ../src/x86/unix64.S:104
--Type <RET> for more, q to quit, c to continue without paging--
#13 0x00007ffff337740e in ffi_call_int (cif=cif@entry=0x7fffffffd4c0,
    fn=fn@entry=0x7ffff2f53980 <QtWayland::wl_registry::handle_global_remove(void*, wl_registry*, unsigned int)>, rvalue=<optimized out>,
    rvalue@entry=0x0, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#14 0x00007ffff3377b0d in ffi_call (cif=cif@entry=0x7fffffffd4c0,
    fn=0x7ffff2f53980 <QtWayland::wl_registry::handle_global_remove(void*, wl_registry*, unsigned int)>, rvalue=rvalue@entry=0x0,
    avalue=avalue@entry=0x7fffffffd590) at ../src/x86/ffi64.c:710
#15 0x00007ffff3387761 in wl_closure_invoke (closure=0x7fffe8005460, flags=<optimized out>, target=<optimized out>, opcode=1, data=<optimized out>)
    at ../src/connection.c:1025
#16 0x00007ffff3383aaa in dispatch_event (display=display@entry=0x55555558e810, queue=<optimized out>, queue=<optimized out>)
    at ../src/wayland-client.c:1595
#17 0x00007ffff338541c in dispatch_queue (queue=0x55555558e8e0, display=0x55555558e810) at ../src/wayland-client.c:1741
#18 wl_display_dispatch_queue_pending (display=0x55555558e810, queue=0x55555558e8e0) at ../src/wayland-client.c:1983
#19 0x00007ffff2f2b872 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at ./src/client/qwaylanddisplay.cpp:253
#20 0x00007ffff6add6f0 in QObject::event (this=0x55555556aaa0, e=0x7fffe8005200) at kernel/qobject.cpp:1347
#21 0x00007ffff7962fae in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55555556aaa0, e=0x7fffe8005200)
    at kernel/qapplication.cpp:3640
#22 0x00007ffff6ab16f8 in QCoreApplication::notifyInternal2 (receiver=0x55555556aaa0, event=0x7fffe8005200) at kernel/qcoreapplication.cpp:1064
#23 0x00007ffff6ab18be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#24 0x00007ffff6ab4681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5555555847a0) at kernel/qcoreapplication.cpp:1821
#25 0x00007ffff6ab4b08 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680
#26 0x00007ffff6b0a153 in postEventSourceDispatch (s=0x5555555c47f0) at kernel/qeventdispatcher_glib.cpp:277
--Type <RET> for more, q to quit, c to continue without paging--
#27 0x00007ffff591e7a9 in g_main_dispatch (context=0x5555555ca3e0) at ../../../glib/gmain.c:3454
#28 g_main_context_dispatch (context=context@entry=0x5555555ca3e0) at ../../../glib/gmain.c:4172
#29 0x00007ffff591ea38 in g_main_context_iterate (context=context@entry=0x5555555ca3e0, block=block@entry=1, dispatch=dispatch@entry=1,
    self=<optimized out>) at ../../../glib/gmain.c:4248
#30 0x00007ffff591eacc in g_main_context_iteration (context=0x5555555ca3e0, may_block=1) at ../../../glib/gmain.c:4313
#31 0x00007ffff6b09836 in QEventDispatcherGlib::processEvents (this=0x5555555ca4f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007ffff6ab017b in QEventLoop::exec (this=this@entry=0x7fffffffdaf0, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007ffff6ab82d6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007ffff6f30e8c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863
#35 0x00007ffff7962f25 in QApplication::exec () at kernel/qapplication.cpp:2832
#36 0x000055555555b3d9 in main (argc=<optimized out>, argv=<optimized out>) at ./src/kded.cpp:785
Comment 2 Nicolas Fella 2023-03-11 20:04:01 UTC

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