Bug 414844 - KInfoCenter crash when switching from and back to energy tab
Summary: KInfoCenter crash when switching from and back to energy tab
Status: RESOLVED DUPLICATE of bug 413003
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.17.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-12-05 03:10 UTC by Max
Modified: 2019-12-27 17:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (14.93 KB, text/plain)
2019-12-10 20:18 UTC, Alex Ander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max 2019-12-05 03:10:50 UTC
Application: kinfocenter (5.17.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
I first selected energy tab, switch to another tab and then back to energy. Tried several times, always crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Информация о системе (kinfocenter), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd80233b800 (LWP 20352))]

Thread 5 (Thread 0x7fd7e64f7700 (LWP 20368)):
#0  0x00007fd80666644c in read () at /lib64/libc.so.6
#1  0x00007fd8049ce4cf in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007fd8049862e7 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007fd804986742 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fd8049868d3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fd806bf0cd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd806b9aceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fd8069f3395 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fd805eb8119 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#9  0x00007fd8069f44e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fd8052514e2 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fd806675693 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fd7ec8be700 (LWP 20356)):
#0  0x00007fd805257d45 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fd7e77db14b in util_queue_thread_func () at /usr/lib64/dri/i965_dri.so
#2  0x00007fd7e77dad5b in impl_thrd_routine () at /usr/lib64/dri/i965_dri.so
#3  0x00007fd8052514e2 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fd806675693 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fd7eff32700 (LWP 20355)):
#0  0x00007fd804983309 in g_source_unref_internal () at /lib64/libglib-2.0.so.0
#1  0x00007fd80498494c in g_source_iter_next () at /lib64/libglib-2.0.so.0
#2  0x00007fd804985c53 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#3  0x00007fd8049866cb in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fd8049868d3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fd806bf0cd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd806b9aceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fd8069f3395 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fd805a18f4a in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#9  0x00007fd8069f44e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fd8052514e2 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fd806675693 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fd7f500d700 (LWP 20354)):
#0  0x00007fd80666aa6f in poll () at /lib64/libc.so.6
#1  0x00007fd80527c38a in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fd80527dfea in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fd7f51daac8 in QXcbEventQueue::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fd8069f44e6 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fd8052514e2 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fd806675693 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fd80233b800 (LWP 20352)):
[KCrash Handler]
#6  0x00007fd806ba4fac in QMetaObject::cast(QObject const*) const () at /lib64/libQt5Core.so.5
#7  0x00007fd7e6504ae1 in BatteryModel::data(QModelIndex const&, int) const () at /usr/lib64/qt5/plugins/kcms/kcm_energyinfo.so
#8  0x00007fd805c3474b in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () at /lib64/libQt5Qml.so.5
#9  0x00007fd805d46044 in loadProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData const&) () at /lib64/libQt5Qml.so.5
#10 0x00007fd805d47b3c in QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () at /lib64/libQt5Qml.so.5
#11 0x00007fd805d66715 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt5Qml.so.5
#12 0x00007fd805d6b557 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () at /lib64/libQt5Qml.so.5
#13 0x00007fd805cf88ff in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib64/libQt5Qml.so.5
#14 0x00007fd805e81c07 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#15 0x00007fd805e879b3 in QQmlBinding::evaluate(bool*) () at /lib64/libQt5Qml.so.5
#16 0x00007fd805e8c4ea in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at /lib64/libQt5Qml.so.5
#17 0x00007fd805e88c94 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at /lib64/libQt5Qml.so.5
#18 0x00007fd805e97826 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#19 0x00007fd805e1c1ba in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#20 0x00007fd805e1c723 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /lib64/libQt5Qml.so.5
#21 0x00007fd805f051df in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) () at /lib64/libQt5Qml.so.5
#22 0x00007fd805f05388 in QQmlDelegateModel::object(int, QQmlIncubator::IncubationMode) () at /lib64/libQt5Qml.so.5
#23 0x00007fd8063a089f in QQuickRepeaterPrivate::requestItems() () at /lib64/libQt5Quick.so.5
#24 0x00007fd8063a2cc7 in QQuickRepeater::componentComplete() () at /lib64/libQt5Quick.so.5
#25 0x00007fd805e97a0c in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#26 0x00007fd805e1c1ba in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#27 0x00007fd805e1c723 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () at /lib64/libQt5Qml.so.5
#28 0x00007fd805e190c6 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () at /lib64/libQt5Qml.so.5
#29 0x00007fd8065380c1 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () at /lib64/libKF5Declarative.so.5
#30 0x00007fd806550a4d in KQuickAddons::ConfigModule::mainUi() [clone .part.0] () at /lib64/libKF5QuickAddons.so.5
#31 0x00007fd807fec627 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /lib64/libKF5KCMUtils.so.5
#32 0x00007fd807ff5c35 in KCModuleProxyPrivate::loadModule() () at /lib64/libKF5KCMUtils.so.5
#33 0x00007fd807ff6288 in KCModuleProxy::realModule() const () at /lib64/libKF5KCMUtils.so.5
#34 0x000055751785fe56 in KcmContainer::setKcm(KCModuleInfo const&) ()
#35 0x000055751785c9ca in KInfoCenter::setKcm(KcmTreeItem const*) ()
#36 0x000055751785ca83 in KInfoCenter::itemClickedSlot(KcmTreeItem const*) ()
#37 0x000055751785b4b4 in KInfoCenter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#38 0x00007fd806bc5dfb in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#39 0x000055751785b213 in SidePanel::clicked(KcmTreeItem const*) ()
#40 0x00007fd806bc5f40 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#41 0x00007fd807765fe9 in QAbstractItemView::clicked(QModelIndex const&) () at /lib64/libQt5Widgets.so.5
#42 0x00007fd80776a290 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007fd8077e2ce3 in QTreeView::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#44 0x00007fd80754234e in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#45 0x00007fd8075ef942 in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#46 0x00007fd807774202 in QAbstractItemView::viewportEvent(QEvent*) () at /lib64/libQt5Widgets.so.5
#47 0x00007fd8077e258f in QTreeView::viewportEvent(QEvent*) () at /lib64/libQt5Widgets.so.5
#48 0x00007fd806b9bc2e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#49 0x00007fd8074ffac5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#50 0x00007fd8075093a3 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#51 0x00007fd806b9bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#52 0x00007fd8075084b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#53 0x00007fd80755e0dd in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#54 0x00007fd807560f6c in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#55 0x00007fd8074ffad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#56 0x00007fd807509150 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#57 0x00007fd806b9bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#58 0x00007fd806f6d723 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#59 0x00007fd806f6ef4b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#60 0x00007fd806f4b54b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#61 0x00007fd7f51dbb5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#62 0x00007fd8049864a0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#63 0x00007fd804986830 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#64 0x00007fd8049868d3 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#65 0x00007fd806bf0cb5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#66 0x00007fd806b9aceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#67 0x00007fd806ba2a16 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#68 0x000055751785af8e in main ()
[Inferior 1 (process 20352) detached]

Possible duplicates by query: bug 414817, bug 414200, bug 413003, bug 372473, bug 365234.

Reported using DrKonqi
Comment 1 Alex Ander 2019-12-10 20:18:33 UTC
Created attachment 124427 [details]
New crash information added by DrKonqi

kinfocenter (5.17.4) using Qt 5.13.2

- What I was doing when the application crashed:
Opened KInfoCenter
Clicked Energy Information
Clicked Memory Information
Clicked Energy Information
The App crashed. It happened always.

I have Kernel 5.3, "Edge" packages from repositories.

-- Backtrace (Reduced):
#8  0x00007fdaf1eeba29 in qobject_cast<Solid::Battery*> (object=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:508
#9  Solid::Device::as<Solid::Battery> (this=0x7fffdef66340) at /usr/include/KF5/Solid/solid/device.h:233
#10 BatteryModel::data (this=<optimized out>, index=..., role=<optimized out>) at ./Modules/energy/batterymodel.cpp:75
#11 0x00007fdb15ea0502 in QModelIndex::data (arole=256, this=0x7fffdef663c0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:462
#12 QQmlDMAbstractItemModelData::value (role=256, this=0x5586c4bfd5d0) at util/qqmladaptormodel.cpp:414
Comment 2 Christoph Feck 2019-12-27 17:16:52 UTC

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