Package: libglx-mesa0
Version: 24.3.0~rc1-1
Severity: serious
Justification: makes other packages FTBFS
Forwarded: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12452

Dear Maintainer,

When mesa was updated to 24.3 branch a few days ago, some packages of our
Qt/KDE team started to FTBFS on ppc64el with segmentation fault in tests:

- 
https://buildd.debian.org/status/fetch.php?pkg=qtlocation-opensource-src&arch=ppc64el&ver=5.15.15%2Bdfsg-3&stamp=1736409866&raw=0
- 
https://buildd.debian.org/status/fetch.php?pkg=pyside2&arch=ppc64el&ver=5.15.16-2%2Bb1&stamp=1736410659&raw=0
- 
https://buildd.debian.org/status/fetch.php?pkg=pyside6&arch=ppc64el&ver=6.7.3-1&stamp=1736463626&raw=0

It can also be seen that autopkgtests of some reverse dependencies of mesa
fail on ppc64el, e.g. clutter:

https://ci.debian.net/data/autopkgtest/testing/ppc64el/c/clutter-1.0/56277784/log.gz

I managed to obtain a stack trace of qtlocation test on a porterbox:

  Thread 14 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
  0x00007ffff70618c0 in stderr () from /usr/lib/powerpc64le-linux-gnu/libc.so.6
  (gdb) bt
  #0  0x00007ffff70618c0 in stderr () from 
/usr/lib/powerpc64le-linux-gnu/libc.so.6
  #1  0x00007fffea989070 in driswSwapBuffers (pdraw=0x7fffa0001880, 
target_msc=<optimized out>, divisor=<optimized out>, remainder=<optimized out>, 
flush=<optimized out>)
      at ../src/glx/drisw_glx.c:550
  #2  0x00007fffea98e664 in glXSwapBuffers (dpy=0x10005c6b0, drawable=2097164) 
at ../src/glx/glxcmds.c:678
  #3  0x00007ffff75688d4 in glXSwapBuffers (dpy=0x10005c6b0, drawable=2097164) 
at ../src/GLX/libglx.c:1207
  #4  0x00007ffff70b7d7c in glXSwapBuffers (dpy=<optimized out>, 
drawable=<optimized out>) at src/generate/g_libglglxwrapper.c:1324
  #5  0x00007fffeae3acac in QGLXContext::swapBuffers (this=0x1001f3880, 
surface=0x10015e3f0) at qglxintegration.cpp:637
  #6  0x00007ffff5bf4ca4 in QOpenGLContext::swapBuffers (this=0x7fffec0029e0, 
surface=<optimized out>) at kernel/qopenglcontext.cpp:1121
  #7  0x00007ffff54be550 in QSGRenderThread::syncAndRender 
(this=this@entry=0x100220690, grabImage=grabImage@entry=0x0) at 
scenegraph/qsgthreadedrenderloop.cpp:878
  #8  0x00007ffff54bedbc in QSGRenderThread::run (this=0x100220690) at 
scenegraph/qsgthreadedrenderloop.cpp:1051
  #9  0x00007ffff76eeac0 in operator() (__closure=<optimized out>) at 
thread/qthread_unix.cpp:350
  #10 (anonymous 
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > 
(t=...) at thread/qthread_unix.cpp:287
  #11 QThreadPrivate::start (arg=0x100220690) at thread/qthread_unix.cpp:310
  #12 0x00007ffff6eac550 in start_thread (arg=0x7fffb37ef080) at 
pthread_create.c:447
  #13 0x00007ffff6f58bac in __GI___clone3 () at 
../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S:114

This issues is present in 24.3.0~rc1-1 and 24.3.3-1 uploads, but not present
in 24.2.8-1. I was not able to bisect it further yet, first because lack of
time and second because there are some packaging differences between 24.2 and
24.3 uploads.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to