Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214838

Bug#1071129: perl: crash in freelocale()

From Niko Tyni <ntyni@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071129: perl: crash in freelocale()
Date 2024-10-01 23:50 +0200
Message-ID <JsSUN-ghVh-1@gated-at.bofh.it> (permalink)
References <IE5Hc-dmgz-15@gated-at.bofh.it> <IE5Hc-dmgz-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@debian.org

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1071129: perl: crash in freelocale() Niko Tyni <ntyni@debian.org> - 2024-10-01 23:50 +0200

csiph-web