Bug 415474 - Crash while closing the "Energy Information" window
Summary: Crash while closing the "Energy Information" window
Status: RESOLVED DUPLICATE of bug 413003
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.65.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-23 09:48 UTC by Laurent Bonnaud
Modified: 2020-02-19 21:48 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.58 KB, patch)
2020-02-19 18:54 UTC, talha.khan1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2019-12-23 09:48:22 UTC
STEPS TO REPRODUCE
1. right clic on the battery mini icon
2. clic on "Show Energy Information"
2. close the "Energy Information" window

OBSERVED RESULT

The crash can be reproduced every time.

EXPECTED RESULT

No crash.

SOFTWARE/OS VERSIONS

Linux: Ubuntu 19.10, kernel 5.4.6
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65
Qt Version: 5.12.4

ADDITIONAL INFORMATION

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f02444f2c80 (LWP 24422))]

Thread 4 (Thread 0x7f0231923700 (LWP 24427)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x565480caf18c) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565480caf138, cond=0x565480caf160) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x565480caf160, mutex=0x565480caf138) at pthread_cond_wait.c:638
#3  0x00007f0231ff097b in cnd_wait (mtx=0x565480caf138, cond=0x565480caf160) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x565480cb15f0) at ../src/util/u_queue.c:258
#5  0x00007f0231ff059b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f02476dc669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f0249fa4323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f02424f2700 (LWP 24424)):
#0  __GI___libc_read (nbytes=16, buf=0x7f02424f1b60, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7f02424f1b60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f0246bfb69f in read (__nbytes=16, __buf=0x7f02424f1b60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x5654808387b0) at ../../../glib/gwakeup.c:210
#4  0x00007f0246bb358e in g_main_context_check (context=context@entry=0x7f0234000c30, max_priority=2147483647, fds=fds@entry=0x7f0234012020, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3695
#5  0x00007f0246bb39e2 in g_main_context_iterate (context=context@entry=0x7f0234000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3914
#6  0x00007f0246bb3b73 in g_main_context_iteration (context=0x7f0234000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:3978
#7  0x00007f0248a3c6c3 in QEventDispatcherGlib::processEvents (this=0x7f0234000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f02489e363b in QEventLoop::exec (this=this@entry=0x7f02424f1d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f024881ca75 in QThread::exec (this=this@entry=0x7f0249a65d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f02499e2efa in QDBusConnectionManager::run (this=0x7f0249a65d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#11 0x00007f024881dcc2 in QThreadPrivate::start (arg=0x7f0249a65d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#12 0x00007f02476dc669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#13 0x00007f0249fa4323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0243640700 (LWP 24423)):
#0  0x00007f0249f97c2f in __GI___poll (fds=fds@entry=0x7f024363fca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f02473bf917 in poll (__timeout=-1, __nfds=1, __fds=0x7f024363fca8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x5654807742c0, cond=cond@entry=0x565480774300, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f02473c153a in xcb_wait_for_event (c=c@entry=0x5654807742c0) at ../../src/xcb_in.c:697
#4  0x00007f0243df9288 in QXcbEventQueue::run (this=0x565480780720) at qxcbeventqueue.cpp:228
#5  0x00007f024881dcc2 in QThreadPrivate::start (arg=0x565480780720) at thread/qthread_unix.cpp:361
#6  0x00007f02476dc669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f0249fa4323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f02444f2c80 (LWP 24422)):
[KCrash Handler]
#6  QPointer<QObject>::data (this=0x28) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:85
#7  Solid::DeviceInterfacePrivate::backendObject (this=0x20) at ./src/solid/devices/frontend/deviceinterface.cpp:110
#8  0x00007f02426cabfd in Solid::DevicePrivate::~DevicePrivate (this=0x5654808e6030, __in_chrg=<optimized out>) at ./src/solid/devices/frontend/device.cpp:222
#9  0x00007f02426cad6d in Solid::DevicePrivate::~DevicePrivate (this=0x5654808e6030, __in_chrg=<optimized out>) at ./src/solid/devices/frontend/device.cpp:219
#10 0x00007f02426cc377 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=0x5654808dab80, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#11 0x00007f02426cdfed in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=0x5654808dab80, __in_chrg=<optimized out>) at ./src/solid/devices/frontend/devicemanager.cpp:49
#12 0x00007f02488230f1 in QThreadStorageData::finish (p=0x5654807576e0) at thread/qthreadstorage.cpp:200
#13 0x00007f02489e6e51 in QCoreApplicationPrivate::cleanupThreadData (this=this@entry=0x565480761470) at kernel/qcoreapplication.cpp:520
#14 0x00007f0248dc0e74 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0x565480761470, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1618
#15 0x00007f02493f536d in QApplicationPrivate::~QApplicationPrivate (this=0x565480761470, __in_chrg=<optimized out>) at kernel/qapplication.cpp:177
#16 0x00007f0248a187a7 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#17 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x7ffda1ff7de8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#18 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:891
#19 0x00007f02489e6c0e in QCoreApplication::~QCoreApplication (this=0x7ffda1ff7de0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstringlist.h:99
#20 0x00007f02493f74be in QApplication::~QApplication (this=0x7ffda1ff7de0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:858
#21 0x00007f024a07d3ed in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kcmshell5.so
#22 0x00007f0249ea91e3 in __libc_start_main (main=0x5654803e9060, argc=2, argv=0x7ffda1ff7f18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda1ff7f08) at ../csu/libc-start.c:308
#23 0x00005654803e909e in _start ()
[Inferior 1 (process 24422) detached]

