[Dxspider-support] New version in test.
Fabian Kurz
fabian at fkurz.net
Wed Mar 26 06:46:50 GMT 2025
Hi Dirk,
normalise_call() still returns undefined for calls like
A71/RN1B, CT7/N3ZL, CT9/9A4M, CT9/DF7EE, CT9/LY4A, DU1/N5ZO,
etc. which lead to a crash of my node running 603 this morning
when the cron job export_users fired.
So I guess the regex should be modified
- my ($c, $ssid) = $_[0] =~ m|^(?:\w{0,2}\/)?(\w+)(?:\/\w{0,3})?(?:\-(\d+))?$| ;
+ my ($c, $ssid) = $_[0] =~ m|^(?:\w{0,3}\/)?(\w+)(?:\/\w{0,3})?(?:\-(\d+))?$| ;
and just in case, the case that it does not manage to normalize the call should
be handled, e.g.
sub normalise_call
{
my ($c, $ssid) = $_[0] =~ m|^(?:\w{0,3}\/)?(\w+)(?:\/\w{0,3})?(?:\-(\d+))?$| ;
my $ncall = $c;
$ssid += 0;
$ncall .= "-$ssid" if $ssid;
if (!defined($ncall)) {
DXDebug::dbg("Failed to normalise $_[0]");
return "";
}
return $ncall;
}
73
Fabian, DJ5CW
On Tue, Mar 25, 2025 at 09:56:06PM +0100, Fabian Kurz via Dxspider-support wrote:
> Hi Dirk,
>
> On Mon, Mar 24, 2025 at 10:31:08PM +0000, djk via Dxspider-support wrote:
> > Please read the Changes file. There are several things I cannot test
> > adequately, like dyndns updates. But I annoyed GB7DJK users again this
> > evening and it still seems to work and the IP addresses still appear to be
> > coming out correctly. I may have to fix some IP address corners but,
> > hopefully, there will be fewer 'localhost' and '127.0.0.1' addresses in
> > sentences.
>
> FYI, DA0BCC-7 was running 601 and today it crashed after this visit of the devil:
>
> 1742902183^RING: 11:29:43^(chan) <- I IZ2LSC-99 PC92^H3LL-66^41383^A^^1D3VIL/0:66.66.66.66^H97^
> 1742902183^RING: 11:29:43^(*) DXProt::_add_thingy call D3VIL/0 normalised to 0, deleting spurious user D3VIL/0
> 1742902183^###
> 1742902183^### RINGBUFFER END 501 debug lines written
> 1742902183^###
> 1742902183^(trace) Trying to add NULL User call to routing tables
> 1742902183^(trace) Stack (2): Route::Node::DXDebug::confess in /spider/perl/Route/Node.pm line: 177
> 1742902183^(trace) Stack (3): DXProt::Route::Node::add_user in /spider/perl/DXProtHandle.pm line: 1950
> 1742902183^(trace) Stack (4): DXProt::DXProt::_add_thingy in /spider/perl/DXProtHandle.pm line: 2394
> 1742902183^(trace) Stack (5): DXProt::DXProt::handle_92 in /spider/perl/DXProt.pm line: 459
> 1742902183^(trace) Stack (6): DXChannel::DXProt::normal in /spider/perl/DXChannel.pm line: 746
> 1742902183^(trace) Stack (7): DXChannel::DXChannel::process_one in /spider/perl/DXChannel.pm line: 239
> 1742902183^(trace) Stack (8): main::DXChannel::rec in /spider/perl/cluster.pl line: 419
> 1742902183^(trace) Stack (9): ExtMsg::main::__ANON__ in /spider/perl/ExtMsg.pm line: 120
> 1742902183^(trace) Stack (10): Msg::ExtMsg::dequeue in /spider/perl/Msg.pm line: 500
> 1742902183^(trace) Stack (11): ExtMsg::Msg::_rcv in /spider/perl/ExtMsg.pm line: 83
> 1742902183^(trace) Stack (12): Msg::ExtMsg::_rcv in /spider/perl/Msg.pm line: 167
> 1742902183^(*) DXSpider Ceasing
>
> At about 15:30 UTC today I upgraded to 603. I guess the changes to
> normalise_call from d534615dc fixed that problem (normalizing D3VIL/0 to "0").
>
> At the moment, I see these warnings popping up regularly:
>
> 1. Argument "<ipv6 address>" isn't numeric in numeric eq (==) at /spider/perl/DXUtil.pm line 511
>
> -> is_rfc1918() does not consider ipv6 addresses; return 0 if ($in =~ /:/);
>
> 2. Use of uninitialized value $ipaddr in concatenation (.) or string at /spider/perl/DXProtout.pm line 460.
>
> -> in broadcast_pc92_keepalive() (DXProt.pm), the IP address argument is missing when pc92k() is invoked on line 1041
>
> 3. Use of inherited AUTOLOAD for non-method DXProt::evey_5_minutes() is no longer allowed at /spider/perl/cluster.pl line 900.
>
> -> Typo in cluster.pl:900, evey_5_minutes() instead of every_5_minutes()
>
> 73
> Fabian, DJ5CW
> SysOp DA0BCC-7
>
> --
> Fabian Kurz Munich, Germany
> fabian at fkurz.net +49(174)6926713
> https://fkurz.net/ DJ5CW / SO5CW
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
--
Fabian Kurz Munich, Germany
fabian at fkurz.net +49(174)6926713
https://fkurz.net/ DJ5CW / SO5CW
More information about the Dxspider-support
mailing list