Re: Amavisd silently dies at startup
Michael Orlitzky <[email protected]> Sun, 22 Feb 2026 14:46:32 -0500
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <aZtdGPv_ALbcSjaB@mertle> |
On 2026-02-22 19:32:45, Xavier Humbert wrote:
>
> >> Caught a SIGBUS at
> >> Net::Patricia::AF_INET6::add('Net::Patricia::AF_INET6=SCALAR(0x33b3b1ae7f60)',
> >> '::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
>
> Hi Michael,
>
> 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) = @_;
$data = (defined $bits ? "$ip/$bits" : $ip) if (@_ < 3);
my $packed = inet_pton(AF_INET6, $ip); #### C code? ####
croak("invalid key") unless (defined $packed);
$bits = 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.