FreeRADIUS 1.0.4: SEGMENTATION FAULT

Richard Cotrina rcc at speedy.net.pe
Thu Aug 25 02:05:18 CEST 2005


On Wed, 24 Aug 2005, Alan DeKok wrote:

> > Program received signal SIGSEGV, Segmentation fault.
> > 0x483b7a48 in sql_init_socket (sqlsocket=0x8092720, config=0x8096300)
> >     at sql_mysql.c:71
> > 71              memset(mysql_sock, 0, sizeof(*mysql_sock));
>
>   What is the value of mysql_sock?

The value used for num_sql_sock is 5. That's the default value in
sql.conf.

The value of mysql_sock shown by gdb is :

(gdb) display mysql_sock
1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173

I added more info at :

http://bugs.freeradius.org/show_bug.cgi?id=271

Richard Cotrina



More information about the Freeradius-Users mailing list