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: [EMAIL PROTECTED]
 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   [EMAIL PROTECTED]
Davide Puricelli (evo) <[EMAIL PROTECTED]>
   xchat

Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
   abiword

Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
   courier

J.H.M. Dassen (Ray) <[EMAIL PROTECTED]>
   gnumeric

Russ Allbery <[EMAIL PROTECTED]>
   openldap (U)

Thomas Anders <[EMAIL PROTECTED]>
   net-snmp (U)

Miroslaw L. Baran <[EMAIL PROTECTED]>
   epic4

Roland Bauerschmidt <[EMAIL PROTECTED]>
   openldap (U)

Emmanuel Bouthenot <[EMAIL PROTECTED]>
   weechat (U)

Marco Cabizza <[EMAIL PROTECTED]>
   xchat-gnome

Pierre Chifflier <[EMAIL PROTECTED]>
   wzdftpd

Debian GGZ Maintainers <[EMAIL PROTECTED]>
   ggz-grubby

Debian GNOME Maintainers <[EMAIL PROTECTED]>
   xchat-gnome (U)

Debian KDE Extras Team <[EMAIL PROTECTED]>
   kvirc

Debian OpenLDAP Maintainers <[EMAIL PROTECTED]>
   openldap

Debian Vim Maintainers <[EMAIL PROTECTED]>
   vim

Mark W. Eichin <[EMAIL PROTECTED]>
   owl

Peter Eisentraut <[EMAIL PROTECTED]>
   ggz-grubby (U)

Zak B. Elep <[EMAIL PROTECTED]>
   opendchub

Decklin Foster <[EMAIL PROTECTED]>
   rxvt-unicode

Jochen Friedrich <[EMAIL PROTECTED]>
   net-snmp (U)

Stephen Frost <[EMAIL PROTECTED]>
   openldap (U)

Gerfried Fuchs <[EMAIL PROTECTED]>
   irssi (U)

Stephen Gran <[EMAIL PROTECTED]>
   freeradius

Pierre Habouzit <[EMAIL PROTECTED]>
   vim (U)

Sam Hartman <[EMAIL PROTECTED]>
   barnowl

Mark Hymers <[EMAIL PROTECTED]>
   freeradius (U)

Joshua Kwan <[EMAIL PROTECTED]>
   abiword (U)

Torsten Landschoff <[EMAIL PROTECTED]>
   openldap (U)

Steve Langasek <[EMAIL PROTECTED]>
   openldap (U)

Julien Louis <[EMAIL PROTECTED]>
   weechat

Bart Martens <[EMAIL PROTECTED]>
   xchat (U)

Christoph Martin <[EMAIL PROTECTED]>
   mimedefang

Patrick Matthäi <[EMAIL PROTECTED]>
   znc

Robert McQueen <[EMAIL PROTECTED]>
   pidgin

Michael Mende <[EMAIL PROTECTED]>
   wackamole

Noah Meyerhans <[EMAIL PROTECTED]>
   net-snmp (U)

Loic Minier <[EMAIL PROTECTED]>
   xchat-gnome (U)

Matthijs Mohlmann <[EMAIL PROTECTED]>
   openldap (U)

Net-SNMP Packaging Team <[EMAIL PROTECTED]>
   net-snmp

Brendan O'Dea <[EMAIL PROTECTED]>
   vile

David Pashley <[EMAIL PROTECTED]>
   irssi

Ari Pollak <[EMAIL PROTECTED]>
   pidgin (U)

Frederik Schüler <[EMAIL PROTECTED]>
   wackamole (U)

Benjamin Seidenberg <[EMAIL PROTECTED]>
   pork

Raúl Sánchez Siles <[EMAIL PROTECTED]>
   kvirc (U)

Josef Spillner <[EMAIL PROTECTED]>
   ggz-grubby (U)

Paul van Tilburg <[EMAIL PROTECTED]>
   vile (U)

Norbert Tretkowski <[EMAIL PROTECTED]>
   xchat-gnome (U)

James Vega <[EMAIL PROTECTED]>
   vim (U)

NIIBE Yutaka <[EMAIL PROTECTED]>
   golly

Stefano Zacchiroli <[EMAIL PROTECTED]>
   vim (U)

Reply via email to