Possible duplicates by query: bug 296083, bug 235274, bug 172823.
Comment 1 Tobias Guggenmos 2019-12-31 13:46:48 UTC
The bug is reliably reproducible on Fedora 31. There it produced a slightly more informative backtrace.


=======================================================


Qt Version: 5.12.5
Frameworks Version: 5.64.0
Operating System: Linux 5.3.16-300.fc31.x86_64 x86_64
Distribution: "Fedora release 31 (Thirty One)"

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f50dbab1800 (LWP 167627))]

Thread 4 (Thread 0x7f50bbfff700 (LWP 167631)):
#0  0x00007f50df103d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f50c53d319b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f50c53d2dab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f50df0fd4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f50e1751693 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f50cd7dc700 (LWP 167629)):
#0  0x00007f50e1746a6f in poll () from /lib64/libc.so.6
#1  0x00007f50de51e79e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f50de51e8d3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f50e0294da3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f50e023ecfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f50e00973a5 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f50e1197f4a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f50e00984f6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f50df0fd4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f50e1751693 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f50ce785700 (LWP 167628)):
#0  0x00007f50e1746a6f in poll () from /lib64/libc.so.6
#1  0x00007f50dedd838a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f50dedd9fea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f50ce989ac8 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f50e00984f6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f50df0fd4e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f50e1751693 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f50dbab1800 (LWP 167627)):
[KCrash Handler]
#6  0x00007f50cda0f6b4 in Solid::DeviceInterfacePrivate::backendObject() const () from /lib64/libKF5Solid.so.5
#7  0x00007f50cda04e8d in Solid::DevicePrivate::~DevicePrivate() () from /lib64/libKF5Solid.so.5
#8  0x00007f50cda04ffd in Solid::DevicePrivate::~DevicePrivate() () from /lib64/libKF5Solid.so.5
#9  0x00007f50cda06607 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate() () from /lib64/libKF5Solid.so.5
#10 0x00007f50cda0827d in Solid::DeviceManagerPrivate::~DeviceManagerPrivate() () from /lib64/libKF5Solid.so.5
#11 0x00007f50e009d3a1 in QThreadStorageData::finish(void**) () from /lib64/libQt5Core.so.5
#12 0x00007f50e0242511 in QCoreApplicationPrivate::cleanupThreadData() () from /lib64/libQt5Core.so.5
#13 0x00007f50e06087d5 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /lib64/libQt5Gui.so.5
#14 0x00007f50e0ba33bd in QApplicationPrivate::~QApplicationPrivate() () from /lib64/libQt5Widgets.so.5
#15 0x00007f50e0271e17 in QObject::~QObject() () from /lib64/libQt5Core.so.5
#16 0x00007f50e024214e in QCoreApplication::~QCoreApplication() () from /lib64/libQt5Core.so.5
#17 0x00007f50e0608e41 in QGuiApplication::~QGuiApplication() () from /lib64/libQt5Gui.so.5
#18 0x00007f50e0ba550e in QApplication::~QApplication() () from /lib64/libQt5Widgets.so.5
#19 0x00007f50e182378d in KCMShell::~KCMShell (this=0x7ffd0a3e9a80, __in_chrg=<optimized out>) at /usr/src/debug/kde-cli-tools-5.17.4-1.fc31.x86_64/kcmshell/main.h:32
#20 kdemain (_argc=<optimized out>, _argv=<optimized out>) at /usr/src/debug/kde-cli-tools-5.17.4-1.fc31.x86_64/kcmshell/main.cpp:183
#21 0x00007f50e16771a3 in __libc_start_main () from /lib64/libc.so.6
#22 0x0000562e17a1c0ae in _start ()
[Inferior 1 (process 167627) detached]
Comment 2 Olaf Dreyer 2020-01-10 23:32:29 UTC
I can reproduce this bug also on Gentoo:

