Bug 423494 - System settings crash in handleContextCreationFailure
Summary: System settings crash in handleContextCreationFailure
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.19.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 420989 423503 423634 423738 426830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-25 12:28 UTC by Marcio Merlone
Modified: 2020-09-22 10:41 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.77 KB, patch)
2020-07-02 17:42 UTC, calvinjabel
Details
New crash information added by DrKonqi (8.45 KB, patch)
2020-09-21 17:00 UTC, flrieverb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcio Merlone 2020-06-25 12:28:13 UTC
Application: systemsettings5 (5.19.2)

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.3.0-61-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
System settings crash
Just trying to open it. No more info, sorry.

The crash can be reproduced every time.

-- Backtrace:
Application: Configurações do sistema (systemsettings5), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#5  0x00007ff535162801 in __GI_abort () at abort.c:79
#6  0x00007ff53592a68b in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffd05fcd5b0, msg=msg@entry=0x7ff534119b6f "%s") at global/qlogging.cpp:893
#8  0x00007ff534115cc0 in QQuickWidgetPrivate::handleContextCreationFailure (this=this@entry=0x55b41fc45920, format=..., isEs=isEs@entry=false) at qquickwidget.cpp:869
#9  0x00007ff534116020 in QQuickWidgetPrivate::createContext (this=this@entry=0x55b41fc45920) at qquickwidget.cpp:902
#10 0x00007ff53411817e in QQuickWidget::resizeEvent (this=0x55b41fe035d0, e=<optimized out>) at qquickwidget.cpp:1244
#11 0x00007ff536cfebde in QWidget::event (this=this@entry=0x55b41fe035d0, event=event@entry=0x7ffd05fcdad0) at kernel/qwidget.cpp:8823
#12 0x00007ff534118ecb in QQuickWidget::event (this=0x55b41fe035d0, e=0x7ffd05fcdad0) at qquickwidget.cpp:1551
#13 0x00007ff536cbd9ac in QApplicationPrivate::notify_helper (this=this@entry=0x55b41fa6d700, receiver=receiver@entry=0x55b41fe035d0, e=e@entry=0x7ffd05fcdad0) at kernel/qapplication.cpp:3685
#14 0x00007ff536cc4bb0 in QApplication::notify (this=0x7ffd05fceb10, receiver=0x55b41fe035d0, e=0x7ffd05fcdad0) at kernel/qapplication.cpp:3431
#15 0x00007ff535b3e4a8 in QCoreApplication::notifyInternal2 (receiver=0x55b41fe035d0, event=0x7ffd05fcdad0) at kernel/qcoreapplication.cpp:1075
#16 0x00007ff535b3e67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55b41fe035d0, event=event@entry=0x7ffd05fcdad0) at kernel/qcoreapplication.cpp:1470
#17 0x00007ff536cf6f76 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x55b41fc45920, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7727
#18 0x00007ff536cfb303 in QWidgetPrivate::show_helper (this=this@entry=0x55b41fc45920) at kernel/qwidget.cpp:7778
#19 0x00007ff536cfe453 in QWidgetPrivate::setVisible (this=0x55b41fc45920, visible=<optimized out>) at kernel/qwidget.cpp:8127
#20 0x00007ff536cfb258 in QWidgetPrivate::showChildren (this=this@entry=0x55b41fdfeb80, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8197
#21 0x00007ff536cfb31f in QWidgetPrivate::show_helper (this=0x55b41fdfeb80) at kernel/qwidget.cpp:7784
#22 0x00007ff536cfb12b in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7708
#23 0x00007ff536cfb240 in QWidgetPrivate::showChildren (this=this@entry=0x55b41fa5be10, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8195
#24 0x00007ff536cfb31f in QWidgetPrivate::show_helper (this=this@entry=0x55b41fa5be10) at kernel/qwidget.cpp:7784
#25 0x00007ff536cfe453 in QWidgetPrivate::setVisible (this=0x55b41fa5be10, visible=<optimized out>) at kernel/qwidget.cpp:8127
#26 0x00007ff536cfb258 in QWidgetPrivate::showChildren (this=this@entry=0x55b41fb397d0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8197
#27 0x00007ff536cfb31f in QWidgetPrivate::show_helper (this=this@entry=0x55b41fb397d0) at kernel/qwidget.cpp:7784
#28 0x00007ff536cfe453 in QWidgetPrivate::setVisible (this=0x55b41fb397d0, visible=<optimized out>) at kernel/qwidget.cpp:8127
#29 0x000055b41f5877db in SettingsBase::changePlugin (this=this@entry=0x55b41fb29b60) at ./app/SettingsBase.cpp:407
#30 0x000055b41f5897c8 in SettingsBase::initApplication (this=0x55b41fb29b60) at ./app/SettingsBase.cpp:146
#31 0x00007ff535b7157b in QObject::event (this=this@entry=0x55b41fb29b60, e=e@entry=0x55b41fc24640) at kernel/qobject.cpp:1339
#32 0x00007ff536cfead3 in QWidget::event (this=this@entry=0x55b41fb29b60, event=event@entry=0x55b41fc24640) at kernel/qwidget.cpp:9094
#33 0x00007ff536e0bee0 in QMainWindow::event (this=this@entry=0x55b41fb29b60, event=event@entry=0x55b41fc24640) at widgets/qmainwindow.cpp:1341
#34 0x00007ff539547fc1 in KMainWindow::event (this=this@entry=0x55b41fb29b60, ev=ev@entry=0x55b41fc24640) at ./src/kmainwindow.cpp:885
#35 0x00007ff539589367 in KXmlGuiWindow::event (this=0x55b41fb29b60, ev=0x55b41fc24640) at ./src/kxmlguiwindow.cpp:121
#36 0x00007ff536cbd9ac in QApplicationPrivate::notify_helper (this=this@entry=0x55b41fa6d700, receiver=receiver@entry=0x55b41fb29b60, e=e@entry=0x55b41fc24640) at kernel/qapplication.cpp:3685
#37 0x00007ff536cc4bb0 in QApplication::notify (this=0x7ffd05fceb10, receiver=0x55b41fb29b60, e=0x55b41fc24640) at kernel/qapplication.cpp:3431
#38 0x00007ff535b3e4a8 in QCoreApplication::notifyInternal2 (receiver=0x55b41fb29b60, event=0x55b41fc24640) at kernel/qcoreapplication.cpp:1075
#39 0x00007ff535b3e67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55b41fb29b60, event=event@entry=0x55b41fc24640) at kernel/qcoreapplication.cpp:1470
#40 0x00007ff535b41121 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55b41fa63fd0) at kernel/qcoreapplication.cpp:1815
#41 0x00007ff535b416b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#42 0x00007ff535b9e103 in postEventSourceDispatch (s=0x55b41fac6c70) at kernel/qeventdispatcher_glib.cpp:277
#43 0x00007ff52e3fd417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff52e3fd650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ff52e3fd6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ff535b9d7ac in QEventDispatcherGlib::processEvents (this=0x55b41fad5320, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007ff535b3cd2a in QEventLoop::exec (this=this@entry=0x7ffd05fce9c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#48 0x00007ff535b464a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#49 0x000055b41f583804 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:168

