Bug#712714: Regression: amavisd died at /usr/share/perl5/Net/Server/SIG.pm line 75.

gregor herrmann gregoa at debian.org
Tue Jun 18 20:51:18 UTC 2013


On Tue, 18 Jun 2013 20:23:52 +0200, Elimar Riesebieter wrote:

> Package: libnet-server-perl
> Version: 2.007-2
> Severity: important
> 
> amavisd stopped with
> (!)_DIE: Can't use string ("") as a subroutine ref while "strict refs" in use at
> /usr/share/perl5/Net/Server/SIG.pm line 75.
> 
> Installing 2.007-1 brought back usual working of amavisd.


Interesting.

The only change between 2.007-1 and 2.007-2 is:

--- a/lib/Net/Server/SIG.pm
+++ b/lib/Net/Server/SIG.pm
@@ -40,6 +40,9 @@
     my $code_ref = shift;
     my $ref = ref($code_ref);
 
+    # Added by Debian maintainer to close #708180
+    $sig = 'CLD' if ($sig eq 'CHLD');
+
     if (! $ref) {
         if ($code_ref eq 'DEFAULT') {
             delete $_SIG{$sig};


and I don't see immediately how this should lead to your error.

Also interesting is that your error is the same as the one spotted be
Steinar originally in #708180 (modulo the line number caused by the patch).

IOW: Confusing :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Led Zeppelin: In My Time Of Dying
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130618/261b8d40/attachment.sig>


More information about the pkg-perl-maintainers mailing list