Operating System: Gentoo Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Kernel Version: 5.4.10-gentoo-x86_64
OS Type: 64-bit
Processors: 12 × Intel® Core™ i9-8950HK CPU @ 2.90GHz
Memory: 31,2 GiB

The stack trace is identical to Comment 1
Comment 3 wincak 2020-01-17 18:43:41 UTC
I'm getting this crash on KDE Neon since version 5.17.

Can be reproduced every time either by opening Energy information by clicking on tray battery icon or by opening the Energy information page in kinfocenter (and closing it).

Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Kernel Version: 4.15.0-74-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz
Memory: 7,5 GiB of RAM
Comment 4 Christoph Obexer 2020-01-20 07:39:41 UTC
also crashes on OpenSUSE Tumbleweed:
Application: kcmshell5 (5.17.5)

Qt Version: 5.13.1
Frameworks Version: 5.66.0
Operating System: Linux 5.4.10-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Closing the Energy Information window (even without interacting otherwise) crashes every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Modul für Systemeinstellungen (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efe03bd4800 (LWP 3992))]

Thread 7 (Thread 0x7efdeeffd700 (LWP 3999)):
#0  0x00007efe057046a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007efdf89ada4b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007efdf89ad8c7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7efde7fff700 (LWP 3998)):
#0  0x00007efe057046a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007efdf89ada4b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007efdf89ad8c7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7efdef7fe700 (LWP 3997)):
#0  0x00007efe057046a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007efdf89ada4b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007efdf89ad8c7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7efdeffff700 (LWP 3996)):
#0  0x00007efe057046a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007efdf89ada4b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007efdf89ad8c7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7efe00bca700 (LWP 3994)):
#0  0x00007efe04acf49f in g_source_ref () from /usr/lib64/libglib-2.0.so.0
#1  0x00007efe04acf551 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007efe04ad07b3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007efe04ad121b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007efe04ad140f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007efe06819a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007efe067c215b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007efe065fa011 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007efe077d24f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007efe065fb192 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#11 0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7efe01b00700 (LWP 3993)):
#0  0x00007efe07cd4bdf in poll () from /lib64/libc.so.6
#1  0x00007efe053f2752 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007efe053f340a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007efe01d0ffb0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007efe065fb192 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007efe056fdf2a in start_thread () from /lib64/libpthread.so.0
#6  0x00007efe07cdf4af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7efe03bd4800 (LWP 3992)):
[KCrash Handler]
#6  QPointer<QObject>::data (this=0x28) at /usr/include/qt5/QtCore/qpointer.h:85
#7  Solid::DeviceInterfacePrivate::backendObject (this=0x20) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/deviceinterface.cpp:110
#8  0x00007efe00e46655 in Solid::DevicePrivate::~DevicePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/device.cpp:222
#9  0x00007efe00e46759 in Solid::DevicePrivate::~DevicePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/device.cpp:225
#10 0x00007efe00e476e4 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#11 0x00007efe00e47829 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/devicemanager.cpp:63
#12 0x00007efe066006a0 in QThreadStorageData::finish(void**) () from /usr/lib64/libQt5Core.so.5
#13 0x00007efe067c5939 in QCoreApplicationPrivate::cleanupThreadData() () from /usr/lib64/libQt5Core.so.5
#14 0x00007efe06bb7dd4 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /usr/lib64/libQt5Gui.so.5
#15 0x00007efe071f45f9 in QApplicationPrivate::~QApplicationPrivate() () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007efe067f6567 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#17 0x00007efe067c56fa in QCoreApplication::~QCoreApplication() () from /usr/lib64/libQt5Core.so.5
#18 0x00007efe071f666e in QApplication::~QApplication() () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007efe07bd94f8 in kdemain () from /usr/lib64/libkdeinit5_kcmshell5.so
#20 0x00007efe07c06e0b in __libc_start_main () from /lib64/libc.so.6
#21 0x000056308033208a in _start ()
[Inferior 1 (process 3992) detached]

Possible duplicates by query: bug 296083, bug 235274, bug 172823.

An https://bugs.kde.org/ berichten

Additionally reporting this bug using the wizard failed because I am not authorized to report bugs for kcmshell or it doesn't exist! The wizard also didn't find this bug as a possible duplicate!
Comment 5 Briggs 2020-01-25 13:39:40 UTC
Kubuntu 20.04
Sorry if this is redundant 

Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5fc9d6f800 (LWP 1552))]

Thread 4 (Thread 0x7f5fbb338700 (LWP 1556)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5572207e8aac) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5572207e8a58, cond=0x5572207e8a80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5572207e8a80, mutex=0x5572207e8a58) at pthread_cond_wait.c:638
#3  0x00007f5fbb81ea6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f5fbb81e67b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f5fccfad669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f5fcf695333 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5fc3d4b700 (LWP 1554)):
#0  0x00007f5fcf688c3f in __GI___poll (fds=0x7f5fbc011e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5fcc46b0ce in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5fcc46b203 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5fce128943 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5fce0cf8bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5fcdf087f5 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5fcf0d3efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f5fcdf09a42 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5fccfad669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f5fcf695333 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5fc8ebd700 (LWP 1553)):
#0  0x00007f5fcf688c3f in __GI___poll (fds=0x7f5fc8ebcca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5fccc8dc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5fccc8f87a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5fc96c61c8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f5fcdf09a42 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5fccfad669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f5fcf695333 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5fc9d6f800 (LWP 1552)):
[KCrash Handler]
#6  0x00007f5fc3f54414 in ?? () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#7  0x00007f5fc3f49bdd in ?? () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#8  0x00007f5fc3f49d4d in ?? () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#9  0x00007f5fc3f4b357 in ?? () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#10 0x00007f5fc3f4cfcd in ?? () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#11 0x00007f5fcdf0ee81 in QThreadStorageData::finish(void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f5fce0d30d1 in QCoreApplicationPrivate::cleanupThreadData() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f5fce4ac974 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007f5fceae434d in QApplicationPrivate::~QApplicationPrivate() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f5fce104a27 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f5fce0d2e8e in QCoreApplication::~QCoreApplication() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f5fceae649e in QApplication::~QApplication() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f5fcf76e7c5 in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kcmshell5.so
#19 0x00007f5fcf59a1e3 in __libc_start_main (main=0x55721f17a060, argc=2, argv=0x7ffe4d6d0738, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4d6d0728) at ../csu/libc-start.c:308
#20 0x000055721f17a09e in _start ()
[Inferior 1 (process 1552) detached]
Comment 6 Calvin Hoy 2020-01-29 16:33:55 UTC
I can confirm this bug on OpenSUSE Tumbleweed.
Opening Energy Information via any other method (e.g. application launcher) produces the same result.

Distro:		openSUSE Tumbleweed x86_64
Kernel version:	5.3.5-1-default
Plasma version:	5.17.5
Frameworks version:	5.66.0
Qt version:		5.14


-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7eff96a88080 (LWP 3611))]

