Bug#1071129: perl: crash in freelocale()

Niko Tyni ntyni at debian.org
Tue Oct 1 22:39:50 BST 2024


On Tue, May 14, 2024 at 10:04:22PM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.38.2-4
> Severity: important
> Forwarded: https://github.com/Perl/perl5/issues/22195
> Control: found -1 5.38.2-3.2
> 
> As reported upstream by Konstantin Akimov, perl in Debian trixie/sid
> and in Ubuntu 24.04 can crash when freeing locales.

> This does not happen with unpatched upstream 5.38.2. It is caused by
> our patch 'unbreak-locale-initialization.diff' to locale.c

As seen in https://github.com/Perl/perl5/issues/21366 Karl Williamson
came up with a better fix to #1060679 which doesn't have the side effect
(crash) seen here: revert unbreak-locale-initialization.diff and add
-DUSE_NL_LOCALE_NAME to ccflags.

My initial tests seem to confirm this. I'll try to push the fix in
sid hopefully this weekend, unless the 5.40 transition is imminent. If
nothing else the testing exposure might help people trying to convince
Ubuntu to fix this in their stable release.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list