Bug 489721 - Powerdevil sometimes crashes after turning screen on
Summary: Powerdevil sometimes crashes after turning screen on
Status: RESOLVED DUPLICATE of bug 489169
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-04 08:44 UTC by smow
Modified: 2024-07-07 12:42 UTC (History)
3 users (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 smow 2024-07-04 08:44:36 UTC
Application: org_kde_powerdevil (6.1.1)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.7-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.1 [CoredumpBackend]

-- Information about the crash:
Sometimes when my monitors turn off, because of power management settings, and i turn them back on again, powerdevil crashes and brightness is set to 15% (instead of set ~50-55%).

I can't always reproduce it, but it's rather frequent and very annoying, because I have to restart powerdevil service with `systemctl restart --user plasma-powerdevil.service` and then set brightness to a desired level. Trying to set brightness without restarting the service has no effect.

I have display set to dim after 5 minutes of inactivity and turn off screen set to 10 minutes; screen is set to lock automatically after 7 minutes.

---
Operating System: Arch Linux 
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 47,0 GB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Power Management System (org_kde_powerdevil), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
Downloading separate debug info for /usr/lib/org_kde_powerdevil...
[New LWP 14257]
[New LWP 14129]
[New LWP 14128]
[New LWP 14125]
[New LWP 14155]
[New LWP 14153]
[New LWP 14107]
[New LWP 14256]
[New LWP 14154]
[New LWP 14263]
Downloading separate debug info for /usr/lib/libKF6Crash.so.6...
Downloading separate debug info for /usr/lib/libpowerdevilcore.so.2...
Downloading separate debug info for /usr/lib/libKF6DBusAddons.so.6...
Downloading separate debug info for /usr/lib/libKF6XmlGui.so.6...
Downloading separate debug info for /usr/lib/libKF6GlobalAccel.so.6...
Downloading separate debug info for /usr/lib/libKF6CoreAddons.so.6...
Downloading separate debug info for /usr/lib/libKF6I18n.so.6...
Downloading separate debug info for /usr/lib/libQt6DBus.so.6...
Downloading separate debug info for /usr/lib/libQt6Gui.so.6...
Downloading separate debug info for /usr/lib/libQt6Core.so.6...
Downloading separate debug info for /usr/lib/libc.so.6...
Downloading separate debug info for /usr/lib/libX11.so.6...
Downloading separate debug info for /usr/lib/libPlasmaActivities.so.6...
Downloading separate debug info for /usr/lib/libkworkspace6.so.6...
Downloading separate debug info for /usr/lib/libKF6AuthCore.so.6...
Downloading separate debug info for /usr/lib/libKF6Solid.so.6...
Downloading separate debug info for /usr/lib/libKF6IdleTime.so.6...
Downloading separate debug info for /usr/lib/libKF6Screen.so.8...
Downloading separate debug info for /usr/lib/libKF6Notifications.so.6...
Downloading separate debug info for /usr/lib/libKirigamiPlatform.so.6...
Downloading separate debug info for /usr/lib/libudev.so.1...
Downloading separate debug info for /usr/lib/libxcb.so.1...
Downloading separate debug info for /usr/lib/libddcutil.so.5...
Downloading separate debug info for /usr/lib/libKF6ConfigGui.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigCore.so.6...
Downloading separate debug info for /usr/lib/libm.so.6...
Downloading separate debug info for /usr/lib/libQt6Xml.so.6...
Downloading separate debug info for /usr/lib/libQt6Network.so.6...
Downloading separate debug info for /usr/lib/libQt6PrintSupport.so.6...
Downloading separate debug info for /usr/lib/libKF6ItemViews.so.6...
Downloading separate debug info for /usr/lib/libKF6IconWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6ConfigWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6WidgetsAddons.so.6...
Downloading separate debug info for /usr/lib/libQt6Widgets.so.6...
Downloading separate debug info for /usr/lib/libKF6IconThemes.so.6...
Downloading separate debug info for /usr/lib/libKF6ColorScheme.so.6...
Downloading separate debug info for /usr/lib/libKF6GuiAddons.so.6...
Downloading separate debug info for /usr/lib/libdbus-1.so.3...
Downloading separate debug info for /usr/lib/libEGL.so.1...
Downloading separate debug info for /usr/lib/libfontconfig.so.1...
Downloading separate debug info for /usr/lib/libglib-2.0.so.0...
Downloading separate debug info for /usr/lib/libxkbcommon.so.0...
Downloading separate debug info for /usr/lib/libGLX.so.0...
Downloading separate debug info for /usr/lib/libOpenGL.so.0...
Downloading separate debug info for /usr/lib/libpng16.so.16...
Downloading separate debug info for /usr/lib/libharfbuzz.so.0...
Downloading separate debug info for /usr/lib/libmd4c.so.0...
Downloading separate debug info for /usr/lib/libfreetype.so.6...
Downloading separate debug info for /usr/lib/libz.so.1...
Downloading separate debug info for /usr/lib/libicui18n.so.75...
Downloading separate debug info for /usr/lib/libicuuc.so.75...
Downloading separate debug info for /usr/lib/libsystemd.so.0...
Downloading separate debug info for /usr/lib/libdouble-conversion.so.3...
Downloading separate debug info for /usr/lib/libb2.so.1...
Downloading separate debug info for /usr/lib/libpcre2-16.so.0...
Downloading separate debug info for /usr/lib/libzstd.so.1...
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2...
Downloading separate debug info for /usr/lib/libKF6Service.so.6...
Downloading separate debug info for /usr/lib/libPlasma.so.6...
Downloading separate debug info for /usr/lib/libXau.so.6...
Downloading separate debug info for /usr/lib/libxcb-randr.so.0...
Downloading separate debug info for /usr/lib/libKF6WindowSystem.so.6...
Downloading separate debug info for /usr/lib/libKF6Package.so.6...
Downloading separate debug info for /usr/lib/libQt6WaylandClient.so.6...
Downloading separate debug info for /usr/lib/libwayland-client.so.0...
Downloading separate debug info for /usr/lib/libmount.so.1...
Downloading separate debug info for /usr/lib/libimobiledevice-1.0.so.6...
Downloading separate debug info for /usr/lib/libplist-2.0.so.4...
Downloading separate debug info for /usr/lib/libcanberra.so.0...
Downloading separate debug info for /usr/lib/libQt6QuickControls2.so.6...
Downloading separate debug info for /usr/lib/libQt6Quick.so.6...
Downloading separate debug info for /usr/lib/libQt6Qml.so.6...
Downloading separate debug info for /usr/lib/libcap.so.2...
Downloading separate debug info for /usr/lib/libXdmcp.so.6...
Downloading separate debug info for /usr/lib/libjansson.so.4...
Downloading separate debug info for /usr/lib/libusb-1.0.so.0...
Downloading separate debug info for /usr/lib/libdrm.so.2...
Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2...
Downloading separate debug info for /usr/lib/libbrotlidec.so.1...
Downloading separate debug info for /usr/lib/libproxy.so.1...
Downloading separate debug info for /usr/lib/libcrypto.so.3...
Downloading separate debug info for /usr/lib/libKF6Codecs.so.6...
Downloading separate debug info for /usr/lib/libKF6Archive.so.6...
Downloading separate debug info for /usr/lib/libKF6BreezeIcons.so.6...
Downloading separate debug info for /usr/lib/libGLdispatch.so.0...
Downloading separate debug info for /usr/lib/libexpat.so.1...
Downloading separate debug info for /usr/lib/libpcre2-8.so.0...
Downloading separate debug info for /usr/lib/libgraphite2.so.3...
Downloading separate debug info for /usr/lib/libbz2.so.1.0...
Downloading separate debug info for /usr/lib/libicudata.so.75...
Downloading separate debug info for /usr/lib/libKF6ConfigQml.so.6...
Downloading separate debug info for /usr/lib/libKF6Svg.so.6...
Downloading separate debug info for /usr/lib/libxcb-res.so.0...
Downloading separate debug info for /usr/lib/libXfixes.so.3...
Downloading separate debug info for /usr/lib/libxcb-keysyms.so.1...
Downloading separate debug info for /usr/lib/libwayland-cursor.so.0...
Downloading separate debug info for /usr/lib/libffi.so.8...
Downloading separate debug info for /usr/lib/libblkid.so.1...
Downloading separate debug info for /usr/lib/libssl.so.3...
Downloading separate debug info for /usr/lib/libusbmuxd-2.0.so.7...
Downloading separate debug info for /usr/lib/libvorbisfile.so.3...
Downloading separate debug info for /usr/lib/libtdb.so.1...
Downloading separate debug info for /usr/lib/libltdl.so.7...
Downloading separate debug info for /usr/lib/libQt6QuickTemplates2.so.6...
Downloading separate debug info for /usr/lib/libQt6QmlModels.so.6...
Downloading separate debug info for /usr/lib/libQt6OpenGL.so.6...
Downloading separate debug info for /usr/lib/libkrb5.so.3...
Downloading separate debug info for /usr/lib/libk5crypto.so.3...
Downloading separate debug info for /usr/lib/libcom_err.so.2...
Downloading separate debug info for /usr/lib/libkrb5support.so.0...
Downloading separate debug info for /usr/lib/libkeyutils.so.1...
Downloading separate debug info for /usr/lib/libresolv.so.2...
Downloading separate debug info for /usr/lib/libbrotlicommon.so.1...
Downloading separate debug info for /usr/lib/libproxy/libpxbackend-1.0.so...
Downloading separate debug info for /usr/lib/libgobject-2.0.so.0...
Downloading separate debug info for /usr/lib/liblzma.so.5...
Downloading separate debug info for /usr/lib/libQt6Svg.so.6...
Downloading separate debug info for /usr/lib/libimobiledevice-glue-1.0.so.0...
Downloading separate debug info for /usr/lib/libvorbis.so.0...
Downloading separate debug info for /usr/lib/libogg.so.0...
Downloading separate debug info for /usr/lib/libcurl.so.4...
Downloading separate debug info for /usr/lib/libgio-2.0.so.0...
Downloading separate debug info for /usr/lib/libduktape.so.207...
Downloading separate debug info for /usr/lib/libnghttp3.so.9...
Downloading separate debug info for /usr/lib/libnghttp2.so.14...
Downloading separate debug info for /usr/lib/libidn2.so.0...
Downloading separate debug info for /usr/lib/libssh2.so.1...
Downloading separate debug info for /usr/lib/libpsl.so.5...
Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0...
Downloading separate debug info for /usr/lib/libunistring.so.5...
Downloading separate debug info for /usr/lib/qt6/plugins/platforms/libqwayland-generic.so...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-shell-integration/libxdg-shell.so...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libQt6WaylandEglClientHwIntegration.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/wayland-graphics-integration-client/../../../libwayland-egl.so.1...
Downloading separate debug info for /usr/lib/libEGL_nvidia.so.0...
Downloading separate debug info for /usr/lib/libpthread.so.0...
Downloading separate debug info for /usr/lib/librt.so.1...
Downloading separate debug info for /usr/lib/libdl.so.2...
Downloading separate debug info for /usr/lib/libnvidia-glsi.so.555.58...
Downloading separate debug info for /usr/lib/libnvidia-egl-wayland.so.1...
Downloading separate debug info for /usr/lib/libwayland-server.so.0...
Downloading separate debug info for /usr/lib/libnvidia-eglcore.so.555.58...
Downloading separate debug info for /usr/lib/libnvidia-gpucomp.so.555.58...
Downloading separate debug info for /usr/lib/libnvidia-egl-gbm.so.1...
Downloading separate debug info for /usr/lib/libgbm.so.1...
Downloading separate debug info for /usr/lib/libEGL_mesa.so.0...
Downloading separate debug info for /usr/lib/libglapi.so.0...
Downloading separate debug info for /usr/lib/libX11-xcb.so.1...
Downloading separate debug info for /usr/lib/libxcb-dri2.so.0...
Downloading separate debug info for /usr/lib/libxcb-xfixes.so.0...
Downloading separate debug info for /usr/lib/libxcb-dri3.so.0...
Downloading separate debug info for /usr/lib/libxcb-present.so.0...
Downloading separate debug info for /usr/lib/libxcb-sync.so.1...
Downloading separate debug info for /usr/lib/libxshmfence.so.1...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/kauth/backend/kauth_backend_plugin.so...
Downloading separate debug info for /usr/lib/libpolkit-qt6-core-1.so.1...
Downloading separate debug info for /usr/lib/libpolkit-gobject-1.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/kauth/helper/kauth_helper_plugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/kscreen/KSC_KWayland.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/org.kde.kidletime.platforms/KF6IdleTimeWaylandPlugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_brightnesscontrolaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_dimdisplayaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_dpmsaction.so...
Downloading separate debug info for /usr/lib/libKF6ScreenDpms.so.8...
Downloading separate debug info for /usr/lib/libxcb-dpms.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_handlebuttoneventsaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_keyboardbrightnesscontrolaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_powerprofileaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_runscriptaction.so...
Downloading separate debug info for /usr/lib/qt6/plugins/powerdevil/action/powerdevil_suspendsessionaction.so...
Downloading separate debug info for system-supplied DSO at 0x7035715f6000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/org_kde_powerdevil'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c...
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x70355ca006c0 (LWP 14257))]

