Bug 360271 - KInfoCenter crashes after clicking Energy Information
Summary: KInfoCenter crashes after clicking Energy Information
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.5.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-08 22:17 UTC by Alexander Potashev
Modified: 2016-06-13 18:41 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 Alexander Potashev 2016-03-08 22:17:59 UTC
KInfoCenter crashes immediately after loading the Energy Information view.

=====

aspotashev@cell ~ $ gdb kinfocenter 
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kinfocenter...Reading symbols from /usr/lib64/debug//usr/bin/kinfocenter.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/kinfocenter 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
[New Thread 0x7fffe7be5700 (LWP 24609)]
kf5.kservice.sycoca: Opening ksycoca from "/home/aspotashev/.cache/ksycoca5_ru_EoKFmqbKC+uh8_5YVTRGFRshero="
kf5.kservice.sycoca: checking file timestamps
Error loading plugin "kcm_energyinfo" "Динамическая библиотека не найдена." 
Plugin search paths are ("/usr/lib64/qt5/plugins", "/usr/bin", "/usr/lib64/kde4/plugins") 
The environment variable QT_PLUGIN_PATH might be not correctly set
[New Thread 0x7fffdaf32700 (LWP 24700)]
org.kde.kwindowsystem: Loaded plugin "/usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
QQmlExpression: Expression file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:447:43 depends on non-NOTIFYable properties:
    Solid::Battery::serial
file:///usr/lib64/qt5/qml/QtQuick/Controls/ScrollView.qml:221:9: QML Binding: Binding loop detected for property "value"
file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:64: TypeError: Cannot read property 'x' of undefined
kf5.kservice.sycoca: checking file timestamps
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
QMetaObject::indexOfSignal: signal visibleChanged() from QQuickItem redefined in ToolTip
Start of DAVE debug
no role explicitly changed, notifying all the properties
we want to emit  8 signals
signal ids are  QVector(6, 7, 8, 9, 10, 11, 12, 13)
listing items
QQmlDMAbstractItemModelData(0x273abe0)
QQmlDMAbstractItemModelData(0x273cb80)
QQmlDMAbstractItemModelData(0x27f73c0)
QQmlDMAbstractItemModelData(0x2155130)
QQmlDMAbstractItemModelData(0x273e8a0)
QQmlDMAbstractItemModelData(0x2150900)
QQmlDMAbstractItemModelData(0x276d2b0)
QQmlDMAbstractItemModelData(0x281c570)
QQmlDMAbstractItemModelData(0x276b170)
QQmlDMAbstractItemModelData(0x2774100)
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
DAVE notifying delegates
ASSERT failure in QVector<T>::at: "index out of range", file /usr/include/qt5/QtCore/qvector.h, line 393

Program received signal SIGABRT, Aborted.
0x00007ffff50260d7 in raise () from /lib64/libc.so.6
(gdb) thread apply all bt

Thread 3 (Thread 0x7fffdaf32700 (LWP 24700)):
#0  0x00007ffff50d0aed in poll () from /lib64/libc.so.6
#1  0x00007ffff0e3ab74 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff0e3ac8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff59b262c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffff595dabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffff57abdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffff48565f8 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007ffff57b1246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff2bca314 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff50d96dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffe7be5700 (LWP 24609)):
#0  0x00007ffff50d0aed in poll () from /lib64/libc.so.6
#1  0x00007fffef534a92 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fffef53667f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fffe9714159 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ffff57b1246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffff2bca314 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff50d96dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fffe99a4780 (LWP 24570)):
#0  0x00007ffff50260d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff502743a in abort () from /lib64/libc.so.6
#2  0x00007ffff579f9fe in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#3  0x00007ffff579ad27 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffff45e47a6 in QVector<int>::at(int) const [clone .part.53] () from /usr/lib64/libQt5Qml.so.5
#5  0x00007ffff45fd966 in VDMModelDelegateDataType::notify(QQmlAdaptorModel const&, QList<QQmlDelegateModelItem*> const&, int, int, QVector<int> const&) const ()
   from /usr/lib64/libQt5Qml.so.5
#6  0x00007ffff4897469 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib64/libQt5Qml.so.5
#7  0x00007ffff48c126c in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5
#8  0x00007ffff48c193b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5
#9  0x00007ffff598b76b in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007ffff5a00f3c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fffdaf3fe07 in WakeUpModel::reload()::{lambda(QDBusPendingCallWatcher*)#5}::operator()(QDBusPendingCallWatcher*) const ()
   from /usr/lib64/qt5/plugins/kcms/kcm_energyinfo.so
#12 0x00007fffdaf419cf in QtPrivate::QFunctorSlotObject<WakeUpModel::reload()::{lambda(QDBusPendingCallWatcher*)#5}, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib64/qt5/plugins/kcms/kcm_energyinfo.so
#13 0x00007ffff598b0d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#14 0x00007ffff7f84eff in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib64/libQt5DBus.so.5
#15 0x00007ffff7f868d5 in QDBusPendingCallWatcher::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5DBus.so.5
#16 0x00007ffff598c91e in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#17 0x00007ffff62098dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007ffff620e750 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff595f73d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007ffff59626ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007ffff59b2e73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007ffff0e3a994 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff0e3abe8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#24 0x00007ffff0e3ac8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ffff59b262c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff595dabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff59654e6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#28 0x0000000000413c74 in main ()
(gdb)


Reproducible: Always




Might be related to bug #347344.
Comment 1 Christoph Feck 2016-06-13 16:28:04 UTC
Was the crash reproducible? If yes, does it still happen after bug 347344 was fixed?
Comment 2 Alexander Potashev 2016-06-13 18:41:44 UTC
Not reproducible with Plasma 5.6.1 and KF 5.22 on Gentoo.