Your message dated Mon, 07 Aug 2023 16:04:57 +0000
with message-id <e1qt2j3-00fqmn...@fasolo.debian.org>
and subject line Bug#1041211: fixed in libsdl-perl 2.548-4
has caused the Debian Bug report #1041211,
regarding libsdl-perl: FTBFS and autopkgtest failure with sdl12-compat, 
especially on 32-bit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1041211: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041211
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libsdl-perl, sdl12-compat
Control: found -1 libsdl-perl/2.548-3
Control: found -1 sdl12-compat/1.2.64-5
Control: block 1039911 by -1
Severity: serious
Tags: trixie sid ftbfs
User: debian...@lists.debian.org
Usertags: breaks needs-update

Since sdl12-compat took over the libsdl1.2debian and libsdl1.2-dev
packages from the old libsdl1.2, the test suite from libsdl-perl is
sometimes crashing in t/core_video.t. It seems to be failing consistently
on 32-bit architectures, and intermittently on some 64-bit architectures
(arm64 and s390x). I didn't see this before starting the transition
because I had used amd64 for my test-rebuilds, and amd64 seems to be
consistently unaffected.

I originally saw this in the autopkgtest runs on ci.debian.net, but I was
able to reproduce a similar failure during build-time testing on i386.
I didn't see a similar crash when testing real games, so I don't know
whether this is a crash that can affect games in practice, or just a
test issue.

It is not yet clear to me whether this is a libsdl-perl bug or a
sdl12-compat bug, so for now the bug is reported as affecting both
packages. It can be reassigned to either libsdl-perl or sdl12-compat
when a root cause is found.

In the cases where it fails, there are two failure modes that I've seen.
One failure mode is that t/core_video.t crashes with signal 11 (SIGSEGV)
during testing, usually (perhaps always?) after test point 65, for
example in
<https://ci.debian.net/data/autopkgtest/testing/armel/libs/libsdl-perl/35792469/log.gz>:

147s t/core_video.t ..................
147s ok 1 - SDL::Video->can(...)
147s ok 2 - SDL_SWSURFACE should be imported
...
147s ok 63 - '[get_video_surface] Checking if we get a surface ref back' isa 
'SDL::Surface'
147s ok 64 - [video_driver_name] This is your driver name: dummy
147s ok 65 - [video_mode_ok] Checking if an integer was return
147s All 65 subtests passed
147s    (2 TODO tests unexpectedly succeeded)
...
289s t/core_video.t                (Wstat: 11 (Signal: SEGV) Tests: 65 Failed: 
0)
289s   TODO passed:   57, 59
289s   Non-zero wait status: 11
289s   Parse errors: No plan found in TAP output

The other failure mode is that t/core_video.t completes testing and calls
done_testing(), but then crashes with SIGSEGV during exit, for example in
<https://ci.debian.net/data/autopkgtest/testing/arm64/libs/libsdl-perl/35707567/log.gz>:

369s t/core_video.t ..................
369s ok 1 - SDL::Video->can(...)
369s ok 2 - SDL_SWSURFACE should be imported
...
369s ok 108 # skip No window manager available
369s ok 109 # skip No window manager available
369s ok 110 - Are we still alive? Checking for segfaults
369s 1..110
369s All 110 subtests passed
369s    (less 39 skipped subtests: 71 okay)
369s    (2 TODO tests unexpectedly succeeded)
...
499s t/core_video.t                (Wstat: 11 (Signal: SEGV) Tests: 110 Failed: 
0)
499s   TODO passed:   57, 59
499s   Non-zero wait status: 11

In the s390x log
<https://ci.debian.net/data/autopkgtest/testing/s390x/libs/libsdl-perl/35709601/log.gz>
we can also see an error message from glibc's malloc implementation
indicating memory corruption, perhaps a double-free or something like
that:

130s ok 64 - [video_driver_name] This is your driver name: dummy
130s ok 65 - [video_mode_ok] Checking if an integer was return
130s corrupted size vs. prev_size

This is blocking migration of sdl12-compat to testing (#1039911).

    smcv

--- End Message ---
--- Begin Message ---
Source: libsdl-perl
Source-Version: 2.548-4
Done: gregor herrmann <gre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libsdl-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1041...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libsdl-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 07 Aug 2023 17:45:07 +0200
Source: libsdl-perl
Architecture: source
Version: 2.548-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1040388 1041211
Changes:
 libsdl-perl (2.548-4) unstable; urgency=medium
 .
   * Team upload.
   * Add patch from upstream pull request for compatibility with
     perl >= 5.37.1. (Closes: #1040388)
   * Add patch from Simon McVittie to fix errors with sdl12-compat.
     (Closes: #1041211)
   * Update years of packaging copyright.
   * Declare compliance with Debian Policy 4.6.2.
Checksums-Sha1:
 2f15c7d65ac7488e2778448f0376c816d1216dab 2469 libsdl-perl_2.548-4.dsc
 6eaadf47228f7153c257745603deb151d65e7674 12904 
libsdl-perl_2.548-4.debian.tar.xz
Checksums-Sha256:
 5518841c16bb7f45d995a09908ef4fe92b968e7440e02dcb71bccae98c9f6538 2469 
libsdl-perl_2.548-4.dsc
 c36517764b0f1eadb028fe531485e4ebaceaaac276af59684e01af015b1e1a3d 12904 
libsdl-perl_2.548-4.debian.tar.xz
Files:
 e89738c2e94c58825ba2c6940ca97987 2469 perl optional libsdl-perl_2.548-4.dsc
 59350c0ec8338033a31e1a1a71b510e6 12904 perl optional 
libsdl-perl_2.548-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmTRE7pfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaSMhAAi+yEPAopirYpSaQL0/ibZncuwDBeR15RPR9lYuB8yDHWegN5sFadUxVA
x2p5r6/4xAsTEvc+ZTYYgwsrX8MA1r4yRRc3GaRPZyan9OQRZNOj1B2YDOUOOKyt
kkyTOHwsIqV73ZxdLBP/ohS0mA0WPvgXEszRg/5yOaPiwUwwrs1Q9QQowXdJNVkT
L7fxATC00IJV3cPMxhfmT1ta4t8AEzC0TYFRBJUQJh/vGMzJ3ANon5+BWfj105eD
I6cEdv00Uf+SJQ0nuubZJAD9c+SwCNvN8Pbak+F0uI/8eL4qsnaJZMIMGe3EFORY
2tFrcPCHz5v6FT8MQoLl1iXjcmdvKf58wQO5W5Kk3Mg94NwDV3vh8wE+cPkHdH9l
cRgaoUYbBKbG25xadFvBS/SS+/254kLxety5+0ElVYVfllcE5euEZaiGQDGv6crb
Hdo7G/zIoG0FlT2uLsOQ/Vh0kooMOnA74rydQsEmxHRqTNiHo7GZn7l41oUJVUnU
qsZwvy87iB3vrVPlPbGaJ92mCJyPqyf6jZPniR89BHAHtEUQ/ToaUP7069RwFNfZ
Ttjfw0O8nPnRhx8o+znyUE68JKb6KLRyifCrx2XQ+Uv+gtgfhpobKenHz2CZHjsQ
StI9RGHXAWG3XwqbtV9MwyhW/PH+0A5dLlnEiXxtPB0musH2f5k=
=Pvoe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to