Acknowledgement sent
to Zeb Figura <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <[email protected]>.
(Wed, 09 Nov 2022 00:27:03 GMT) (full text, mbox, link).
Package: qrenderdoc
Version: 1.22+dfsg-1
Severity: important
Dear Maintainer,
qrenderdoc crashes immmediately when run:
whatsit@camazotz:~$ qrenderdoc
Segmentation fault (core dumped)
A gdb backtrace suggests it's crashing trying to call the host glGetString,
which is NULL for some reason. I don't know why this would be. This is 64-bit
qrenderdoc; 64-bit glxgears works fine. Using `renderdoccmd capture` and
`renderdoccmd replay` also works fine.
This does not happen with the upstream renderdoc 1.22 package available at
<https://renderdoc.org/stable/1.22/renderdoc_1.22.tar.gz>.
gdb backtrace pasted below:
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff622cfd7 in glGetString_renderdoc_hooked (name=eGL_VERSION) at
./renderdoc/driver/gl/gl_hooks.cpp:158
#2 glGetString (name=eGL_VERSION) at ./renderdoc/driver/gl/gl_hooks.cpp:158
#3 0x00007ffff3622359 in getGlString (param=7938) at
./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:144
#4 updateFormatFromContext (format=...) at
./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:174
#5 0x00007ffff3623b7e in QGLXContext::init (this=0x55555663ad30,
screen=<optimized out>, share=<optimized out>) at
./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp:416
#6 0x00007ffff36211b7 in QXcbGlxIntegration::createPlatformOpenGLContext
(this=<optimized out>, context=0x7fffffffd0f0) at
./src/plugins/platforms/xcb/gl_integrations/xcb_glx/qxcbglxintegration.cpp:197
#7 0x00007ffff4f827bd in QOpenGLContext::create (this=0x7fffffffd0f0) at
kernel/qopenglcontext.cpp:612
#8 0x00007ffff01bd03c in ?? () from /usr/lib/x86_64-linux-
gnu/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so
#9 0x00007ffff48b7aaf in QCoreApplicationPrivate::init() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff4f37b8c in QGuiApplicationPrivate::init (this=0x55555652c620) at
kernel/qguiapplication.cpp:1530
#11 0x00007ffff57684c9 in QApplicationPrivate::init() () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x0000555555820884 in main ()
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages qrenderdoc depends on:
ii libc6 2.36-4
ii libgcc-s1 12.2.0-9
ii libgl1 1.5.0-1
ii libpython3.10 3.10.8-3
ii libqt5core5a 5.15.6+dfsg-2
ii libqt5gui5 5.15.6+dfsg-2
ii libqt5network5 5.15.6+dfsg-2
ii libqt5svg5 5.15.6-2
ii libqt5widgets5 5.15.6+dfsg-2
ii libqt5x11extras5 5.15.6-2
ii librenderdoc 1.22+dfsg-1
ii libstdc++6 12.2.0-9
qrenderdoc recommends no packages.
qrenderdoc suggests no packages.
-- no debconf information
Acknowledgement sent
to Bernhard Übelacker <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <[email protected]>.
(Thu, 24 Nov 2022 13:48:03 GMT) (full text, mbox, link).
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#L103https://github.com/qt/qtbase/blob/ca254a0937d58e573a0e2b210590de2a02326e5f/src/corelib/kernel/qcoreapplication.cpp#L291
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.