Bug 357977

Summary: Crash in glXGetClientString
Product: [Plasma] plasmashell Reporter: FireIcer <f1r31c3r>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bhush94, f1r31c3r, justin.zobel, kai, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.2   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description FireIcer 2016-01-14 12:03:06 UTC
Application: plasmashell (5.5.2)

Qt Version: 5.6.0
Operating System: Linux 4.1.12-gentoo-f1r31c3r-NV x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
Started KDE and plasma crashes every time

- Unusual behavior I noticed:

SDDM also crashes so falling back and using startx to load kde does the same thing crashes only when using startx i am able to make a crash report.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1b1de267c0 (LWP 6862))]

Thread 4 (Thread 0x7f1b1bbe5700 (LWP 6863)):
#0  0x00007f1b2ae9be4d in poll () from /lib64/libc.so.6
#1  0x00007f1b2ee88ac2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f1b2ee8a72f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f1b1db3dfb9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f1b2b514a3c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f1b2a6ac43a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f1b2aea4f6d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1b19523700 (LWP 6864)):
#0  0x00007f1b2ae9be4d in poll () from /lib64/libc.so.6
#1  0x00007f1b26f2ab5c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1b26f2ac6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1b2b7041ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f1b2b6b606a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f1b2b510274 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f1b307d6db5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f1b2b514a3c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1b2a6ac43a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f1b2aea4f6d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1b13be1700 (LWP 6866)):
#0  0x00007f1b2ae9be4d in poll () from /lib64/libc.so.6
#1  0x00007f1b26f2ab5c in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1b26f2ac6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1b2b7041ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f1b2b6b606a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f1b2b510274 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f1b2dd39675 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f1b2b514a3c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1b2a6ac43a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f1b2aea4f6d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1b1de267c0 (LWP 6862)):
[KCrash Handler]
#6  0x00007f1b2f0d2240 in XScreenCount () from /usr/lib64/libX11.so.6
#7  0x00007f1b237540da in glXGetClientString () from /usr/lib64/opengl/nvidia/lib/libGLX.so.0
#8  0x00007f1b308a5243 in QGLXContext::queryDummyContext() () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#9  0x00007f1b308a5441 in QGLXContext::supportsThreading() () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#10 0x00007f1b2e72385b in QSGRenderLoop::instance() () from /usr/lib64/libQt5Quick.so.5
#11 0x00007f1b2e75754a in QQuickWindowPrivate::init(QQuickWindow*, QQuickRenderControl*) () from /usr/lib64/libQt5Quick.so.5
#12 0x00007f1b3025581c in PlasmaQuick::Dialog::Dialog(QQuickItem*) () from /usr/lib64/libKF5PlasmaQuick.so.5
#13 0x00007f1b129a2f70 in void QQmlPrivate::createInto<PlasmaQuick::Dialog>(void*) () from /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#14 0x00007f1b2dccec1b in QQmlType::create() const () from /usr/lib64/libQt5Qml.so.5
#15 0x00007f1b2dd32b50 in QQmlObjectCreator::createInstance(int, QObject*, bool) () from /usr/lib64/libQt5Qml.so.5
#16 0x00007f1b2dd3319a in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) () from /usr/lib64/libQt5Qml.so.5
#17 0x00007f1b2dcbc42f in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /usr/lib64/libQt5Qml.so.5
#18 0x00007f1b2dcbcd71 in QQmlIncubationController::incubateFor(int) () from /usr/lib64/libQt5Qml.so.5
#19 0x00007f1b2e9be09c in KDeclarative::QmlObjectIncubationController::incubatingObjectCountChanged(int) () from /usr/lib64/libKF5Declarative.so.5
#20 0x00007f1b2dcbcb4a in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () from /usr/lib64/libQt5Qml.so.5
#21 0x00007f1b2dcb7fd6 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () from /usr/lib64/libQt5Qml.so.5
#22 0x00007f1b2e9ba7a4 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () from /usr/lib64/libKF5Declarative.so.5
#23 0x00007f1b2e9ba85c in KDeclarative::QmlObjectPrivate::scheduleExecutionEnd() () from /usr/lib64/libKF5Declarative.so.5
#24 0x00007f1b2e9baddf in KDeclarative::QmlObjectPrivate::execute(QUrl const&) () from /usr/lib64/libKF5Declarative.so.5
#25 0x0000000000466c2b in Osd::Osd(ShellCorona*) ()
#26 0x0000000000458797 in ShellCorona::ShellCorona(QObject*) ()
#27 0x0000000000462cfc in ShellManager::loadHandlers() ()
#28 0x00007f1b2b6e010a in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#29 0x00007f1b2c15b7bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f1b2c15ffd2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f1b2b6b7680 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f1b2b6b98e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f1b2b704163 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f1b26f2a82b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f1b26f2abc0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f1b26f2ac6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f1b2b7041d7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f1b2b6b606a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#39 0x00007f1b2b6bddcc in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#40 0x0000000000432bbd in main ()

Possible duplicates by query: bug 357964.

Reported using DrKonqi
Comment 1 FireIcer 2016-01-14 12:23:32 UTC
Created attachment 96633 [details]
New crash information added by DrKonqi

plasmashell (5.5.2) using Qt 5.6.0

- What I was doing when the application crashed:
Starting KDE Plasma crashes everytime

Bellow section seems related to the Nvidia beta driver libglvnd
My Xorg.0.log indicates Libglvnd faild to load so i will attempt to fallback the nvidia driver version for now and re-test.

https://devtalk.nvidia.com/default/topic/908506/many-essential-kde-applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/

- Unusual behavior I noticed:
Beta driver Nvidia seems to cause fail. Version 361.16

-- Backtrace (Reduced):
#6  0x00007fd6cb055240 in XScreenCount () from /usr/lib64/libX11.so.6
#7  0x00007fd6bf6d70da in glXGetClientString () from /usr/lib64/opengl/nvidia/lib/libGLX.so.0
#8  0x00007fd6cc828243 in QGLXContext::queryDummyContext() () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#9  0x00007fd6cc828441 in QGLXContext::supportsThreading() () from /usr/lib64/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
#10 0x00007fd6ca6a685b in QSGRenderLoop::instance() () from /usr/lib64/libQt5Quick.so.5
Comment 2 David Edmundson 2016-01-17 07:32:44 UTC
*** Bug 357964 has been marked as a duplicate of this bug. ***
Comment 3 Justin Zobel 2020-11-19 02:02:11 UTC
Thanks for the crash report Firelcer.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 4 Bug Janitor Service 2020-12-04 04:34:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-19 04:35:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!