Bug 429837 - KWin crash through QtGLCore/NVidia OpenGL
Summary: KWin crash through QtGLCore/NVidia OpenGL
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.12.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-11-30 07:42 UTC by Sektor van Skijlen
Modified: 2021-12-06 16:45 UTC (History)
1 user (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 Sektor van Skijlen 2020-11-30 07:42:52 UTC
Application: kwin_x11 (5.12.8)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.83-default x86_64
Distribution (Platform): openSUSE RPMs

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

Just after the system freshly started, I made the upgrade, then started freshly upgraded Chromium. Just the next thing was the crash reported from KWin.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f75a0edc940 (LWP 2140))]

Thread 6 (Thread 0x7f74d0e16700 (LWP 2457)):
#0  0x00007f759977987d in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f759dbec0bb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f75989464c8 in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f759894692a in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f759dbeac8d in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f75997734f9 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f75a084efbf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f757deba700 (LWP 2254)):
#0  0x00007f75a08447d6 in ppoll () at /lib64/libc.so.6
#1  0x00007f759de20cf1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f759de2240e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f759ddc9fda in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f759dbe5d4a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f75982469f5 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f759dbeac8d in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f75997734f9 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f75a084efbf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7569237700 (LWP 2237)):
#0  0x00007f759977987d in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f759ca86574 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f759ca865b9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f75997734f9 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f75a084efbf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f757f4e2700 (LWP 2206)):
#0  0x00007f75a08447d6 in ppoll () at /lib64/libc.so.6
#1  0x00007f759de20cf1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f759de2240e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f759ddc9fda in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f759dbe5d4a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f75982469f5 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f759dbeac8d in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f75997734f9 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f75a084efbf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f75857da700 (LWP 2156)):
#0  0x00007f75a08447d6 in ppoll () at /lib64/libc.so.6
#1  0x00007f759de20cf1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f759de2240e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f759ddc9fda in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f759dbe5d4a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f75970c99e5 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f759dbeac8d in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f75997734f9 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f75a084efbf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f75a0edc940 (LWP 2140)):
[KCrash Handler]
#6  0x00000000416fc17b in  ()
#7  0x00007f756b2c87a4 in  () at /usr/lib64/libnvidia-glcore.so.450.80.02
#8  0x00007f756b2cdc28 in  () at /usr/lib64/libnvidia-glcore.so.450.80.02
#9  0x00007f756ae4ecbd in  () at /usr/lib64/libnvidia-glcore.so.450.80.02
#10 0x00007f759e6f18a5 in QOpenGLTextureGlyphCache::resizeTextureData(int, int) () at /usr/lib64/libQt5Gui.so.5
#11 0x00007f759e6761ca in QTextureGlyphCache::fillInPendingGlyphs() () at /usr/lib64/libQt5Gui.so.5
#12 0x00007f759892fa76 in  () at /usr/lib64/libQt5Quick.so.5
#13 0x00007f759892c769 in  () at /usr/lib64/libQt5Quick.so.5
#14 0x00007f75989db168 in QQuickTextNode::addGlyphs(QPointF const&, QGlyphRun const&, QColor const&, QQuickText::TextStyle, QColor const&, QSGNode*) () at /usr/lib64/libQt5Quick.so.5
#15 0x00007f75989e0274 in  () at /usr/lib64/libQt5Quick.so.5
#16 0x00007f75989dc0ca in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () at /usr/lib64/libQt5Quick.so.5
#17 0x00007f75989dad31 in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () at /usr/lib64/libQt5Quick.so.5
#18 0x00007f7598995918 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib64/libQt5Quick.so.5
#19 0x00007f7598996193 in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib64/libQt5Quick.so.5
#20 0x00007f7598997412 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib64/libQt5Quick.so.5
#21 0x00007f7598a50618 in QQuickRenderControl::grab() () at /usr/lib64/libQt5Quick.so.5
#22 0x00007f757f501842 in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#23 0x00007f759ddfad1f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f759de07757 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f759de07ab8 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f759ddfb72b in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f759eb7f3dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f759eb86ca4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f759ddcbfa8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f759de244be in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f759de22672 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f7588deaefd in  () at /usr/lib64/libQt5XcbQpa.so.5
#33 0x00007f759ddc9fda in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f759ddd3084 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#35 0x00007f75a0b1c58b in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#36 0x00007f75a077734a in __libc_start_main () at /lib64/libc.so.6
#37 0x000055c1fae2b80a in _start ()
[Inferior 1 (process 2140) detached]

Reported using DrKonqi
Comment 1 kde.org 2021-11-04 21:09:01 UTC
This bug report is quite old and unfortunately lacks proper debug information. Can you still reproduce this issue with KDE 5.23? If so, can you please install debugging packages following the info provided in  https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports, try to reproduce the bug and submit a backtrace with debugging information.
Comment 2 Bug Janitor Service 2021-11-19 04:39:11 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 3 Bug Janitor Service 2021-12-04 04:38:59 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!
Comment 4 Sektor van Skijlen 2021-12-06 16:45:07 UTC
Ok, sorry for not responding earlier. If you are interested, what I can see here is that the crash comes from the NVidia driver, although unknown as to whether it was due to invalid call from QOpenGL* or that's something inside the NVidia driver itself. I think I have provided you all information that could retrieve this, also I installed all necessary information from the debug packages. The instruction you provided doesn't contain debug packages for the Nvidia driver where the crash actually occurred, and which is the information you seem to lack, but you know that I can't provide you it by obvious reasons.

My current versions are (SuSE - updated daily):
KDE Plasma: 5.18.6
KDE Frameworks: 5.76.0
Qt: 5.12.7

Nvidia drivers:
Name        : nvidia-glG05
Version     : 460.84
Release     : lp151.40.1

Whether it reproduces with the latest KDE - hard to say. I get occasionally crashes from the KDE desktop without given reason and any chance to check the crash reason (freshly after start). Unlike the one for which I reported this bug, it doesn't show up as something that I can report a bug for. Might be it has nothing to do with this one, while this one has disappeared.