Possible mass bug filing: embedding perl hangs on hppa without PERL_SYS_INIT3
Hi debian-devel and debian-hppa,
as seen in #486069, since Perl 5.10.0, embedding Perl hangs on hppa
in pthread_mutex_lock() inside perl_parse() if PERL_SYS_INIT3() hasn't
been called.
The need for PERL_SYS_INIT3() has been documented in perlembed.pod since
Perl 5.8.1, so this is not a bug in perl.
Quoting Carlos O'Donell in #486069:
> The locked state of a lock is 0 on hppa, which means that if you don't
> initialize your locks (as documented), they begin in the locked state
> e.g. bss initialized to zero.
>
> You must use PERL_SYS_INIT3() on hppa, I don't know how it worked
> without it.
There are currently (at least) 26 source packages in unstable that
produce binary packages linking against libperl5.10 on amd64 and whose
.orig.tar.gz or .diff.gz matches /perl_parse/ but not /PERL_SYS_INIT3/.
I think this needs a mass bug filing, proposed usertag:
User: debian-perl@lists.debian.org
Usertags: perl-sys-init3
The diagnostic has been proven good by three packages (speedy-cgi-perl,
eperl, pike7.6) where the bug was verified by failing builds or the like.
The inn and inn2 packages were fixed after my debian-perl announcement
in June.
I think the severity for these bugs should be 'grave' for the
wzdftpd-mod-perl binary package because it's unusable on hppa, and
'important' for the others.
The packages have different ways of accessing the embedded perl
interpreter, and finding a way to verify the bug in each of them is pretty
time consuming. Particularly so because I don't have an hppa machine of
my own, and running for instance abiword over a slow network connection
is probably going to take quite a while.
Is there enough evidence here to file the bugs without actually testing
for the lockup? If not, could somebody (from debian-hppa?) please take
the lead in testing them?
I'm attaching a dd-list of the suspected packages.
--
Niko Tyni ntyni@debian.org
Davide Puricelli (evo) <evo@debian.org>
xchat
Masayuki Hatta (mhatta) <mhatta@debian.org>
abiword
Stefan Hornburg (Racke) <racke@linuxia.de>
courier
J.H.M. Dassen (Ray) <jdassen@debian.org>
gnumeric
Russ Allbery <rra@debian.org>
openldap (U)
Thomas Anders <tanders@users.sourceforge.net>
net-snmp (U)
Miroslaw L. Baran <baran@debian.org>
epic4
Roland Bauerschmidt <rb@debian.org>
openldap (U)
Emmanuel Bouthenot <kolter@openics.org>
weechat (U)
Marco Cabizza <marco87@gmail.com>
xchat-gnome
Pierre Chifflier <pollux@debian.org>
wzdftpd
Debian GGZ Maintainers <pkg-ggz-maintainers@lists.alioth.debian.org>
ggz-grubby
Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
xchat-gnome (U)
Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
kvirc
Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
openldap
Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
vim
Mark W. Eichin <eichin@thok.org>
owl
Peter Eisentraut <petere@debian.org>
ggz-grubby (U)
Zak B. Elep <zakame@spunge.org>
opendchub
Decklin Foster <decklin@red-bean.com>
rxvt-unicode
Jochen Friedrich <jochen@scram.de>
net-snmp (U)
Stephen Frost <sfrost@debian.org>
openldap (U)
Gerfried Fuchs <rhonda@debian.at>
irssi (U)
Stephen Gran <sgran@debian.org>
freeradius
Pierre Habouzit <madcoder@debian.org>
vim (U)
Sam Hartman <hartmans@debian.org>
barnowl
Mark Hymers <mhy@debian.org>
freeradius (U)
Joshua Kwan <joshk@triplehelix.org>
abiword (U)
Torsten Landschoff <torsten@debian.org>
openldap (U)
Steve Langasek <vorlon@debian.org>
openldap (U)
Julien Louis <ptitlouis@sysif.net>
weechat
Bart Martens <bartm@debian.org>
xchat (U)
Christoph Martin <christoph.martin@uni-mainz.de>
mimedefang
Patrick Matthäi <patrick.matthaei@web.de>
znc
Robert McQueen <robot101@debian.org>
pidgin
Michael Mende <debian@menole.net>
wackamole
Noah Meyerhans <noahm@debian.org>
net-snmp (U)
Loic Minier <lool@dooz.org>
xchat-gnome (U)
Matthijs Mohlmann <matthijs@cacholong.nl>
openldap (U)
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
net-snmp
Brendan O'Dea <bod@debian.org>
vile
David Pashley <david@davidpashley.com>
irssi
Ari Pollak <ari@debian.org>
pidgin (U)
Frederik Schüler <fs@debian.org>
wackamole (U)
Benjamin Seidenberg <benjamin@debian.org>
pork
Raúl Sánchez Siles <rasasi78@gmail.com>
kvirc (U)
Josef Spillner <josef@ggzgamingzone.org>
ggz-grubby (U)
Paul van Tilburg <paulvt@debian.org>
vile (U)
Norbert Tretkowski <nobse@debian.org>
xchat-gnome (U)
James Vega <jamessan@debian.org>
vim (U)
NIIBE Yutaka <gniibe@fsij.org>
golly
Stefano Zacchiroli <zack@debian.org>
vim (U)
Reply to: