https://bugs.kde.org/show_bug.cgi?id=415474

            Bug ID: 415474
           Summary: Crash while closing the "Energy Information" window
           Product: frameworks-solid
           Version: 5.65.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: lu...@kde.org
          Reporter: l.bonn...@laposte.net
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to