Re: freeradius oracle crash

2004-11-26 Thread Nick 'TARANTUL' Novikov
Alan DeKok wrote: Try editing src/modules/rlm_sql/rlm_sql.c. Look at the end of the file, for ...THREAD_SAFE. Set it to ...THREAD_UNSAFE. Re-compile re-install. It should help. It looks like the Oracle code isn't thread-safe. I patch sources as describe in

freeradius oracle crash

2004-11-22 Thread Nick 'TARANTUL' Novikov
I build freeradius-1.0.1 with rlm_sql_oracle. (Oracle 10g) After some time radius daemon crashed (segfault) Backtrace core file produced this output: #0 0x40154c97 in mallopt () from /lib/libc.so.6 #1 0x40153ef3 in malloc () from /lib/libc.so.6 #2 0x40b4dc1a in sltstidinit () from