Your message dated Wed, 21 Jun 2023 21:21:39 +0000
with message-id <e1qc5gl-00bgd6...@fasolo.debian.org>
and subject line Bug#1038823: fixed in pysdl2 0.9.15+dfsg-2
has caused the Debian Bug report #1038823,
regarding pysdl2: autopkgtest failure with SDL 2.28.0: cannot create a Renderer
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.)
--
1038823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pysdl2
Version: 0.9.9+dfsg1-6
Severity: serious
Tags: fixed-upstream
Justification: https://release.debian.org/testing/rc_policy.txt 6a
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: needs-update
pysdl2's autopkgtest is failing since I uploaded libsdl2 version 2.28.0
to unstable. This appears to be a test issue, rather than a regression
in libsdl2.
An example of one of the failures:
70s self = <sdl2.test.render_test.TestSDLRender object at 0x7ffa7d1c1810>
70s
70s def test_SDL_CreateDestroyRenderer(self):
70s failed = 0
70s rcount = render.SDL_GetNumRenderDrivers()
70s for i in range(rcount):
70s window = video.SDL_CreateWindow(b"Test", 10, 10, 10, 10,
70s video.SDL_WINDOW_SHOWN)
70s assert isinstance(window.contents, video.SDL_Window)
70s renderer = render.SDL_CreateRenderer(window, i,
self._RENDERFLAGS)
70s if not (renderer and renderer.contents):
70s failed += 1
70s video.SDL_DestroyWindow(window)
70s continue
70s assert isinstance(renderer.contents, render.SDL_Renderer)
70s render.SDL_DestroyRenderer(renderer)
70s
70s # TODO: using -1 as index for the call below leads to random
70s # access violations on Win32
70s renderer = render.SDL_CreateRenderer(window, i,
70s
render.SDL_RENDERER_SOFTWARE)
70s > assert isinstance(renderer.contents, render.SDL_Renderer)
70s E ValueError: NULL pointer access
If I hack in some extra debug, it seems that the SDL error message is
"Surface already associated with window", which is related to:
- https://github.com/pygame-community/pygame-ce/issues/2190
- https://github.com/libsdl-org/SDL/issues/7793
- https://github.com/libsdl-org/SDL/pull/7795
Briefly, SDL upstream considers it to be a programming error to attempt
to create a Renderer for a window that already has a window surface,
and some video drivers imply creation of a window surface. SDL 2.28.0
is better at detecting and diagnosing this situation than previous
releases.
pysdl2/experimental seems to have fixed the test, so I'm going to upload
that to unstable if successful.
smcv
--- End Message ---
--- Begin Message ---
Source: pysdl2
Source-Version: 0.9.15+dfsg-2
Done: Simon McVittie <s...@debian.org>
We believe that the bug you reported is fixed in the latest version of
pysdl2, 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 1038...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated pysdl2 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: SHA256
Format: 1.8
Date: Wed, 21 Jun 2023 21:29:18 +0100
Source: pysdl2
Architecture: source
Version: 0.9.15+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1031412 1038823
Changes:
pysdl2 (0.9.15+dfsg-2) unstable; urgency=medium
.
* Team upload
* d/p/tests-Don-t-try-to-create-more-than-one-Renderer-for-the-.patch:
Add patch fixing test failure with SDL 2.28 (Closes: #1038823)
* d/p/Make-the-build-reproducible.patch:
Add patch from Chris Lamb to make the documentation reproducible
(Closes: #1031412)
* Add Lintian override to ignore a use of distutils in upstream CI scripts.
We don't use these in Debian, so they aren't relevant for reducing our
dependence on distutils.
* Upload to unstable
.
pysdl2 (0.9.15+dfsg-1) experimental; urgency=medium
.
* Team upload
* New upstream release
* d/p/tests-Don-t-assume-SDL_Init-will-leave-SDL_GetError-unset.patch:
Add patch to use SDL's error indicator correctly, fixing test failures
* d/p/tests-Skip-pixel-comparison-when-loading-XCF-files-on-big.patch:
Add patch to skip a failing image-loading test on big-endian CPUs
* Merge packaging updates from unstable
.
pysdl2 (0.9.13+dfsg-1) experimental; urgency=medium
.
* Team upload
* Branch for experimental
* New upstream release
* d/copyright: Adjust Files-Excluded for new upstream release
* d/watch: Update
* Add Suggests on python3-pil
* d/patches: Update patch series. Most of it was applied upstream.
* d/copyright: Replace CC0-1.0 full text with a reference to common-licenses
* d/copyright: Update
* d/p/sdlmixer_test-Accept-a-lower-value-for-sample-MP3-duratio.patch:
Add patch to resolve a test failure with Debian's SDL_mixer
* Add build-dependency on python3-sphinx-rtd-theme
* d/rules: Make surfacetest.lbm non-executable (thanks, Lintian)
* Add some Lintian overrides
* Standards-Version: 4.6.1 (no changes required)
Checksums-Sha1:
6062abb9b519bc9e2f4c8ad66784115294ac2b1e 2491 pysdl2_0.9.15+dfsg-2.dsc
e6949034d0820aba773a65658ad457446fbd8799 10652
pysdl2_0.9.15+dfsg-2.debian.tar.xz
73831b7b9573a42aa638a102f1bd931d809b4757 12663
pysdl2_0.9.15+dfsg-2_source.buildinfo
Checksums-Sha256:
be642034e641b2d9f6bded77f6e7fb9d1552b37d10141ba6e9c3fad03460c127 2491
pysdl2_0.9.15+dfsg-2.dsc
dba7cf95bab46432f717ace0f9d1d43024aa220988c92823afe18b82c3c3ccd1 10652
pysdl2_0.9.15+dfsg-2.debian.tar.xz
c4cae919512c61091cf4e9d2825de3f5268f1e52ed26c71c26edf0d56dd354ed 12663
pysdl2_0.9.15+dfsg-2_source.buildinfo
Files:
61a3204309716bd75bd0d03caf64ad23 2491 python optional pysdl2_0.9.15+dfsg-2.dsc
1fcf75f23e9e8a15441599f655e755c6 10652 python optional
pysdl2_0.9.15+dfsg-2.debian.tar.xz
097326399cf563c507ebd347b3bfb919 12663 python optional
pysdl2_0.9.15+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmSTZiwACgkQ4FrhR4+B
TE+AVA/7BL+94gQR+pBYhasqeXhnY1pftlqRNTDfm4A5T5O81Hn/Af0vGskOvsty
HNzbXgcEIbQP1p2oVovMzxuEvSq6pCw7C+kNojxjrQACCLcZgcfPIWSkuV6a1jgy
H+y7FSh7YCS3K9A7YiEl0gzVX2syfWq72NU8D2IORhOR6ss5t0akuaCdxO7bBspD
BQaByfl6KzlZinJ//ZpM6MGUaiJtXLizqVGmRZmBUAfN11dS5lTPi0cFkErhIQmE
PsbhbBHbcaHSLGYb4jvQZ4haLyN3JdiBpu1iANIkTXuh7RGO/JObeZenl0BEyN3K
ovDtxpgsZY2C5DYdeTHufIpXFpwQo6VQCnO7tD7YmPD867E4HwM8Ms4udKyInnmx
v6cE/s4L9nLJfccLWaIv9icV3rzfApvaVZLcpxgjV/5z3ZqD4SM0H0JuNDun7R7X
9fwSPPk0ta5tzbKfuR0QnvPengs/uOs65/9JHDj8ZuD09kSqr/YRXrP45Hzs5Zl1
Z2LOxb4QOcNmnxF4NxRXkl01333BGUZXWJNYA/LPcXlvQGa8JWhV6tM9MCEHrfKZ
skXe3hCIt6IMlVBWzj37Y9Y3KkZFKP5gSd8BEweIssUmQPPIOqc5REHe6FC/1z3x
iZ9ZxfOUsZjn0ryjgnrBRkNQ26TGn7aarfUntQrxGeUQiICzykU=
=H17e
-----END PGP SIGNATURE-----
--- End Message ---