Re: Amavisd silently dies at startup
Pete <[email protected]> Sun, 22 Feb 2026 15:23:13 -0500
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-3737826D-FE48-4239-9989-24CDF6F8199C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I would try a fresh install on a clean vm with ipv4 and IPv6 enabled to test= . Once running disable ipv4 if mandatory and repeat tests.=20 Best wishes. Pete Williams On Feb 22, 2026, at 2:46=E2=80=AFPM, Michael Orlitzky <[email protected]>= wrote: =EF=BB=BFOn 2026-02-22 19:32:45, Xavier Humbert wrote: >=20 >>> Caught a SIGBUS at >>> Net::Patricia::AF_INET6::add('Net::Patricia::AF_INET6=3DSCALAR(0x33b3b1a= e7f60)', >>> '::ffff:127.0.0.0', 104, '::ffff:127.0.0.0/104') called from file >>> '/usr/local/lib/perl5/site_perl/mach/5.42/Net/Patricia.pm' line 85 >=20 > Hi Michael, >=20 > I do use IPv6, and my network interfaces are properly configured : In that case, Socket6 looks like the closest C dependency that could be causing a SIGBUS. In Patricia.pm I have use Socket6 qw(inet_pton inet_ntop); ... sub add { croak "add: wrong number of args" if (@_ < 2 || @_ > 4); my ($self, $ip, $bits, $data) =3D @_; $data =3D (defined $bits ? "$ip/$bits" : $ip) if (@_ < 3); my $packed =3D inet_pton(AF_INET6, $ip); #### C code? #### croak("invalid key") unless (defined $packed); $bits =3D 128 if (@_ < 4); $self->SUPER::_add(AF_INET6, $packed, $bits, $data); } but this is just a guess at the culprit, I don't really have any idea what could be causing it. Do you build perl packages from source on FreeBSD? If so I would say a prayer and try to rebuild Socket6. --Apple-Mail-3737826D-FE48-4239-9989-24CDF6F8199C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto">I would try a fresh install on a clean vm w= ith ipv4 and IPv6 enabled to test. Once running disable ipv4 if mandat= ory and repeat tests. <div>Best wishes.<br id=3D"lineBreakAtBeginningOf= Signature"><div dir=3D"ltr"><p class=3D"MsoNormal" style=3D"margin: 0in 0in 1= 2pt; ">Pete Williams</p></div><div dir=3D"ltr"><br>On Feb 22, 2026, at 2:46=E2= =80=AFPM, Michael Orlitzky <[email protected]> wrote:<br><br></div>= <div dir=3D"ltr">=EF=BB=BF<span>On 2026-02-22 19:32:45, Xavier Humbert wrote= :</span><br><blockquote type=3D"cite"><span></span><br></blockquote><blockqu= ote type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite"><span>= Caught a SIGBUS at</span><br></blockquote></blockquote></blockquote><blockqu= ote type=3D"cite"><blockquote type=3D"cite"><blockquote type=3D"cite"><span>= Net::Patricia::AF_INET6::add('Net::Patricia::AF_INET6=3DSCALAR(0x33b3b1ae7f6= 0)',</span><br></blockquote></blockquote></blockquote><blockquote type=3D"ci= te"><blockquote type=3D"cite"><blockquote type=3D"cite"><span>'::ffff:127.0.= 0.0', 104, '::ffff:127.0.0.0/104') called from file</span><br></blockquote><= /blockquote></blockquote><blockquote type=3D"cite"><blockquote type=3D"cite"= ><blockquote type=3D"cite"><span>'/usr/local/lib/perl5/site_perl/mach/5.42/N= et/Patricia.pm' line 85</span><br></blockquote></blockquote></blockquote><bl= ockquote type=3D"cite"><span></span><br></blockquote><blockquote type=3D"cit= e"><span>Hi Michael,</span><br></blockquote><blockquote type=3D"cite"><span>= </span><br></blockquote><blockquote type=3D"cite"><span>I do use IPv6, and m= y network interfaces are properly configured :</span><br></blockquote><span>= </span><br><span>In that case, Socket6 looks like the closest C dependency t= hat could</span><br><span>be causing a SIGBUS. In Patricia.pm I have</span><= br><span></span><br><span> use Socket6 qw(inet_pton inet_ntop);</span>= <br><span> ...</span><br><span> sub add {</span><br><span>  = ; croak "add: wrong number of args" if (@_ < 2 || @_ > 4);<= /span><br><span> my ($self, $ip, $bits, $data) =3D @_;</sp= an><br><span> $data =3D (defined $bits ? "$ip/$bits" : $ip= ) if (@_ < 3);</span><br><span> my $packed =3D inet_pto= n(AF_INET6, $ip); #### C code? ####</span><br><span>  = ; croak("invalid key") unless (defined $packed);</span><br><span>  = ; $bits =3D 128 if (@_ < 4);</span><br><span> &nbs= p;$self->SUPER::_add(AF_INET6, $packed, $bits, $data);</span><br><span> &= nbsp;}</span><br><span></span><br><span>but this is just a guess at the culp= rit, I don't really have any idea</span><br><span>what could be causing it. D= o you build perl packages from source on</span><br><span>FreeBSD? If so I wo= uld say a prayer and try to rebuild Socket6.</span><br></div></div></body></= html>= --Apple-Mail-3737826D-FE48-4239-9989-24CDF6F8199C--