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

            Bug ID: 414594
           Summary: KInfoCenter crashed when watch batter info
           Product: kinfocenter
           Version: 5.17.3
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: hubn...@gmail.com
          Reporter: blurh...@outlook.com
  Target Milestone: ---

Application: kinfocenter (5.17.3)

Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 5.0.0-37-generic x86_64
Distribution: KDE neon User Edition 5.17

-- Information about the crash:
Application: 信息中心 (kinfocenter), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7cf69aad40 (LWP 18544))]

Thread 5 (Thread 0x7f3cbbef2700 (LWP 18602)):
#0  0x00007f7cee0f19f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55617e8475a8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55617e847558,
cond=0x55617e847580) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55617e847580, mutex=0x55617e847558) at
pthread_cond_wait.c:655
#3  0x00007f7ccf8a9c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f7ccf8a9837 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f3cbbef2700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7cce20c700 (LWP 18547)):
#0  0x00007f7cee0f19f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55617e3257e8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55617e325798,
cond=0x55617e3257c0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55617e3257c0, mutex=0x55617e325798) at
pthread_cond_wait.c:655
#3  0x00007f7ccf8a9c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f7ccf8a9837 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f7cce20c700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7cdbdd6700 (LWP 18546)):
#0  0x00007ffe23fa56ae in ?? ()
#1  0x00007f7cf2c76ea6 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f7cdbdd5ae0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f7cf35ad4a1 in qt_clock_gettime (ts=0x7f7cdbdd5ae0, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f7cf35abcd9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f7cd4004cf0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f7cf35ac2b5 in QTimerInfoList::timerWait (this=0x7f7cd4004cf0,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f7cf35ad8fe in timerSourcePrepareHelper (timeout=0x7f7cdbdd5ba4,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f7cdbdd5ba4) at
kernel/qeventdispatcher_glib.cpp:166
#9  0x00007f7cec3a3b28 in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f7cec3a44fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f7cec3a46dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f7cf35adb9b in QEventDispatcherGlib::processEvents
(this=0x7f7cd4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f7cf354e06a in QEventLoop::exec (this=this@entry=0x7f7cdbdd5d70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#14 0x00007f7cf33693aa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#15 0x00007f7cf0c880e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f7cf336ab52 in QThreadPrivate::start (arg=0x7f7cf0effd80) at
thread/qthread_unix.cpp:360
#17 0x00007f7cee0eb6db in start_thread (arg=0x7f7cdbdd6700) at
pthread_create.c:463
#18 0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7ce3729700 (LWP 18545)):
#0  0x00007f7cf2c5abf9 in __GI___poll (fds=0x7f7ce3728ca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7cee71a747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7cee71c36a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7ce650ee10 in QXcbEventQueue::run (this=0x55617e0fa0d0) at
qxcbeventqueue.cpp:228
#4  0x00007f7cf336ab52 in QThreadPrivate::start (arg=0x55617e0fa0d0) at
thread/qthread_unix.cpp:360
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f7ce3729700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7cf69aad40 (LWP 18544)):
[KCrash Handler]
#6  QWeakPointer<QObject>::data (this=0xffffffffefcbcb6a) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:569
#7  QPointer<QObject>::data (this=0xffffffffefcbcb6a) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:86
#8  Solid::DeviceInterfacePrivate::backendObject (this=0xffffffffefcbcb62) at
./src/solid/devices/frontend/deviceinterface.cpp:110
#9  0x00007f7ce15e3d08 in Solid::DevicePrivate::~DevicePrivate
(this=0x55617e21c9d0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/device.cpp:222
#10 0x00007f7ce15e3e89 in Solid::DevicePrivate::~DevicePrivate
(this=0x55617e21c9d0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/device.cpp:225
#11 0x00007f7ce15e54b0 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate
(this=0x55617e2e97b0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/devicemanager.cpp:58
#12 0x00007f7ce15e5bf9 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate
(this=0x55617e2e97b0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/devicemanager.cpp:63
#13 0x00007f7cf3370a11 in QThreadStorageData::finish (p=0x55617e0d96b0) at
thread/qthreadstorage.cpp:200
#14 0x00007f7cf3552e42 in QCoreApplicationPrivate::cleanupThreadData
(this=this@entry=0x55617e0da2b0) at kernel/qcoreapplication.cpp:521
#15 0x00007f7cf3b18098 in QGuiApplicationPrivate::~QGuiApplicationPrivate
(this=0x55617e0da2b0, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:1622
#16 0x00007f7cf4353799 in QApplicationPrivate::~QApplicationPrivate
(this=0x55617e0da2b0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:181
#17 0x00007f7cf358815b in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#18 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x7ffe23f97398, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#19 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at
kernel/qobject.cpp:891
#20 0x00007f7cf35524d6 in QCoreApplication::~QCoreApplication
(this=0x7ffe23f97390, __in_chrg=<optimized out>) at
kernel/qcoreapplication.cpp:897
#21 0x00007f7cf3b1bc0c in QGuiApplication::~QGuiApplication
(this=0x7ffe23f97390, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:651
#22 0x00007f7cf4355909 in QApplication::~QApplication (this=0x7ffe23f97390,
__in_chrg=<optimized out>) at kernel/qapplication.cpp:773
#23 0x000055617c368303 in KicApp::~KicApp (this=0x7ffe23f97390,
__in_chrg=<optimized out>) at ./main.h:34
#24 main (argc=<optimized out>, argv=<optimized out>) at ./main.cpp:75

The crash can be reproduced every time.

-- Backtrace:
Application: 信息中心 (kinfocenter), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7cf69aad40 (LWP 18544))]

Thread 5 (Thread 0x7f3cbbef2700 (LWP 18602)):
#0  0x00007f7cee0f19f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55617e8475a8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55617e847558,
cond=0x55617e847580) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55617e847580, mutex=0x55617e847558) at
pthread_cond_wait.c:655
#3  0x00007f7ccf8a9c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f7ccf8a9837 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f3cbbef2700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7cce20c700 (LWP 18547)):
#0  0x00007f7cee0f19f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55617e3257e8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55617e325798,
cond=0x55617e3257c0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55617e3257c0, mutex=0x55617e325798) at
pthread_cond_wait.c:655
#3  0x00007f7ccf8a9c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f7ccf8a9837 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f7cce20c700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7cdbdd6700 (LWP 18546)):
#0  0x00007ffe23fa56ae in ?? ()
#1  0x00007f7cf2c76ea6 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f7cdbdd5ae0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f7cf35ad4a1 in qt_clock_gettime (ts=0x7f7cdbdd5ae0, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f7cf35abcd9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f7cd4004cf0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f7cf35ac2b5 in QTimerInfoList::timerWait (this=0x7f7cd4004cf0,
tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f7cf35ad8fe in timerSourcePrepareHelper (timeout=0x7f7cdbdd5ba4,
src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f7cdbdd5ba4) at
kernel/qeventdispatcher_glib.cpp:166
#9  0x00007f7cec3a3b28 in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f7cec3a44fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f7cec3a46dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f7cf35adb9b in QEventDispatcherGlib::processEvents
(this=0x7f7cd4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f7cf354e06a in QEventLoop::exec (this=this@entry=0x7f7cdbdd5d70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#14 0x00007f7cf33693aa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#15 0x00007f7cf0c880e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f7cf336ab52 in QThreadPrivate::start (arg=0x7f7cf0effd80) at
thread/qthread_unix.cpp:360
#17 0x00007f7cee0eb6db in start_thread (arg=0x7f7cdbdd6700) at
pthread_create.c:463
#18 0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7ce3729700 (LWP 18545)):
#0  0x00007f7cf2c5abf9 in __GI___poll (fds=0x7f7ce3728ca8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7cee71a747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7cee71c36a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7ce650ee10 in QXcbEventQueue::run (this=0x55617e0fa0d0) at
qxcbeventqueue.cpp:228
#4  0x00007f7cf336ab52 in QThreadPrivate::start (arg=0x55617e0fa0d0) at
thread/qthread_unix.cpp:360
#5  0x00007f7cee0eb6db in start_thread (arg=0x7f7ce3729700) at
pthread_create.c:463
#6  0x00007f7cf2c6788f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7cf69aad40 (LWP 18544)):
[KCrash Handler]
#6  QWeakPointer<QObject>::data (this=0xffffffffefcbcb6a) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:569
#7  QPointer<QObject>::data (this=0xffffffffefcbcb6a) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:86
#8  Solid::DeviceInterfacePrivate::backendObject (this=0xffffffffefcbcb62) at
./src/solid/devices/frontend/deviceinterface.cpp:110
#9  0x00007f7ce15e3d08 in Solid::DevicePrivate::~DevicePrivate
(this=0x55617e21c9d0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/device.cpp:222
#10 0x00007f7ce15e3e89 in Solid::DevicePrivate::~DevicePrivate
(this=0x55617e21c9d0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/device.cpp:225
#11 0x00007f7ce15e54b0 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate
(this=0x55617e2e97b0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/devicemanager.cpp:58
#12 0x00007f7ce15e5bf9 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate
(this=0x55617e2e97b0, __in_chrg=<optimized out>) at
./src/solid/devices/frontend/devicemanager.cpp:63
#13 0x00007f7cf3370a11 in QThreadStorageData::finish (p=0x55617e0d96b0) at
thread/qthreadstorage.cpp:200
#14 0x00007f7cf3552e42 in QCoreApplicationPrivate::cleanupThreadData
(this=this@entry=0x55617e0da2b0) at kernel/qcoreapplication.cpp:521
#15 0x00007f7cf3b18098 in QGuiApplicationPrivate::~QGuiApplicationPrivate
(this=0x55617e0da2b0, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:1622
#16 0x00007f7cf4353799 in QApplicationPrivate::~QApplicationPrivate
(this=0x55617e0da2b0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:181
#17 0x00007f7cf358815b in QScopedPointerDeleter<QObjectData>::cleanup
(pointer=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#18 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>
>::~QScopedPointer (this=0x7ffe23f97398, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#19 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at
kernel/qobject.cpp:891
#20 0x00007f7cf35524d6 in QCoreApplication::~QCoreApplication
(this=0x7ffe23f97390, __in_chrg=<optimized out>) at
kernel/qcoreapplication.cpp:897
#21 0x00007f7cf3b1bc0c in QGuiApplication::~QGuiApplication
(this=0x7ffe23f97390, __in_chrg=<optimized out>) at
kernel/qguiapplication.cpp:651
#22 0x00007f7cf4355909 in QApplication::~QApplication (this=0x7ffe23f97390,
__in_chrg=<optimized out>) at kernel/qapplication.cpp:773
#23 0x000055617c368303 in KicApp::~KicApp (this=0x7ffe23f97390,
__in_chrg=<optimized out>) at ./main.h:34
#24 main (argc=<optimized out>, argv=<optimized out>) at ./main.cpp:75

Possible duplicates by query: bug 414483, bug 414200, bug 409515, bug 353881,
bug 296083.

Reported using DrKonqi

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

Reply via email to