cvs current with SIGSEGV; how to track down

Kevin Bonner keb at pa.net
Wed Jun 1 22:26:31 CEST 2005


On Tuesday 31 May 2005 19:27, Jason Ornstein wrote:
>   (gdb) print *listener
>   $20 = {next = 0x4b5a0, type = RAD_LISTEN_ACCT, fd = 6, identity = 0x0,
>     rl = 0x4bde0, recv = 0x23c54 <acct_socket_recv>,
>     send = 0x23a30 <acct_socket_send>, update = 0x24a6c <generic_update>,
>     print = 0x238b0 <socket_print>, data = 0x4a2b0}
>
>   (gdb) print *listener
>   $22 = {next = 0x0, type = RAD_LISTEN_PROXY, fd = 7, identity = 0x0, rl =
> 0x0, recv = 0, send = 0, update = 0, print = 0, data = 0x4a2d0}

The proxy listener has several pointers that are never set, as shown by your 
gdb print above.  After fixing the print pointer, radiusd dies at line 735 
trying to run update for the proxy listener.  If there are no uncommitted 
changes to these code sections, I can post a patch here or in bugzilla that 
should resolve both of these problems.

Kevin Bonner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20050601/f52cbfa8/attachment.pgp>


More information about the Freeradius-Devel mailing list