Thread 7 (Thread 0x7eff859d8700 (LWP 3618)):
#0  0x00007eff986f26a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff8784588b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007eff87845707 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7eff861d9700 (LWP 3617)):
#0  0x00007eff986f26a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff8784588b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007eff87845707 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7eff869da700 (LWP 3616)):
#0  0x00007eff986f26a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff8784588b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007eff87845707 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7eff871db700 (LWP 3615)):
#0  0x00007eff986f26a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff8784588b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007eff87845707 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7eff8fb11700 (LWP 3613)):
#0  0x00007eff9ade6abf in poll () from /lib64/libc.so.6
#1  0x00007eff97a262ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff97a2640f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff99851bdb in QEventDispatcherGlib::processEvents (this=0x7eff88000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007eff997f9d5b in QEventLoop::exec (this=this@entry=0x7eff8fb10d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007eff9962563e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007eff9a8e6507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007eff99626708 in QThreadPrivate::start (arg=0x7eff9a968da0) at thread/qthread_unix.cpp:342
#8  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7eff949e7700 (LWP 3612)):
#0  0x00007eff9ade6abf in poll () from /lib64/libc.so.6
#1  0x00007eff983e0752 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007eff983e140a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007eff94be39a0 in QXcbEventQueue::run (this=0x55a941493d90) at qxcbeventqueue.cpp:228
#4  0x00007eff99626708 in QThreadPrivate::start (arg=0x55a941493d90) at thread/qthread_unix.cpp:342
#5  0x00007eff986ebf2a in start_thread () from /lib64/libpthread.so.0
#6  0x00007eff9adf138f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7eff96a88080 (LWP 3611)):
[KCrash Handler]
#6  QPointer<QObject>::data (this=0x28) at /usr/include/qt5/QtCore/qpointer.h:85
#7  Solid::DeviceInterfacePrivate::backendObject (this=0x20) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/deviceinterface.cpp:110
#8  0x00007eff8fd20655 in Solid::DevicePrivate::~DevicePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/device.cpp:222
#9  0x00007eff8fd20759 in Solid::DevicePrivate::~DevicePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/device.cpp:225
#10 0x00007eff8fd216e4 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=<optimized out>, this=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#11 0x00007eff8fd21829 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/solid-5.66.0-1.1.x86_64/src/solid/devices/frontend/devicemanager.cpp:63
#12 0x00007eff9962b960 in QThreadStorageData::finish (p=0x55a941468200) at thread/qthreadstorage.cpp:200
#13 0x00007eff997fd559 in QCoreApplicationPrivate::cleanupThreadData (this=this@entry=0x55a941471340) at kernel/qcoreapplication.cpp:523
#14 0x00007eff99c05564 in QGuiApplicationPrivate::~QGuiApplicationPrivate (this=0x55a941471340, __in_chrg=<optimized out>) at kernel/qguiapplication.cpp:1681
#15 0x00007eff9a301749 in QApplicationPrivate::~QApplicationPrivate (this=0x55a941471340, __in_chrg=<optimized out>) at kernel/qapplication.cpp:180
#16 0x00007eff9982de1e in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#17 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x7ffcc1d12c38, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#18 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:997
#19 0x00007eff997fd2ea in QCoreApplication::~QCoreApplication (this=0x7ffcc1d12c30, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstringlist.h:111
#20 0x00007eff9a30379e in QApplication::~QApplication (this=0x7ffcc1d12c30, __in_chrg=<optimized out>) at kernel/qapplication.cpp:825
#21 0x00007eff9aceb4f8 in KCMShell::~KCMShell (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kde-cli-tools5-5.17.5-1.1.x86_64/kcmshell/main.h:32
#22 kdemain (_argc=<optimized out>, _argv=<optimized out>) at /usr/src/debug/kde-cli-tools5-5.17.5-1.1.x86_64/kcmshell/main.cpp:183
#23 0x00007eff9ad18e0b in __libc_start_main () from /lib64/libc.so.6
#24 0x000055a93f8c208a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 3611) detached]

Possible duplicates by query: bug 296083, bug 235274, bug 172823.

Report to https://bugs.kde.org/
Comment 7 talha.khan1 2020-02-19 18:54:36 UTC
Created attachment 126181 [details]
New crash information added by DrKonqi

kcmshell5 (5.17.5) using Qt 5.13.2

- What I was doing when the application crashed:

Closed window after viewing energy info.

-- Backtrace (Reduced):
#6  0x00007fe2c22ae6c4 in Solid::DeviceInterfacePrivate::backendObject() const () from /lib64/libKF5Solid.so.5
#7  0x00007fe2c22a3e8d in Solid::DevicePrivate::~DevicePrivate() () from /lib64/libKF5Solid.so.5
#8  0x00007fe2c22a3ffd in Solid::DevicePrivate::~DevicePrivate() () from /lib64/libKF5Solid.so.5
#9  0x00007fe2c22a5607 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate() () from /lib64/libKF5Solid.so.5
#10 0x00007fe2c22a727d in Solid::DeviceManagerPrivate::~DeviceManagerPrivate() () from /lib64/libKF5Solid.so.5
Comment 8 wincak 2020-02-19 21:26:23 UTC
Energy information does not crash anymore - maybe this was fixed in Plasma 5.18?

Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Kernel Version: 4.15.0-88-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz
Memory: 7,5 GiB of RAM
Comment 9 Olaf Dreyer 2020-02-19 21:32:21 UTC
I can confirm, that the new version is not crashing anymore.

Operating System: Gentoo Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.4.20-gentoo-x86_64
OS Type: 64-bit
Processors: 12 × Intel® Core™ i9-8950HK CPU @ 2.90GHz
Memory: 31,2 GiB
Comment 10 Christoph Feck 2020-02-19 21:48:40 UTC
Thanks for the update. Let's assume the commit for bug 413003 fixed it.

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