[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Segmentation Fault in aprsd - SOLVED



On Mon, Jun 11, 2001 at 01:00:16AM +0200, Roger Bille wrote:
>  I have found the problem after recompiled the source with debug and using
> breakpoints and stepping through the program with gdb.
> 
>  As expected my own fault. I had by misstake deleted the aprspath entry in
> aprsd.conf. This caused the following call in sockets.cpp to fail:
> 
>     if ((tx_dest_len = ax25_aton(destcall, &tx_dest)) == -1) {
>         cerr << "unable to convert callsign '" << destcall << "'" << endl;
>         return 1;
>     }
> 
>  Because the destcall was NULL.

Roger,

Thanks for debugging this. I'll add a check for this condition in the
next version.


73
hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: