[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023722: qrenderdoc crashes immediately



Dear Maintainer,
this issue was also discussed upstream in [1] [2].

There the reason was given, that running the application
inside a KDE plasma session makes Qt pick up some KDE
shared libraries (KDEPlasmaPlatformTheme.so),
which does its own GL interactions, which is
not expected by qrenderdoc at that time.

A package built with upstream patch [3] makes qrenderdoc
not crash at startup inside a KDE plasma session.

Kind regards,
Bernhard

[1] https://github.com/baldurk/renderdoc/issues/2772
[2] https://github.com/baldurk/renderdoc/issues/2752
[3] https://github.com/baldurk/renderdoc/commit/101dbda8c34888bf2051c3c257da3a1702705ef9


(rr) bt
#0  0x00007f1d2b62cfd2 in glGetString_renderdoc_hooked (name=eGL_VERSION) at ./renderdoc/driver/gl/gl_hooks.cpp:158
#1  glGetString (name=eGL_VERSION) at ./renderdoc/driver/gl/gl_hooks.cpp:158
#2  0x00007f1d285f4359 in getGlString (param=7938) at ./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:144
#3  updateFormatFromContext (format=...) at ./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:174
#4  0x00007f1d285f5b7e in QGLXContext::init (this=0x56133bffce60, screen=<optimized out>, share=<optimized out>) at ./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:416
#5  0x00007f1d285f31b7 in QXcbGlxIntegration::createPlatformOpenGLContext (this=<optimized out>, context=0x7ffebfee1400) at ./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qxcbglxintegration.cpp:197
#6  0x00007f1d2a3827bd in QOpenGLContext::create (this=this@entry=0x7ffebfee1400) at kernel/qopenglcontext.cpp:612
#7  0x00007f1d2513603c in checkBackend (checkContext=...) at ./src/platformtheme/qtquickrenderersettings.cpp:43
#8  initializeRendererSessions () at ./src/platformtheme/qtquickrenderersettings.cpp:79
#9  initializeRendererSessions () at ./src/platformtheme/qtquickrenderersettings.cpp:52
#10 0x00007f1d29cb7aaf in qt_call_pre_routines () at kernel/qcoreapplication.cpp:317
#11 QCoreApplicationPrivate::init (this=this@entry=0x56133be84620) at kernel/qcoreapplication.cpp:849
#12 0x00007f1d2a337b8c in QGuiApplicationPrivate::init (this=this@entry=0x56133be84620) at kernel/qguiapplication.cpp:1530
#13 0x00007f1d2ab684c9 in QApplicationPrivate::init (this=0x56133be84620) at kernel/qapplication.cpp:513
#14 0x000056133a722884 in main ()
(rr)

https://invent.kde.org/plasma/plasma-integration/-/blob/97a2a802948d7ff91be6db564472d2c82286bd2f/src/platformtheme/qtquickrenderersettings.cpp#L103
https://github.com/qt/qtbase/blob/ca254a0937d58e573a0e2b210590de2a02326e5f/src/corelib/kernel/qcoreapplication.cpp#L291


Reply to: