Distro = Arch linux
XChat = 2.8.8
"perl -v" = This is perl 5, version 18, subversion 1 (v5.18.1) built for i686-linux-thread-multi
I have a script which I wrote as a perl plugin some years ago. It has worked flawlessly since then, although I do see an occasional, harmless, error:
"Error in print callback Can't use an undefined value as a HASH reference at /home/me/.xchat2/optrivia.pl line 688"
Line 688 is as follows (Please don't criticise my coding style - It was my first perl script. Anyway it has worked so far.)
if (${Xchat::user_info($newnick)}{prefix} eq "@")
{
return Xchat::EAT_NONE;
}
In the past 24 hours (subsequent to a reboot after upgrading to the current perl) that error has occurred twice, and has been followed by a segfault and core dump on both occasions.
xchat[352]: segfault at 7b9 ip af265efb sp bfcc0820 error 4 in perl.so[af25e000+13000]
systemd-coredump[30747]: Process 352 (xchat) dumped core.
A "bit" of a late reply but I guess better late than never. ;)
Those things do not look related. A segfault without a script to reproduce or backtrace isn't useful for anything.
The warning is caused by calling user_info() for a nick that isn't in the channel.