Cannot QML trace cores :(
Downloading source file /usr/src/debug/glibc/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S...
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_create.c...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gthread.c...
Downloading source file /usr/src/debug/ddcutil/ddcutil-2.1.4/src/ddc/ddc_watch_displays.c...
Downloading source file /usr/src/debug/glibc/glibc/misc/../sysdeps/posix/usleep.c...
Downloading source file /usr/src/debug/glibc/glibc/posix/../sysdeps/unix/sysv/linux/nanosleep.c...
Downloading source file /usr/src/debug/glibc/glibc/time/../sysdeps/unix/sysv/linux/clock_nanosleep.c...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gmain.c...
Downloading source file /usr/src/debug/glibc/glibc/io/../sysdeps/unix/sysv/linux/poll.c...
Downloading source file /usr/src/debug/powerdevil/powerdevil-6.1.1/daemon/powerdevilapp.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gthreadpool.c...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gasyncqueue.c...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gthread-posix.c...
Downloading source file /usr/src/debug/glibc/glibc/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S...
Downloading source file /usr/src/debug/glib2/build/../glib/gio/gdbusprivate.c...
Downloading source file /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp...
Downloading source file /usr/src/debug/powerdevil/powerdevil-6.1.1/daemon/controllers/ddcutildisplay.cpp...
Downloading source file /usr/src/debug/ddcutil/ddcutil-2.1.4/src/libmain/api_displays.c...
Downloading source file /usr/src/debug/ddcutil/ddcutil-2.1.4/src/ddc/ddc_packet_io.c...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/ghash.c...
Downloading source file /usr/src/debug/glib2/build/../glib/glib/gtestutils.c...
Downloading source file /usr/src/debug/glibc/glibc/stdlib/abort.c...
Downloading source file /usr/src/debug/glibc/glibc/signal/../sysdeps/posix/raise.c...
[Current thread is 1 (Thread 0x70355ca006c0 (LWP 14257))]

Thread 10 (Thread 0x7035518006c0 (LWP 14263)):
#0  0x000070356fd1c39d in __GI___poll (fds=0x5f0996ab5580, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356e9708fd in g_main_context_poll_unlocked (priority=2147483647, context=0x70352c000c60, timeout=<optimized out>, fds=0x5f0996ab5580, n_fds=1) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x70352c000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000070356e90df95 in g_main_context_iteration (context=0x70352c000c60, may_block=1) at ../glib/glib/gmain.c:4282
#4  0x00007035705a2cbd in QEventDispatcherGlib::processEvents (this=0x70352c000b70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x000070357034f01e in QEventLoop::processEvents (this=0x7035517ffb70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x7035517ffb70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#7  0x000070357043a560 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:586
#8  QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:707
#9  0x00007035704c9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x7035400045f0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#12 0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7035656006c0 (LWP 14154)):
#0  0x000070356fd1c39d in __GI___poll (fds=0x5f0996b36a80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356e9708fd in g_main_context_poll_unlocked (priority=2147483647, context=0x5f0996b36800, timeout=<optimized out>, fds=0x5f0996b36a80, n_fds=1) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x5f0996b36800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000070356e90df95 in g_main_context_iteration (context=0x5f0996b36800, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4282
#4  0x000070356e90dfea in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6442
#5  0x000070356e93e236 in g_thread_proxy (data=0x5f0996b36a20) at ../glib/glib/gthread.c:835
#6  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x70355d4006c0 (LWP 14256)):
#0  0x000070356fcf2f43 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=req@entry=0x70355d3ffb00, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1  0x000070356fcfed77 in __GI___nanosleep (req=req@entry=0x70355d3ffb00, rem=rem@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:25
#2  0x000070356fd29bda in usleep (useconds=useconds@entry=200000) at ../sysdeps/posix/usleep.c:31
#3  0x000070356fa25992 in ddc_watch_displays_using_udev (data=<optimized out>) at ddc/ddc_watch_displays.c:975
#4  ddc_watch_displays_using_udev (data=<optimized out>) at ddc/ddc_watch_displays.c:923
#5  0x000070356e93e236 in g_thread_proxy (data=0x5f0996999790) at ../glib/glib/gthread.c:835
#6  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7035687f69c0 (LWP 14107)):
#0  0x000070356fd1c39d in __GI___poll (fds=0x70356001c7c0, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356e9708fd in g_main_context_poll_unlocked (priority=2147483647, context=0x703560000f00, timeout=<optimized out>, fds=0x70356001c7c0, n_fds=5) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x703560000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000070356e90df95 in g_main_context_iteration (context=0x703560000f00, may_block=1) at ../glib/glib/gmain.c:4282
#4  0x00007035705a2cbd in QEventDispatcherGlib::processEvents (this=0x5f099698f1d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x000070357034f01e in QEventLoop::processEvents (this=0x7ffdc57827b0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x7ffdc57827b0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#7  0x000070357034934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#8  0x00005f096ade6726 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/powerdevil/powerdevil-6.1.1/daemon/powerdevilapp.cpp:135

Thread 6 (Thread 0x703564c006c0 (LWP 14153)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x000070356e9699e0 in g_cond_wait (cond=0x5f0996afa8e8, mutex=0x5f0996afa8e0) at ../glib/glib/gthread-posix.c:1552
#2  0x000070356e8d78dc in g_async_queue_pop_intern_unlocked (queue=0x5f0996afa8e0, wait=1, end_time=-1) at ../glib/glib/gasyncqueue.c:375
#3  0x000070356e943687 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/glib/gthreadpool.c:297
#4  0x000070356e93e236 in g_thread_proxy (data=0x5f0996b366c0) at ../glib/glib/gthread.c:835
#5  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x70355de006c0 (LWP 14155)):
#0  0x000070356fd1c39d in __GI___poll (fds=0x703540000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356e9708fd in g_main_context_poll_unlocked (priority=2147483647, context=0x5f0996b2ec00, timeout=<optimized out>, fds=0x703540000b90, n_fds=2) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=0x5f0996b2ec00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000070356e90f787 in g_main_loop_run (loop=0x5f0996b2ea50) at ../glib/glib/gmain.c:4419
#4  0x0000703568be9494 in gdbus_shared_thread_func (user_data=0x5f0996b2ebd0) at ../glib/gio/gdbusprivate.c:284
#5  0x000070356e93e236 in g_thread_proxy (data=0x5f0996b52050) at ../glib/glib/gthread.c:835
#6  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7035680006c0 (LWP 14125)):
#0  0x000070356fd1c39d in __GI___poll (fds=0x7035600164a0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356e9708fd in g_main_context_poll_unlocked (priority=2147483647, context=0x703560000c80, timeout=<optimized out>, fds=0x7035600164a0, n_fds=4) at ../glib/glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x703560000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4212
#3  0x000070356e90df95 in g_main_context_iteration (context=0x703560000c80, may_block=1) at ../glib/glib/gmain.c:4282
#4  0x00007035705a2cbd in QEventDispatcherGlib::processEvents (this=0x703560000b70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x000070357034f01e in QEventLoop::processEvents (this=0x703567fffb20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x703567fffb20, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#7  0x000070357043a410 in QThread::exec (this=this@entry=0x703571299b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#8  0x0000703571210e4e in QDBusConnectionManager::run (this=0x703571299b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#9  0x00007035704c9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#11 QThreadPrivate::start (arg=0x703571299b20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#12 0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7035676006c0 (LWP 14128)):
#0  0x000070356fd1c39d in __GI___poll (fds=fds@entry=0x7035675ffb60, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356dc60257 in poll (__fds=0x7035675ffb60, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5f09969906a0) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x00007035704c9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#5  QThreadPrivate::start (arg=0x5f09969906a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#6  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x703566c006c0 (LWP 14129)):
#0  0x000070356fd1c39d in __GI___poll (fds=fds@entry=0x703566bffb60, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000070356dc60257 in poll (__fds=0x703566bffb60, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5f0996991e00) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x00007035704c9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#5  QThreadPrivate::start (arg=0x5f0996991e00) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#6  0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x70355ca006c0 (LWP 14257)):
[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  0x000070356fca8eb3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x000070356fc50a30 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000070356fc384c3 in __GI_abort () at abort.c:79
#9  0x000070356e8d00fb in g_assertion_message (domain=domain@entry=0x70356e9d22fc "GLib", file=file@entry=0x70356e9d3247 "../glib/glib/ghash.c", line=line@entry=493, func=func@entry=0x70356e977240 <__func__.25.lto_priv.3> "g_hash_table_remove_node", message=message@entry=0x703534002f40 "assertion failed: (hash_table->nnodes > 0)") at ../glib/glib/gtestutils.c:3331
#10 0x000070356e93ae49 in g_assertion_message_expr (domain=0x70356e9d22fc "GLib", file=0x70356e9d3247 "../glib/glib/ghash.c", line=493, func=0x70356e977240 <__func__.25.lto_priv.3> "g_hash_table_remove_node", expr=<optimized out>) at ../glib/glib/gtestutils.c:3357
#11 0x000070356e8f2368 in g_hash_table_remove_node (hash_table=0x5f0996989850, i=<optimized out>, notify=<optimized out>) at ../glib/glib/ghash.c:493
#12 0x000070356e8fb299 in g_hash_table_remove_internal (hash_table=0x5f0996989850, key=0x703534001ae0, notify=1) at ../glib/glib/ghash.c:1717
#13 g_hash_table_remove (hash_table=0x5f0996989850, key=key@entry=0x703534001ae0) at ../glib/glib/ghash.c:1745
#14 0x000070356fa16b37 in ddc_close_display (dh=0x703534001ae0) at ddc/ddc_packet_io.c:374
#15 0x000070356fa5abb0 in ddca_close_display (ddca_dh=0x703534001ae0) at libmain/api_displays.c:587
#16 0x0000703571576559 in BrightnessWorker::ddcSetBrightness (this=0x5f0996ad68e0, value=<optimized out>, display=<optimized out>) at /usr/src/debug/powerdevil/powerdevil-6.1.1/daemon/controllers/ddcutildisplay.cpp:159
#17 0x000070357038c00f in QObject::event (this=0x5f0996ad68e0, e=0x703558001710) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1452
#18 0x0000703570344d28 in QCoreApplication::notifyInternal2 (receiver=0x5f0996ad68e0, event=event@entry=0x703558001710) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#19 0x00007035703450eb in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x703558001710) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5f0996a20070) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#21 0x00007035705a49ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#22 postEventSourceDispatch (s=0x703534000f20) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#23 0x000070356e90ea89 in g_main_dispatch (context=0x703534000c60) at ../glib/glib/gmain.c:3344
#24 0x000070356e9709b7 in g_main_context_dispatch_unlocked (context=0x703534000c60) at ../glib/glib/gmain.c:4152
#25 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x703534000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#26 0x000070356e90df95 in g_main_context_iteration (context=0x703534000c60, may_block=1) at ../glib/glib/gmain.c:4282
#27 0x00007035705a2cbd in QEventDispatcherGlib::processEvents (this=0x703534000b70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#28 0x000070357034f01e in QEventLoop::processEvents (this=0x70355c9ffb70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#29 QEventLoop::exec (this=0x70355c9ffb70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#30 0x000070357043a560 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:586
#31 QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:707
#32 0x00007035704c9747 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#33 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#34 QThreadPrivate::start (arg=0x5f0996ab66a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#35 0x000070356fca6ded in start_thread (arg=<optimized out>) at pthread_create.c:447
#36 0x000070356fd2a0dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-07-07 12:42:24 UTC

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