Bug 433970 - Plasmashell crashed on login
Summary: Plasmashell crashed on login
Status: RESOLVED DUPLICATE of bug 433064
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 5.21.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-04 22:26 UTC by Jaak Ristioja
Modified: 2021-04-12 12:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2021-03-04 22:26:33 UTC
Application: plasmashell (5.21.2)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.3-gentoo x86_64
Windowing System: X11
Drkonqi Version: 5.21.2 <--- BUT THAT DIDN'T WORK, so reporting via web browser
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- What I was doing when the application crashed:

I just upgraded to Plasma 5.21.2, rebooted my computer and logged in from my display manager to the X11 plasma session.

- Unusual behavior I noticed:

The wallpapers and panels seemed to appear for a second, then everything went black and the drkonqi window appeared.

- Custom settings of the application:

Judging by the backtrace, I suppose this has something to do with one of those standard widgets on my Plasma panel which shows system metrics via KSysGuard?

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7eff4b132c80 (LWP 3214))]
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#7  0x00007eff4ec75538 in __GI_abort () at abort.c:79
#8  0x00007eff4f10f703 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/global/qlogging.cpp:1914
#9  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffdced07d08, msg=msg@entry=0x7eff4f3c07c8 "ASSERT: \"%s\" in file %s, line %d") at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/global/qlogging.cpp:893
#10 0x00007eff4f10e614 in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7eff4f4a4243 "first <= columnCount(parent)", file=file@entry=0x7eff4f4a3c28 "/var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/itemmodels/qabstractitemmodel.cpp", line=line@entry=3062) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/global/qglobal.cpp:3358
#11 0x00007eff4f126186 in QAbstractItemModel::beginInsertColumns(QModelIndex const&, int, int) (this=0x55cc25a68850, parent=..., first=4, last=4) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/itemmodels/qabstractitemmodel.cpp:3062
#12 0x00007eff404ed9fa in KSysGuard::SensorDataModel::onMetaDataChanged(QString const&, KSysGuard::SensorInfo const&) (this=0x55cc25a68850, sensorId=..., info=...) at /var/tmp/portage/kde-plasma/libksysguard-5.21.2/work/libksysguard-5.21.2/sensors/SensorDataModel.cpp:403
#13 0x00007eff4f32b68d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdced07f70, r=0x55cc25a68850, this=0x55cc25a67c20) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x7eff40504060 <KSysGuard::SensorDaemonInterface::instance()::instance>, signal_index=3, argv=argv@entry=0x7ffdced07f70) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3886
#15 0x00007eff4f3248ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7eff405033c0 <KSysGuard::SensorDaemonInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdced07f70) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3946
#16 0x00007eff404e9297 in KSysGuard::SensorDaemonInterface::metaDataChanged(QString const&, KSysGuard::SensorInfo const&) (this=<optimized out>, _t1=..., _t2=...) at sensors/Sensors_autogen/EWIEGA46WW/moc_SensorDaemonInterface_p.cpp:172
#17 0x00007eff404f8792 in operator() (self=<optimized out>, __closure=0x55cc1f7adaa0) at /var/tmp/portage/kde-plasma/libksysguard-5.21.2/work/libksysguard-5.21.2/sensors/SensorDaemonInterface.cpp:87
#18 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, KSysGuard::SensorDaemonInterface::requestMetaData(const QStringList&)::<lambda(QDBusPendingCallWatcher*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#19 QtPrivate::Functor<KSysGuard::SensorDaemonInterface::requestMetaData(const QStringList&)::<lambda(QDBusPendingCallWatcher*)>, 1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#20 QtPrivate::QFunctorSlotObject<KSysGuard::SensorDaemonInterface::requestMetaData(const QStringList&)::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55cc1f7ada90, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#21 0x00007eff4f32b68d in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdced080f0, r=0x55cc2081ed70, this=0x55cc1f7ada90) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate<false>(QObject*, int, void**) (sender=0x55cc2081ed70, signal_index=3, argv=argv@entry=0x7ffdced080f0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3886
#23 0x00007eff4f3248ec in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7eff4f68b880 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdced080f0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3946
#24 0x00007eff4f66565f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:159
#25 0x00007eff4f3236fa in QObject::event(QEvent*) (this=0x55cc2081ed70, e=0x55cc247d0030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:1314
#26 0x00007eff4ff3310f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55cc2081ed70, e=0x55cc247d0030) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3632
#27 0x00007eff4f2f8fc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55cc2081ed70, event=0x55cc247d0030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1063
#28 0x00007eff4f2fbaea in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55cc1f049e30) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1817
#29 0x00007eff4f34a683 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55cc1f0b8d90) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#30 0x00007eff4d73c08b in g_main_dispatch (context=0x7eff44005000) at ../glib-2.66.7/glib/gmain.c:3325
#31 g_main_context_dispatch (context=0x7eff44005000) at ../glib-2.66.7/glib/gmain.c:4043
#32 0x00007eff4d73c338 in g_main_context_iterate (context=context@entry=0x7eff44005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.66.7/glib/gmain.c:4119
#33 0x00007eff4d73c3ef in g_main_context_iteration (context=0x7eff44005000, may_block=may_block@entry=1) at ../glib-2.66.7/glib/gmain.c:4184
#34 0x00007eff4f349d3b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55cc1f0bf000, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#35 0x00007eff4f2f74ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdced084b0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007eff4f2ff650 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00007eff4f8194ac in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.2-r1/work/qtbase-everywhere-src-5.15.2/src/gui/kernel/qguiapplication.cpp:1867
#38 0x00007eff4ff33085 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:2824
#39 0x000055cc1ddaa413 in main(int, char**) (argc=<optimized out>, argv=0x7ffdced08610) at /var/tmp/portage/kde-plasma/plasma-workspace-5.21.2/work/plasma-workspace-5.21.2/shell/main.cpp:251
[Inferior 1 (process 3214) detached]
Comment 1 Jaak Ristioja 2021-03-04 22:33:27 UTC
(In reply to Jaak Ristioja from comment #0)
> The reporter is unsure if this crash is reproducible.

Scrap that. It crashes with this assertion every time, so it seems I'm currently stuck with a barely functional desktop unless I perhaps find a way to manually disable that buggy KSysGuard widget (whatever its name was). Fortunately apps were still autostarted and krunner seems to work.
Comment 2 Jaak Ristioja 2021-03-04 22:43:42 UTC
Ok, I think managed to get a functional shell after doing this:

  --- ../.config/plasma-org.kde.plasma.desktop-appletsrc	2021-03-05 00:36:09.449977178 +0200
  +++ ../.config/plasma-org.kde.plasma.desktop-appletsrc	2021-03-05 00:40:45.383973868 +0200
  @@ -397,39 +397,6 @@
   showName=false
   showTechnicalInfo=true
   
  -[Containments][64][Applets][133]
  -immutability=1
  -plugin=org.kde.plasma.systemmonitor
  -
  -[Containments][64][Applets][133][Configuration]
  -PreloadWeight=0
  -
  -[Containments][64][Applets][133][Configuration][Appearance]
  -chartFace=org.kde.ksysguard.barchart
  -title=Individual Core Usage
  -
  -[Containments][64][Applets][133][Configuration][SensorColors]
  -cpu/cpu0/TotalLoad=120,136,156
  -cpu/cpu0/usage=120,136,156
  -cpu/cpu1/TotalLoad=131,120,156
  -cpu/cpu1/usage=131,120,156
  -cpu/cpu2/TotalLoad=156,120,154
  -cpu/cpu2/usage=156,120,154
  -cpu/cpu3/TotalLoad=156,120,127
  -cpu/cpu3/usage=156,120,127
  -cpu/cpu4/TotalLoad=156,140,120
  -cpu/cpu4/usage=156,140,120
  -cpu/cpu5/TotalLoad=145,156,120
  -cpu/cpu5/usage=145,156,120
  -cpu/cpu6/TotalLoad=120,156,122
  -cpu/cpu6/usage=120,156,122
  -cpu/cpu7/TotalLoad=120,156,149
  -cpu/cpu7/usage=120,156,149
  -
  -[Containments][64][Applets][133][Configuration][Sensors]
  -highPrioritySensorIds=["cpu/cpu.*/usage"]
  -totalSensors=["cpu/all/usage"]
  -
   [Containments][64][Applets][138]
   immutability=1
   plugin=org.kde.plasma.systemloadviewer
  @@ -550,7 +517,7 @@
   PreloadWeight=0
   
   [Containments][64][General]
  -AppletOrder=85;91;93;67;92;101;68;133;74
  +AppletOrder=85;91;93;67;92;101;68;74
   
   [Containments][69]
   activityId=
  @@ -819,16 +786,6 @@
   plugin=org.kde.desktopcontainment
   wallpaperplugin=org.kde.image
   
  -[Containments][9][Applets][133][Configuration][SensorColors]
  -cpu/cpu0/TotalLoad=120,136,156
  -cpu/cpu1/TotalLoad=131,120,156
  -cpu/cpu2/TotalLoad=156,120,154
  -cpu/cpu3/TotalLoad=156,120,127
  -cpu/cpu4/TotalLoad=156,140,120
  -cpu/cpu5/TotalLoad=145,156,120
  -cpu/cpu6/TotalLoad=120,156,122
  -cpu/cpu7/TotalLoad=120,156,149
  -
   [Containments][9][Applets][134][Configuration][Appearance]
   chartFace=org.kde.ksysguard.linechart
   title=Line Chart
Comment 3 David Edmundson 2021-04-12 12:42:56 UTC

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