Hi!
I’m not seeing the message below at
<http://lists.gnu.org/archive/html/bug-guile-sdl/>, so resending it.
(This is from <http://bugs.gnu.org/22020>.)
Ludo’.
--- Begin Message ---
Hello!
On GNU Guix, we’re seeing one 100% reproducible test failure on
i686-linux-gnu:
--8<---------------cut here---------------start------------->8---
/gnu/store/isxqjfaglyfsbcv75y8qbqbph8v28ykr-bash-4.3.39/bin/bash: line 5: 838
Segmentation fault (core dumped) HAVE_TTF=1 HAVE_MIXER=0 sh zow ${dir}$tst
FAIL: gfx.scm
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
PASS: fading.scm
======================================
1 of 9 tests failed
(2 tests were not run)
Please report to bug-guile-...@gnu.org
======================================
--8<---------------cut here---------------end--------------->8---
(Note that we run tests with the Xvfb server. See
<http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/sdl.scm#n303>.)
The backtrace is mildly informative:
--8<---------------cut here---------------start------------->8---
$ gdb $(type -P guile) core
GNU gdb (GDB) 7.10
[...]
(gdb) bt
#0 0xf4d98130 in SDL_imageFilterSubByteMMX (Src1=0x5d <error: Cannot access
memory at address 0x5d>, Dest=0xffb429c8 "]",
SrcLength=4107944472, C=152 '\230') at SDL_imageFilter.c:2185
#1 0x09cfd470 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
--8<---------------cut here---------------end--------------->8---
That SrcLength is so high suggests it might be an integer overflow.
This is with SDL_image 1.2.12.
To reproduce with Guix, run:
guix build guile-sdl -s i686-linux --keep-failed
Thanks,
Ludo’.
--- End Message ---