Hi List,

I try use the freeradius+iodbc+freetds+mssql, but when start freeradius he says "Segmentation fault".

The freetds (tsql) works fine, the iodbc (odbctest) works fine. Connect, select, insert, works normally, but freeradius not work.

Freeradius backtrace:
--skip--
 sql: group_membership_query = ""
 sql: connect_failure_retry_delay = 60
 sql: simul_count_query = ""
 sql: simul_verify_query = ""
rlm_sql (sql): Driver rlm_sql_iodbc (module rlm_sql_iodbc) loaded and linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_iodbc #0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 21663)]
_iodbcdm_sqlerror (henv=0x8104330, hdbc=0x8104358, hstmt=0x62646f69, szSqlstate=0xbfffe3a0 "", pfNativeError=0xbfffe398,
szErrorMsg=0x40237400 "", cbErrorMsgMax=256, pcbErrorMsg=0xbfffe39e, bDelete=1) at herr.c:273
273 thdbc = pstmt->hdbc;
(gdb) bt
#0 _iodbcdm_sqlerror (henv=0x8104330, hdbc=0x8104358, hstmt=0x62646f69, szSqlstate=0xbfffe3a0 "",
pfNativeError=0xbfffe398, szErrorMsg=0x40237400 "", cbErrorMsgMax=256, pcbErrorMsg=0xbfffe39e, bDelete=1) at herr.c:273
#1 0x40251408 in SQLError (henv=0x8104330, hdbc=0x8104358, hstmt=0x62646f69, szSqlstate=0xbfffe3a0 "",
pfNativeError=0xbfffe398, szErrorMsg=0x40237400 "", cbErrorMsgMax=256, pcbErrorMsg=0xbfffe39e) at herr.c:503
#2 0x4023605d in sql_error (sqlsocket=0x62646f69, config=0x8102ec0) at sql_iodbc.c:293
#3 0x40235ca3 in sql_init_socket (sqlsocket=0x8103ed0, config=0x8102ec0) at sql_iodbc.c:64
#4 0x4023150a in connect_single_socket (sqlsocket=0x8103ed0, inst=0x81022f0) at sql.c:70
#5 0x4023169a in sql_init_socketpool (inst=0x81022f0) at sql.c:130
#6 0x4023034d in rlm_sql_instantiate (conf=0x8102ec0, instance=0x62646f69) at rlm_sql.c:522
#7 0x080546d5 in find_module_instance (instname=0x80a5e38 "sql") at modules.c:358
#8 0x080555da in do_compile_modsingle (component=1, ci=0x80a5e18, filename=0x805dca2 "radiusd.conf", grouptype=0,
modname=0xbfffe758) at modcall.c:773
#9 0x08055718 in compile_modsingle (component=1, ci=0x80a5e18, filename=0x805dca2 "radiusd.conf", modname=0xbfffe758)
at modcall.c:788
#10 0x08054aae in load_component_section (cs=0x80a5d28, comp=1, filename=0x805dca2 "radiusd.conf") at modules.c:558
#11 0x08054d88 in setup_modules () at modules.c:834
#12 0x0804c3e0 in main (argc=2, argv=0xbffff964) at radiusd.c:443
#13 0x400f45cd in __libc_start_main () from /lib/libc.so.6


Any idea?

Thanks.

--
Marcus Grando


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to