https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-perl/SDL-2.548.0-r2 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 862997 [details] build.log build log and emerge --info
also on dmesg: [Thu Jun 1 10:38:30 2023] perl[21191]: segfault at 29 ip 00007f640b94bc61 sp 00007ffdfdf64980 error 4 in libperl.so.5.36.1[7f640b852000+25d000] likely on CPU 40 (core 8, socket 0) [Thu Jun 1 10:38:30 2023] perl[21186]: segfault at 39 ip 00007fd89694bc61 sp 00007ffed108cad0 error 4 in libperl.so.5.36.1[7fd896852000+25d000] likely on CPU 63 (core 31, socket 0) [Thu Jun 1 10:38:31 2023] perl[21580]: segfault at 29 ip 00007fc58554bc61 sp 00007ffc45536400 error 4 in libperl.so.5.36.1[7fc585452000+25d000] likely on CPU 44 (core 12, socket 0) [Thu Jun 1 10:38:33 2023] perl[21897]: segfault at 29 ip 00007f5ae0b4bc61 sp 00007ffd1bc57a50 error 4 in libperl.so.5.36.1[7f5ae0a52000+25d000] likely on CPU 46 (core 14, socket 0) [Thu Jun 1 10:38:33 2023] perl[21898]: segfault at 29 ip 00007f29f614bc61 sp 00007fffbe104220 error 4 in libperl.so.5.36.1[7f29f6052000+25d000] likely on CPU 37 (core 5, socket 0) [Thu Jun 1 10:38:34 2023] perl[22258]: segfault at 29 ip 00007f23e7d4bc61 sp 00007fff9e2666f0 error 4 in libperl.so.5.36.1[7f23e7c52000+25d000] likely on CPU 56 (core 24, socket 0)
Presumably needs debug on Perl.
Tend to wonder if should just get rid of this. It's only used by 1 game (last release 2008) and seem to cause trouble often.
(In reply to Ionen Wolkens from comment #4) > Tend to wonder if should just get rid of this. It's only used by 1 game > (last release 2008) and seem to cause trouble often. I knew without looking that it was Frozen Bubble. It's an open source classic! But yeah...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5988d6db2b42243501826054f7b86c087050b4 commit 7a5988d6db2b42243501826054f7b86c087050b4 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-27 03:31:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-27 03:31:56 +0000 media-libs/libsdl: add 1.2.68 The release notes mention sdl-perl works now, so maybe it fixes our problems (or perhaps the hang I've seen even if not the assert). See https://github.com/libsdl-org/sdl12-compat/releases/tag/release-1.2.68. Bug: https://bugs.gentoo.org/907609 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libsdl/Manifest | 1 + media-libs/libsdl/libsdl-1.2.68.ebuild | 45 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+)
Created attachment 882292 [details] build.log and emerge --info Affects x86 even worse
(In reply to matoro from comment #7) > Created attachment 882292 [details] > build.log and emerge --info > > Affects x86 even worse Can you give a backtrace?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f2d78341d72d6ec6cbb561ec26dd7f896b7df9 commit d6f2d78341d72d6ec6cbb561ec26dd7f896b7df9 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-02 06:35:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-02 06:35:46 +0000 dev-perl/SDL: try more memory safety fixes Debian are using these. I still get a UAF in the tests though. Bug: https://bugs.gentoo.org/907609 Signed-off-by: Sam James <sam@gentoo.org> dev-perl/SDL/SDL-2.548.0-r3.ebuild | 58 +++++++++++ dev-perl/SDL/files/SDL-2.548-refcount.patch | 27 ++++++ dev-perl/SDL/files/SDL-2.548-uaf-surface.patch | 127 +++++++++++++++++++++++++ 3 files changed, 212 insertions(+)
Created attachment 892139 [details] gdb context and complete backtrace (In reply to Sam James from comment #8) > (In reply to matoro from comment #7) > > Created attachment 882292 [details] > > build.log and emerge --info > > > > Affects x86 even worse > > Can you give a backtrace? Backtrace is served. Seems the reason why it's choking everywhere is because it's extremely early in the module startup.