Bug 466880

Summary: Opening Screen Settings from workspaces does crash system settings
Product: [Applications] systemsettings Reporter: dbmnn
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dbmnn 2023-03-05 11:59:41 UTC
Application: systemsettings (5.27.2)

Qt Version: 5.15.6
Frameworks Version: 5.103.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
I never had problems opening system settings.
After adding a USB Screen to my laptop which works fine, I wanted to open screen settings / display settings. But it just crashes.
Seems like I also cannot start KeePassX anymore.
I am running Kubuntu 23.04 with plasma 5.27 ppa:kubuntu-ppa/backports.

Actually I did not log out of the system after connecting the screen.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1656b976b9 in QWidget::hide (this=0x557567433560) at kernel/qwidget.cpp:7931
#5  0x00007f1656d00c35 in QMenuBarPrivate::updateGeometries (this=0x5575672f2f00) at widgets/qmenubar.cpp:256
#6  0x00007f1656d057d1 in QMenuBar::changeEvent (this=0x5575678b9650, e=0x7ffd07279f40) at widgets/qmenubar.cpp:1446
#7  0x00007f1656baeb1f in QWidget::event (this=0x5575678b9650, event=0x7ffd07279f40) at kernel/qwidget.cpp:8976
#8  0x00007f1656b6bf32 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5575678b9650, e=0x7ffd07279f40) at kernel/qapplication.cpp:3637
#9  0x00007f1655ebae38 in QCoreApplication::notifyInternal2 (receiver=0x5575678b9650, event=0x7ffd07279f40) at kernel/qcoreapplication.cpp:1064
#10 0x00007f1656b9fef2 in QWidgetPrivate::updateFont (this=this@entry=0x5575672f2f00, font=...) at kernel/qwidget.cpp:4654
#11 0x00007f1656baf09e in QWidget::event (this=0x5575678b9650, event=<optimized out>) at kernel/qwidget.cpp:9070
#12 0x00007f1656b6bf32 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5575678b9650, e=0x7ffd0727a0d0) at kernel/qapplication.cpp:3637
#13 0x00007f1655ebae38 in QCoreApplication::notifyInternal2 (receiver=0x5575678b9650, event=0x7ffd0727a0d0) at kernel/qcoreapplication.cpp:1064
#14 0x00007f1656bc7ce6 in sendScreenChangeRecursively (widget=0x5575678b9650) at kernel/qwidgetwindow.cpp:756
#15 0x00007f1656bc7d16 in sendScreenChangeRecursively (widget=<optimized out>) at kernel/qwidgetwindow.cpp:761
#16 0x00007f1656bc7de6 in QWidgetWindow::handleScreenChange (this=0x55756743b4d0) at kernel/qwidgetwindow.cpp:768
#17 QWidgetWindow::qt_static_metacall (_c=QMetaObject::InvokeMetaMethod, _a=<optimized out>, _id=<optimized out>, _o=0x55756743b4d0) at .moc/moc_qwidgetwindow_p.cpp:77
#18 QWidgetWindow::qt_static_metacall (_o=0x55756743b4d0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qwidgetwindow_p.cpp:70
#19 0x00007f1655ef372c in doActivate<false> (sender=0x55756743b4d0, signal_index=3, argv=0x7ffd0727a230) at kernel/qobject.cpp:3931
#20 0x00007f1655eec797 in QMetaObject::activate (sender=sender@entry=0x55756743b4d0, m=m@entry=0x7f16568c2300 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd0727a230) at kernel/qobject.cpp:3979
#21 0x00007f1656345b03 in QWindow::screenChanged (this=this@entry=0x55756743b4d0, _t1=<optimized out>, _t1@entry=0x557567272760) at .moc/moc_qwindow.cpp:729
#22 0x00007f1656346373 in QWindowPrivate::emitScreenChangedRecursion (this=<optimized out>, newScreen=0x557567272760) at kernel/qwindow.cpp:484
#23 0x00007f1656ba10c5 in QWidgetPrivate::create (this=this@entry=0x5575672c6be0) at kernel/qwidget.cpp:1288
#24 0x00007f1656ba141f in QWidget::create (this=0x5575672d7260, window=<optimized out>, initializeWindow=<optimized out>, destroyOldWindow=<optimized out>) at kernel/qwidget.cpp:1179
#25 0x00007f1656d031b3 in QMenuBarPrivate::handleReparent (this=<optimized out>) at widgets/qmenubar.cpp:1421
#26 0x00007f1656d03589 in QMenuBarPrivate::init (this=0x5575672f2f00) at widgets/qmenubar.cpp:705
#27 0x00007f1656d0373d in QMenuBar::QMenuBar (this=<optimized out>, parent=<optimized out>) at widgets/qmenubar.cpp:741
#28 0x00007f1656cc4fd2 in QMainWindow::menuBar (this=0x5575672d7260) at widgets/qmainwindow.cpp:508
#29 0x00007f16578decba in KXmlGuiWindow::createGUI(QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007f16578df63b in KXmlGuiWindow::setupGUI(QSize const&, QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007f16578df783 in KXmlGuiWindow::setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#32 0x000055756703ea4d in ?? ()
#33 0x0000557567037508 in ?? ()
#34 0x00007f1655423510 in __libc_start_call_main (main=main@entry=0x557567036aa0, argc=argc@entry=2, argv=argv@entry=0x7ffd0727a928) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007f16554235c9 in __libc_start_main_impl (main=0x557567036aa0, argc=2, argv=0x7ffd0727a928, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0727a918) at ../csu/libc-start.c:381
#36 0x0000557567037f35 in ?? ()
[Inferior 1 (process 16432) detached]

The reporter indicates this bug may be a duplicate of or related to bug 466730.

Reported using DrKonqi
Comment 1 Nate Graham 2023-03-06 23:28:11 UTC
Based on the backtrace, the bug would appear to be in Qt or the kernel. Could be a packaging issue with Qt coming from the backports PPA; please report to the Kubuntu folks. Thanks!