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

Bug#1023722: qrenderdoc crashes immediately



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


Reply to: