Bug 467153

Summary: Skrooge crash opening dashboard, after QML dashboard only introduced
Product: [Applications] skrooge Reporter: Jesus M Diaz <jesusm.diazperez>
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: crash CC: stephane
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jesus M Diaz 2023-03-10 14:32:22 UTC
Application: skrooge (2.30.0BETA)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.15 x86_64
Windowing System: X11
Distribution: Slackware 15.0 x86_64 (post 15.0 -current)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = skrooge path = /usr/bin pid = 6416
KCrash: Arguments: /usr/bin/skrooge
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

The crash can be reproduced every time.

-- Backtrace:
Application: Skrooge (skrooge), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f188278cdc6 in KCoreConfigSkeleton::findItem(QString const&) const () at /usr/lib64/libKF5ConfigCore.so.5
#5  0x00007f184f44e335 in SKGUnitPlugin::getDashboardWidget(int) () at /usr/lib64/qt5/plugins/skg_gui/skrooge_unit.so
#6  0x00007f184f48887c in SKGDashboardWidget::addItem(SKGInterfacePlugin*, int, int, QString const&) [clone .part.0] () at /usr/lib64/qt5/plugins/skg_gui/skg_dashboard.so
#7  0x00007f184f4894d2 in SKGDashboardWidget::setState(QString const&) () at /usr/lib64/qt5/plugins/skg_gui/skg_dashboard.so
#8  0x00007f184f486651 in SKGDashboardPluginWidget::setState(QString const&) () at /usr/lib64/qt5/plugins/skg_gui/skg_dashboard.so
#9  0x00007f1883d77c07 in SKGMainPanel::openPage(SKGInterfacePlugin*, int, QString const&, QString const&, QString const&, bool) () at /usr/lib64/libskgbasegui.so.2
#10 0x00007f185c053b70 in SKGBookmarkPluginDockWidget::openBookmark(SKGNodeObject const&, bool, bool) () at /usr/lib64/qt5/plugins/skg_gui/skg_bookmark.so
#11 0x00007f185c0540b4 in SKGBookmarkPluginDockWidget::onOpenBookmark(QModelIndex const&) () at /usr/lib64/qt5/plugins/skg_gui/skg_bookmark.so
#12 0x00007f18784ea6a2 in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007f18821bd752 in QAbstractItemView::pressed(QModelIndex const&) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f18821c33a6 in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f1881faec28 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f188205697e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f18784b51eb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f1881f703be in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f1881f78262 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f18784b5458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f1881f7640b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f1881fc6eb9 in  () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f1881fca019 in  () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f1881f703ce in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f18784b5458 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f18791492cc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#27 0x00007f187911df3c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#28 0x00007f186f6529ca in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007f1874d1dd79 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f1874d1dfe8 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f1874d1e06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f1878509a16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#33 0x00007f18784b403b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f18784bbb42 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#35 0x0000000000405843 in main ()
[Inferior 1 (process 6028) detached]

Reported using DrKonqi
Comment 1 Stephane MANKOWSKI 2023-03-10 21:00:45 UTC
Git commit e00247faf1ea0947a5bb9c8691650abab532b530 by Stephane MANKOWSKI.
Committed on 10/03/2023 at 21:00.
Pushed by smankowski into branch 'master'.

Skrooge crash opening dashboard, after QML dashboard only introduced

M  +1    -0    CHANGELOG
D  +0    -14   plugins/generic/skg_dashboard/skgdashboard_settings.kcfg
D  +0    -6    plugins/generic/skg_dashboard/skgdashboard_settings.kcfgc
M  +0    -4    plugins/skrooge/skrooge_unit/skgunitplugin.cpp

https://invent.kde.org/office/skrooge/commit/e00247faf1ea0947a5bb9c8691650abab532b530