More coredumps, FreeBSD 5.4 / FR 1.1.1
Chris Knipe
savage at savage.za.org
Wed May 17 18:02:59 CEST 2006
Hi,
I did a simple upgrade from 1.1.0 to 1.1.1. All old modules was removed,
new compile / install went without problems. I also updated my database
from mysql 4 to 5.0 - also working without problems.
Running with -X, I'm getting VERY little info here...
sql: postauth_table = "radpostauth"
sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply,
date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}',
'%{reply:Packet-Type}', NOW())"
sql: safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Bus error
root at netsphere:/usr/local/etc/raddb# radiusd -v
radiusd: FreeRADIUS Version 1.1.1, for host , built on May 17 2006 at
15:33:24
Copyright (C) 2000-2006 The FreeRADIUS server project.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
root at netsphere:/usr/local/etc/raddb#
The -X run reports nothing abnormal, except for the bus error. Under gdb:
sql: postauth_table = "radpostauth"
sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply,
date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}',
'%{reply:Packet-Type}', NOW())"
sql: safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to radius at mysqldb01.blah.com:/RADIUS
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 100079)]
0x282f2677 in memset () from /lib/libc.so.5
(gdb) back
#0 0x282f2677 in memset () from /lib/libc.so.5
#1 0x09afc4c0 in ?? ()
#2 0x286e5cb5 in sql_init_socket (sqlsocket=0x70657270, config=0x9d02600)
at sql_mysql.c:71
#3 0x2858afcc in connect_single_socket (sqlsocket=0x9afc4c0,
inst=0x9afc700) at sql.c:70
#4 0x2858b134 in sql_init_socketpool (inst=0x9afc700) at sql.c:131
#5 0x28589507 in rlm_sql_instantiate (conf=0x9d03bf8, instance=0x0) at
rlm_sql.c:713
#6 0x08052b11 in find_module_instance ()
#7 0x08053f9e in modcallable_free ()
#8 0x0805317b in setup_modules ()
#9 0x08055996 in main ()
1.1.0 runs fine, with exactly the same configuration... :-(
Regards,
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060517/74cf07e4/attachment.html>
More information about the Freeradius-Users
mailing list