Bug 427794

Summary: Systemsetting5 & plasma-discover crash
Product: [Applications] systemsettings Reporter: Gianluca <gianluca.m>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.20.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gianluca 2020-10-16 09:24:05 UTC
Application: systemsettings5 (5.20.0)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-51-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
QQmlEngine::setContextForObject(): Object already has a QQmlContext
Failed to create OpenGL context for format QSurfaceFormat(version 3.2, options QFlags<QSurfaceFormat::FormatOption>(ResetNotification), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile)

The crash can be reproduced every time.

-- Backtrace:
Application: Impostazioni di sistema (systemsettings5), signal: Aborted

[New LWP 3299563]
[New LWP 3299564]
[New LWP 3299568]
[New LWP 3299569]
[New LWP 3299570]
[New LWP 3299571]
[New LWP 3299572]
[New LWP 3299573]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fed78ab8aff in __GI___poll (fds=0x7ffda1cb82a8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fed749b0800 (LWP 3299562))]

Thread 9 (Thread 0x7fed5d86c700 (LWP 3299573)):
#0  __GI___libc_read (nbytes=16, buf=0x7fed5d86bb70, fd=20) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=20, buf=0x7fed5d86bb70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fed76c1589f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed76bcccfe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fed76bcd152 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fed76bcd2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fed79080eab in QEventDispatcherGlib::processEvents (this=0x7fed44000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fed790251bb in QEventLoop::exec (this=this@entry=0x7fed5d86bd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007fed78e43082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007fed780496c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83fe74dc0) at thread/qthread_unix.cpp:342
#11 0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fed5f7fe700 (LWP 3299572)):
#0  0x00007fed78ab8aff in __GI___poll (fds=0x7fed50005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fed76bcd1ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed76bcd2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed79080eab in QEventDispatcherGlib::processEvents (this=0x7fed50000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fed790251bb in QEventLoop::exec (this=this@entry=0x7fed5f7fdd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fed78e43082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fed780496c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83fb4e3f0) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fed5ffff700 (LWP 3299571)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fed5fffed10, clockid=<optimized out>, expected=0, futex_word=0x55b83fb8c0d0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fed5fffed10, clockid=<optimized out>, mutex=0x55b83fb8c080, cond=0x55b83fb8c0a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55b83fb8c0a8, mutex=0x55b83fb8c080, abstime=0x7fed5fffed10) at pthread_cond_wait.c:656
#3  0x00007fed78e4a098 in QWaitConditionPrivate::wait_relative (this=0x55b83fb8c080, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x55b83fb8c080) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x55b83fac0f20, mutex=mutex@entry=0x55b83fb9ce98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fed78e476c1 in QThreadPoolThread::run (this=0x55b83fac0f10) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83fac0f10) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fed68cd3700 (LWP 3299570)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fed68cd2d10, clockid=<optimized out>, expected=0, futex_word=0x55b83fba46b0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fed68cd2d10, clockid=<optimized out>, mutex=0x55b83fba4660, cond=0x55b83fba4688) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55b83fba4688, mutex=0x55b83fba4660, abstime=0x7fed68cd2d10) at pthread_cond_wait.c:656
#3  0x00007fed78e4a098 in QWaitConditionPrivate::wait_relative (this=0x55b83fba4660, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x55b83fba4660) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x55b83fbd9250, mutex=mutex@entry=0x55b83fb9ce98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fed78e476c1 in QThreadPoolThread::run (this=0x55b83fbd9240) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83fbd9240) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fed694d4700 (LWP 3299569)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fed694d3d10, clockid=<optimized out>, expected=0, futex_word=0x55b83fbe9670) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fed694d3d10, clockid=<optimized out>, mutex=0x55b83fbe9620, cond=0x55b83fbe9648) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55b83fbe9648, mutex=0x55b83fbe9620, abstime=0x7fed694d3d10) at pthread_cond_wait.c:656
#3  0x00007fed78e4a098 in QWaitConditionPrivate::wait_relative (this=0x55b83fbe9620, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x55b83fbe9620) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x55b83fbe93f0, mutex=mutex@entry=0x55b83fb9ce98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fed78e476c1 in QThreadPoolThread::run (this=0x55b83fbe93e0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83fbe93e0) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fed69cd5700 (LWP 3299568)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fed69cd4d10, clockid=<optimized out>, expected=0, futex_word=0x55b8403448d0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fed69cd4d10, clockid=<optimized out>, mutex=0x55b840344880, cond=0x55b8403448a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x55b8403448a8, mutex=0x55b840344880, abstime=0x7fed69cd4d10) at pthread_cond_wait.c:656
#3  0x00007fed78e4a098 in QWaitConditionPrivate::wait_relative (this=0x55b840344880, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x55b840344880) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x55b840344860, mutex=mutex@entry=0x55b83fb9ce98, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007fed78e476c1 in QThreadPoolThread::run (this=0x55b840344850) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b840344850) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fed72c24700 (LWP 3299564)):
#0  0x00007fed76c1a33d in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fed76bcd0b0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fed76bcd2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fed79080eab in QEventDispatcherGlib::processEvents (this=0x7fed64000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fed790251bb in QEventLoop::exec (this=this@entry=0x7fed72c23d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fed78e43082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fed77c65f2b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fed78e4420c in QThreadPrivate::start (arg=0x7fed77ce8d80) at thread/qthread_unix.cpp:342
#8  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fed73d2c700 (LWP 3299563)):
#0  0x00007fed78ab8aff in __GI___poll (fds=0x7fed73d2bca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fed77512c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fed7751490a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fed74300978 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fed78e4420c in QThreadPrivate::start (arg=0x55b83f854a90) at thread/qthread_unix.cpp:342
#5  0x00007fed774e8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fed78ac5293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fed749b0800 (LWP 3299562)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007fed789c8859 in __GI_abort () at abort.c:79
#6  0x00007fed78e08c39 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffda1cb8e00, msg=msg@entry=0x7fed787560c5 "%s") at global/qlogging.cpp:893
#8  0x00007fed78751cb3 in QQuickWidgetPrivate::handleContextCreationFailure (this=this@entry=0x55b83fb52000, format=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:208
#9  0x00007fed78751fff in QQuickWidgetPrivate::createContext (this=0x55b83fb52000) at qquickwidget.cpp:916
#10 0x00007fed78754106 in QQuickWidget::resizeEvent (this=0x55b83fb06710, e=0x7ffda1cb9300) at qquickwidget.cpp:1258
#11 0x00007fed79cc643f in QWidget::event (this=this@entry=0x55b83fb06710, event=event@entry=0x7ffda1cb9300) at kernel/qwidget.cpp:8812
#12 0x00007fed78754db3 in QQuickWidget::event (this=0x55b83fb06710, e=0x7ffda1cb9300) at qquickwidget.cpp:1565
#13 0x00007fed79c82cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55b83f8527e0, receiver=receiver@entry=0x55b83fb06710, e=e@entry=0x7ffda1cb9300) at kernel/qapplication.cpp:3671
#14 0x00007fed79c8bc70 in QApplication::notify (this=0x7ffda1cba240, receiver=0x55b83fb06710, e=0x7ffda1cb9300) at kernel/qapplication.cpp:3417
#15 0x00007fed790266aa in QCoreApplication::notifyInternal2 (receiver=0x55b83fb06710, event=0x7ffda1cb9300) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007fed79cbe2ee in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x55b83fb52000, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at kernel/qwidget.cpp:7721
#17 0x00007fed79cc2747 in QWidgetPrivate::show_helper (this=this@entry=0x55b83fb52000) at kernel/qwidget.cpp:7772
#18 0x00007fed79cc5873 in QWidgetPrivate::setVisible (this=0x55b83fb52000, visible=<optimized out>) at kernel/qwidget.cpp:8121
#19 0x00007fed79cc26d1 in QWidgetPrivate::showChildren (this=this@entry=0x55b83fbbe020, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8191
#20 0x00007fed79cc2763 in QWidgetPrivate::show_helper (this=0x55b83fbbe020) at kernel/qwidget.cpp:7778
#21 0x00007fed79cc255f in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7702
#22 0x00007fed79cc26e9 in QWidgetPrivate::showChildren (this=this@entry=0x55b83f922610, spontaneous=spontaneous@entry=false) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:132
#23 0x00007fed79cc2763 in QWidgetPrivate::show_helper (this=this@entry=0x55b83f922610) at kernel/qwidget.cpp:7778
#24 0x00007fed79cc5873 in QWidgetPrivate::setVisible (this=0x55b83f922610, visible=<optimized out>) at kernel/qwidget.cpp:8121
#25 0x00007fed79cc26d1 in QWidgetPrivate::showChildren (this=this@entry=0x55b83f922000, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:8191
#26 0x00007fed79cc2763 in QWidgetPrivate::show_helper (this=this@entry=0x55b83f922000) at kernel/qwidget.cpp:7778
#27 0x00007fed79cc5873 in QWidgetPrivate::setVisible (this=0x55b83f922000, visible=<optimized out>) at kernel/qwidget.cpp:8121
#28 0x000055b83eaf7e43 in SettingsBase::changePlugin (this=this@entry=0x55b83f965790) at ./app/SettingsBase.cpp:408
#29 0x000055b83eafaa2c in SettingsBase::initApplication (this=<optimized out>) at ./app/SettingsBase.cpp:146
#30 0x00007fed79054129 in QObject::event (this=this@entry=0x55b83f965790, e=e@entry=0x55b83fbccfc0) at kernel/qobject.cpp:1314
#31 0x00007fed79cc5d5d in QWidget::event (this=this@entry=0x55b83f965790, event=event@entry=0x55b83fbccfc0) at kernel/qwidget.cpp:9088
#32 0x00007fed79ddea18 in QMainWindow::event (this=this@entry=0x55b83f965790, event=event@entry=0x55b83fbccfc0) at widgets/qmainwindow.cpp:1341
#33 0x00007fed7a692eab in KMainWindow::event (this=this@entry=0x55b83f965790, ev=ev@entry=0x55b83fbccfc0) at ./src/kmainwindow.cpp:909
#34 0x00007fed7a6ddb3b in KXmlGuiWindow::event (this=0x55b83f965790, ev=0x55b83fbccfc0) at ./src/kxmlguiwindow.cpp:109
#35 0x00007fed79c82cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55b83f8527e0, receiver=receiver@entry=0x55b83f965790, e=e@entry=0x55b83fbccfc0) at kernel/qapplication.cpp:3671
#36 0x00007fed79c8bc70 in QApplication::notify (this=0x7ffda1cba240, receiver=0x55b83f965790, e=0x55b83fbccfc0) at kernel/qapplication.cpp:3417
#37 0x00007fed790266aa in QCoreApplication::notifyInternal2 (receiver=0x55b83f965790, event=0x55b83fbccfc0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#38 0x00007fed79028fa1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b83f849290) at kernel/qcoreapplication.cpp:1815
#39 0x00007fed79081837 in postEventSourceDispatch (s=0x55b83f90ffc0) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007fed76bccfbd in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fed76bcd240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fed76bcd2e3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fed79080e92 in QEventDispatcherGlib::processEvents (this=0x55b83f920540, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fed790251bb in QEventLoop::exec (this=this@entry=0x7ffda1cba120, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#45 0x00007fed7902d354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x000055b83eaf411a in main (argc=<optimized out>, argv=0x7ffda1cba3a8) at ./app/main.cpp:207
[Inferior 1 (process 3299562) detached]

Possible duplicates by query: bug 427384, bug 426958, bug 426875, bug 426830, bug 426503.

Reported using DrKonqi
Comment 1 David Edmundson 2020-10-20 22:23:17 UTC
>handleContextCreationFailure

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