Bug 410978 - Crash on enable opengl detection
Summary: Crash on enable opengl detection
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-16 12:23 UTC by Philipp Rehs
Modified: 2019-08-20 18:40 UTC (History)
0 users

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 Philipp Rehs 2019-08-16 12:23:13 UTC
Application: kwin_x11 (5.16.4)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.8-arch1-1-ARCH x86_64
Distribution: "Arch Linux"

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

After enabling opengl detection kwin crashed. The session was running inside a ThinLinc session. The system was running inside ESX vSphere

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

Thread 9 (Thread 0x7f80951d7700 (LWP 1798)):
#0  0x00007f80c11d7415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f80c1e52fb1 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
#2  0x00007f80c1e52fb1 in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f8097712ad2 in  () at /usr/lib/libswrAVX.so
#4  0x00007f80c1e58cd4 in std::execute_native_thread_routine(void*) (__p=0x55628a6f66e0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#5  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f80949d6700 (LWP 1797)):
#0  0x00007f80c11d7415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f80c1e52fb1 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
#2  0x00007f80c1e52fb1 in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f8097712ad2 in  () at /usr/lib/libswrAVX.so
#4  0x00007f80c1e58cd4 in std::execute_native_thread_routine(void*) (__p=0x55628a6f6960) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#5  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f80959d8700 (LWP 1796)):
#0  0x00007f80c11d7415 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f80c1e52fb1 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
#2  0x00007f80c1e52fb1 in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f8097712ad2 in  () at /usr/lib/libswrAVX.so
#4  0x00007f80c1e58cd4 in std::execute_native_thread_routine(void*) (__p=0x55628a8c7f20) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#5  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f80aa371700 (LWP 1792)):
#0  0x00007f80c3741756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f80c227f821 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f80c2280fa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f80c222a5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f80c205d2f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f80c205e520 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f80ab5de700 (LWP 1791)):
#0  0x00007f80c3741756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f80c227f913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f80c2280fa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f80c222a5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f80c205d2f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f80c095e8f9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f80c205e520 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f80abfff700 (LWP 1790)):
#0  0x00007f80c11d777c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f80c206450c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f80c2064659 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f80c2061b0b in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f80c205e520 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f80b882d700 (LWP 1789)):
#0  0x00007f80c11d777c in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f80c206450c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f80c2064659 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f80c2061b0b in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f80c205e520 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f80b9b0d700 (LWP 1784)):
#0  0x00007f80c3741756 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f80c227f913 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f80c2280fa3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f80c222a5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f80c205d2f5 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f80c038fb37 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f80c205e520 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f80c11d157f in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f80c374c0e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f80bb238880 (LWP 1780)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f80a84ecf1c in  () at /usr/lib/dri/swrast_dri.so
#8  0x00007f80a84f12c8 in  () at /usr/lib/dri/swrast_dri.so
#9  0x00007f80b92d68e2 in  () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#10 0x00007f80b92d69e7 in  () at /usr/lib/qt/plugins/org.kde.kwin.platforms/KWinX11Platform.so
#11 0x00007f80aa386c8c in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#12 0x00007f80aa387133 in KWin::SceneOpenGL::Window::bindTexture() () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#13 0x00007f80aa387693 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#14 0x00007f80aa38792c in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#15 0x00007f80aa3901ab in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#16 0x00007f80aa3902e9 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#17 0x00007f80c34cd558 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007f80c34bba5c in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007f80c34cd382 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#20 0x00007f80c34c2517 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#21 0x00007f80c34bed59 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#22 0x00007f80aa382fa5 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#23 0x00007f80c34c1a91 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#24 0x00007f80c34cd0e4 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#25 0x00007f80c34c172c in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#26 0x00007f80aa38b9af in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#27 0x00007f80c34b2f03 in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#28 0x00007f80c34b3716 in KWin::Compositor::startupWithWorkspace() () at /usr/lib/libkwin.so.5
#29 0x00007f80c34b4133 in KWin::Compositor::slotCompositingOptionsInitialized() () at /usr/lib/libkwin.so.5
#30 0x00007f80c34b4f6c in KWin::Compositor::setup() () at /usr/lib/libkwin.so.5
#31 0x00007f80c225844a in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#32 0x00007f80c2be34d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f80c2beca21 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f80c222b9c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007f80c222e739 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#36 0x00007f80c2280d45 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#37 0x00007f80bad9a39f in  () at /usr/lib/libQt5XcbQpa.so.5
#38 0x00007f80c222a5ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007f80c2232326 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#40 0x00007f80c381c588 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#41 0x00007f80c3676ee3 in __libc_start_main () at /usr/lib/libc.so.6
#42 0x000055628a10505e in _start ()
[Inferior 1 (process 1780) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-08-20 18:40:47 UTC
the crash happens in swrast (Mesa software rasterizer). please file a bug report upstream.