Possible duplicates by query: bug 423222, bug 423132, bug 422986, bug 422984, bug 422933.

Reported using DrKonqi
Comment 1 David Edmundson 2020-06-25 12:32:21 UTC
and plasmashell (the panel) is still working correctly?
Comment 2 Marcio Merlone 2020-06-25 12:57:18 UTC
(In reply to David Edmundson from comment #1)
> and plasmashell (the panel) is still working correctly?

Yes. No other visible error. Did not rebooted yet to try again, so if you need more info I can try again.
Comment 3 David Edmundson 2020-06-25 13:00:39 UTC
ok, just to confirm that this bug is what I think it is:

if you go to a terminal and type "plasmashell --replace"
plasma will restart, but with a warning icon in the system tray about degraded graphics stack

then system settings will start working again


(rebooting will also fix it, but I'd like to go through this to test a path please)
Comment 4 Marcio Merlone 2020-06-25 13:13:53 UTC
(In reply to David Edmundson from comment #3)
> ok, just to confirm that this bug is what I think it is:
> 
> if you go to a terminal and type "plasmashell --replace"
> plasma will restart, but with a warning icon in the system tray about
> degraded graphics stack
> 
> then system settings will start working again
> 
> 
> (rebooting will also fix it, but I'd like to go through this to test a path
> please)


Works, System settings opened after replace.

Tryied to paste recent apt/history.log (systemsettings-dbgsym:amd64 and some nvidia packages among others) but bugzilla blocked as spam.

The output if worth something (too big to fit here):

https://pastebin.com/Gcc7W6zH
Comment 5 David Edmundson 2020-06-25 13:29:54 UTC
it'll be the nvidia driver; it upgrades the libGL and the kernel all at once

If you open a new client you get new libGL with old kernel and it fails.


I put in a hook to catch it in plasmashell and then enable fallback rendering for everyone after that. 

I'm starting to think I need to put the hook in everywhere.
Comment 6 David Edmundson 2020-07-01 16:11:44 UTC
*** Bug 423738 has been marked as a duplicate of this bug. ***
Comment 7 David Edmundson 2020-07-01 16:12:05 UTC
*** Bug 420989 has been marked as a duplicate of this bug. ***
Comment 8 David Edmundson 2020-07-01 16:12:10 UTC
*** Bug 423634 has been marked as a duplicate of this bug. ***
Comment 9 David Edmundson 2020-07-01 16:12:24 UTC
*** Bug 423503 has been marked as a duplicate of this bug. ***
Comment 10 calvinjabel 2020-07-02 17:42:12 UTC
Created attachment 129849 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.4) using Qt 5.12.8

- What I was doing when the application crashed:

Just tried to open the settings app and it crashed imeditely, continued to crash on each reload.
Also noticed that discord notification bubble was displaying 0 instead of disapearing.
Both issues fixed by running plasmashell --replace in the terminal.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fbd4f53f859 in __GI_abort () at abort.c:79
#8  0x00007fbd4f972aad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#11 0x00007fbd4f30f036 in QQuickWidget::resizeEvent(QResizeEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007fbd5066c947 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 11 flrieverb 2020-09-21 17:00:36 UTC
Created attachment 131841 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.4) using Qt 5.12.8

- What I was doing when the application crashed:

Browing internet nothing much more to say. Had only 5 cards open at the time so i dont think it was a problem.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007faf4ec81859 in __GI_abort () at abort.c:79
#8  0x00007faf4f0b4aad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#11 0x00007faf4ea51036 in QQuickWidget::resizeEvent(QResizeEvent*) () from /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#12 0x00007faf4fdae947 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 12 Christoph Feck 2020-09-22 10:41:40 UTC
*** Bug 426830 has been marked as a duplicate of this bug. ***