Bug 415021 - <<crah battery info>>
Summary: <<crah battery info>>
Status: RESOLVED DUPLICATE of bug 413003
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.17.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-12-10 17:03 UTC by Facu Paz
Modified: 2020-01-17 12:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Facu Paz 2019-12-10 17:03:39 UTC
Application: kinfocenter (5.17.4)
 (Compiled from sources)
Qt Version: 5.13.2
Frameworks Version: 5.64.0
Operating System: Linux 4.19.88-1-lts x86_64
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
The summary of removable battery information in the information center was closed suddenly and for no apparent reason

The crash can be reproduced sometimes.

-- Backtrace:
Application: Centro de información (kinfocenter), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5940519380 (LWP 2912))]

Thread 7 (Thread 0x7f592a9bf700 (LWP 2922)):
#0  0x00007f5943578c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f59354ee5a4 in  () at /usr/lib/dri/swrast_dri.so
#2  0x00007f59354ee3f8 in  () at /usr/lib/dri/swrast_dri.so
#3  0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f592b1c0700 (LWP 2921)):
#0  0x00007f5943578c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f59354ee5a4 in  () at /usr/lib/dri/swrast_dri.so
#2  0x00007f59354ee3f8 in  () at /usr/lib/dri/swrast_dri.so
#3  0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f5934a62700 (LWP 2920)):
#0  0x00007f5943578c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f59354ee5a4 in  () at /usr/lib/dri/swrast_dri.so
#2  0x00007f59354ee3f8 in  () at /usr/lib/dri/swrast_dri.so
#3  0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5935263700 (LWP 2919)):
#0  0x00007f5943578c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f59354ee5a4 in  () at /usr/lib/dri/swrast_dri.so
#2  0x00007f59354ee3f8 in  () at /usr/lib/dri/swrast_dri.so
#3  0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f593e102700 (LWP 2917)):
#0  0x00007f5944b4542c in read () at /usr/lib/libc.so.6
#1  0x00007f5942b9f9f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f5942bed9e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f5942bef0c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f5942bef1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f59450eeb2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f594509583c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f5944ec7305 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f5943f14b37 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f5944ec8530 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f593f6f9700 (LWP 2914)):
#0  0x00007f5944b499ef in poll () at /usr/lib/libc.so.6
#1  0x00007f594379a630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f594379c2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f59400d00c1 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f5944ec8530 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f59435724cf in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f5944b542d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5940519380 (LWP 2912)):
[KCrash Handler]
#6  0x00007f594509fa28 in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#7  0x00007f5928fa4450 in  () at /usr/lib/qt/plugins/kcm_devinfo.so
#8  0x00007f5928f9f1e2 in  () at /usr/lib/qt/plugins/kcm_devinfo.so
#9  0x00007f59450c2c20 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007f5945d42401 in QTreeWidget::itemActivated(QTreeWidgetItem*, int) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f5945d4b15b in  () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f59450c2ac1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#13 0x00007f5945cbe9d6 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f5945cc2ce8 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f5945d3ed54 in QTreeView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f5945a94096 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f5945b4529f in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f5945cccce0 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f5945d3e4fc in QTreeView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f5945096a23 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007f5945a504d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f5945a59f8a in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f5945096d12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f5945a5912b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f5945ab0371 in  () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f5945ab3414 in  () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f5945a504e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f5945a59e11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f5945096d12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007f5945432da4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#31 0x00007f594543464b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0x00007f594540eb0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#33 0x00007f59400d10ec in  () at /usr/lib/libQt5XcbQpa.so.5
#34 0x00007f5942bed39e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#35 0x00007f5942bef1b1 in  () at /usr/lib/libglib-2.0.so.0
#36 0x00007f5942bef1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#37 0x00007f59450eeb13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007f594509583c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007f594509d676 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#40 0x000055d7c99ee05c in  ()
#41 0x00007f5944a7c153 in __libc_start_main () at /usr/lib/libc.so.6
#42 0x000055d7c99ee0ce in _start ()
[Inferior 1 (process 2912) detached]

Possible duplicates by query: bug 414974, bug 414966, bug 414938, bug 414922, bug 414915.

Reported using DrKonqi
Comment 1 Harald Sitter 2020-01-17 12:33:28 UTC
This is a side effect of bug 413003. The energy info module corrupts the internal pointers of solid and so when the devinfo module wants to inspect the Battery object it runs into dangling pointers.

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