Bug 495002 - When I Switch wallpaper type, plasma get crash
Summary: When I Switch wallpaper type, plasma get crash
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.2.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-10-18 16:52 UTC by Alireza Rashidi
Modified: 2024-12-12 20:04 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (227.04 KB, text/plain)
2024-10-18 16:52 UTC, Alireza Rashidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alireza Rashidi 2024-10-18 16:52:40 UTC
Application: plasmashell (6.2.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.3
Frameworks Version: 6.6.0
Operating System: Linux 6.11.3-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.2.0 [CoredumpBackend]

-- Information about the crash:
I am experiencing a recurring issue with KDE Plasma where the entire desktop environment crashes and restarts every time I attempt to change the wallpaper type in the background settings.

Steps to Reproduce:
- Open "Desktop and Wallpaper" settings.
- Change the wallpaper type (e.g., from "Image" to "Slideshow").
- Observe that KDE Plasma crashes and restarts.

Additional Information:
I suspect that this issue may be related to my current settings or installed plugins, as I tested with a new user account and did not encounter the same problem.

Please let me know if you need any further information to assist in resolving this issue.
Thanks!

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x000071a33e0a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x000071a33e04c120 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000071a33e0334c3 in __GI_abort () at abort.c:79
#9  0x000071a33d3d1044 in _dbus_abort () at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-sysdeps.c:101


Reported using DrKonqi
Comment 1 Alireza Rashidi 2024-10-18 16:52:48 UTC
Created attachment 174995 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-12-12 20:03:34 UTC
Thread 1 (Thread 0x71a338304a00 (LWP 3623)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x000071a33e0a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x000071a33e04c120 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000071a33e0334c3 in __GI_abort () at abort.c:79
#9  0x000071a33d3d1044 in _dbus_abort () at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-sysdeps.c:101
#10 0x000071a33d3f88eb in _dbus_warn_check_failed (format=0x71a33d402b20 "Array or variant type requires that type %s be written, but %s was written.\nThe overall signature expected here was '%s' and we are on byte %d of that signature.") at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-internals.c:289
#11 0x000071a33d3e231a in write_or_verify_typecode (writer=writer@entry=0x619e955cf8c0, typecode=typecode@entry=125) at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-marshal-recursive.c:1733
#12 0x000071a33d3e244d in _dbus_type_writer_unrecurse (writer=writer@entry=0x619e95e6dad0, sub=sub@entry=0x619e955cf8c0) at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-marshal-recursive.c:2203
#13 0x000071a33d3e45d6 in dbus_message_iter_close_container (iter=0x619e95e6dac0, sub=0x619e955cf8b0) at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-message.c:3083
#14 0x000071a33fb667e7 in q_dbus_message_iter_close_container (iter=<optimized out>, sub=0x619e955cf8b0) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbus_symbols_p.h:319
#15 QDBusMarshaller::close (this=0x619e955cf890) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:331
#16 QDBusMarshaller::close (this=0x619e955cf890) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:325
#17 QDBusMarshaller::~QDBusMarshaller (this=0x619e955cf890, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:25
#18 0x000071a33fb66805 in QDBusMarshaller::~QDBusMarshaller (this=0x619e955cf890, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:26
#19 0x000071a33fbdf93b in QDBusMarshaller::appendRegisteredType (this=0x619e95a22e40, arg=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:488
#20 QDBusMarshaller::appendVariantInternal(QVariant const&) [clone .isra.0] (this=this@entry=0x7fff257bb410, arg=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmarshaller.cpp:460
#21 0x000071a33fbdb4df in QDBusMessagePrivate::toDBusMessage(QDBusMessage const&, QFlags<QDBusConnection::ConnectionCapability>, QDBusError*) [clone .isra.0] (capabilities=..., error=error@entry=0x7fff257bb6f0, message=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusmessage.cpp:178
#22 0x000071a33fb99cf0 in QDBusConnectionPrivate::send (this=0x71a330001690, message=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1936
#23 0x000071a33fb847cc in QDBusConnectionPrivate::deliverCall (this=this@entry=0x71a330001690, object=object@entry=0x619e8b3ed5e0, msg=..., metaTypes=<optimized out>, slotIdx=17) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1020
#24 0x000071a33fb84fef in QDBusConnectionPrivate::activateCall (this=0x71a330001690, object=0x619e8b3ed5e0, flags=..., msg=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:916
#25 0x000071a33fb8f2fe in QDBusConnectionPrivate::activateObject (this=0x71a330001690, node=..., msg=..., pathStartPos=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1484
#26 0x000071a33fb8f34a in QDBusActivateObjectEvent::placeMetaCall (this=0x71a330057520) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1604
#27 0x000071a33e78d93f in QObject::event (this=0x619e8b19d520, e=0x71a330057520) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1452
#28 0x000071a3406fd9cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#29 0x000071a33e745be8 in QCoreApplication::notifyInternal2 (receiver=0x619e8b19d520, event=event@entry=0x71a330057520) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1152
#30 0x000071a33e745fab in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x71a330057520) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1593
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x619e8a89aba0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1951
#32 0x000071a33e9abe4c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1806
#33 postEventSourceDispatch (s=0x619e8a9e6120) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#34 0x000071a33d21c559 in g_main_dispatch (context=0x71a330000f00) at ../glib/glib/gmain.c:3357
#35 0x000071a33d27f157 in g_main_context_dispatch_unlocked (context=0x71a330000f00) at ../glib/glib/gmain.c:4208
#36 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x71a330000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#37 0x000071a33d21ba55 in g_main_context_iteration (context=0x71a330000f00, may_block=1) at ../glib/glib/gmain.c:4338
#38 0x000071a33e9a985d in QEventDispatcherGlib::processEvents (this=0x619e8a8c91e0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#39 0x000071a33e750106 in QEventLoop::processEvents (this=0x7fff257bc1a0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#40 QEventLoop::exec (this=0x7fff257bc1a0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#41 0x000071a33e74a27d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#42 0x0000619e674bf15f in ??? ()
#43 0x000071a33e034e08 in __libc_start_call_main (main=main@entry=0x619e674bbed0, argc=argc@entry=2, argv=argv@entry=0x7fff257bc5c8) at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x000071a33e034ecc in __libc_start_main_impl (main=0x619e674bbed0, argc=2, argv=0x7fff257bc5c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff257bc5b8) at ../csu/libc-start.c:360
#45 0x0000619e674bf675 in ??? ()
Comment 3 Nate Graham 2024-12-12 20:04:51 UTC
It would appear that someone is using DBus wrong:

#10 0x000071a33d3f88eb in _dbus_warn_check_failed (format=0x71a33d402b20 "Array or variant type requires that type %s be written, but %s was written.\nThe overall signature expected here was '%s' and we are on byte %d of that signature.") at /usr/src/debug/dbus/dbus-1.14.10/dbus/dbus-internals.c:289

What 3rd-party plugins or add-ons have you got installed? It'll probably be one of them. Once you figure out which one, it would be great to report this to its developer.