On Mon, May 15, 2023 at 08:52:23PM -0500, Robert Nicholson wrote: > I remember writing in the past about what I saw in the debugger when running > SA 3.4.6 > > It seems that 4.0.0 seems even noisier. > > Again this is my programmatically calling SpamAssassin in a perlscript. > > I’ve checked and I didn’t find any other version of NetAddr::IP in the @INC > > Subroutine NetAddr::IP::STORABLE_freeze redefined at > /usr/local/lib64/perl5/NetAddr/IP.pm line 365.
Funny that you had the same problem almost 10 years ago? It fixed itself until now? https://lists.archive.carbon60.com/spamassassin/users/184448 Cleaned up the code a bit, likely makes zero difference, but try trunk if you want.. https://svn.apache.org/viewvc?view=revision&revision=1909909 Maybe try something like this to check if something is actually loading IP.pm twice. Dunno what else to check, as it seems hard to reproduce. $ strace -f perl yourscript.pl 2>&1 | egrep 'open.*NetAddr/IP.pm' openat(AT_FDCWD, "/usr/local/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux/NetAddr/IP.pm", O_RDONLY) = 9