hi alan,
i am using debian linux 3.0(woody)and this is the core dump output i get 
when i run radiusd with mysql.i am using freeradius-1.0.0-pre1.

gdb /usr/local/sbin/radiusd /usr/local/etc/raddb/c
ore
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
Core was generated by `radiusd -d /usr/local/etc/raddb/ -x'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/local/lib/libradius-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/libradius-1.0.0-pre1.so
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_db.so.2...done.
Loaded symbols for /lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb3.so.3...done.
Loaded symbols for /usr/lib/libdb3.so.3
Reading symbols from /usr/local/lib/rlm_exec-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_expr-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-1.0.0-pre1.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/lib/rlm_pap-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_chap-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_mschap-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_preprocess-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_realm-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_realm-1.0.0-pre1.so
Reading symbols from /usr/local/lib/rlm_sql-1.0.0-pre1.so...done.
Loaded symbols for /usr/local/lib/rlm_sql-1.0.0-pre1.so
#0  0x400670df in lt_dlsym (handle=0x8157800, symbol=0x8155df0
"rlm_sql_mysql")
    at ltdl.c:3330
3330      lensym = LT_STRLEN (symbol) + LT_STRLEN
(handle->loader->sym_prefix)

(gdb) bt
#0  0x400670df in lt_dlsym (handle=0x8157800, symbol=0x8155df0
"rlm_sql_mysql")
    at ltdl.c:3330
#1  0x402d8be2 in rlm_sql_instantiate (conf=0x8155df8, instance=0xd)
    at rlm_sql.c:682
#2  0x08055a73 in find_module_instance (instname=0x80ab918 "sql")
    at modules.c:358
#3  0x08056f5d in do_compile_modsingle (component=1, ci=0x80ab8f8,
    filename=0x80626c0 "radiusd.conf", grouptype=0, modname=0xbfffea58)
    at modcall.c:814
#4  0x080570e2 in compile_modsingle (component=1, ci=0xd,
    filename=0xd <Address 0xd out of bounds>, modname=0xd) at modcall.c:829
#5  0x08055f7d in load_component_section (cs=0x80ab7c8, comp=1,
    filename=0x80626c0 "radiusd.conf") at modules.c:584
#6  0x08056354 in setup_modules () at modules.c:874
#7  0x0804cf1d in main (argc=4, argv=0xbffffc64) at radiusd.c:965
(gdb)

thanx in advance
regards,
manjunath

-----Original Message-----
From: Alan DeKok [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 7:32 PM
To: [EMAIL PROTECTED]
Subject: Re: mysql not loading and linking -- segmentation fault 


Manjunath M Prabhu <[EMAIL PROTECTED]> wrote:
> Module: Loaded SQL
> Segmentation fault
> 
> i get an error segmentation fault how do i correct it?

  doc/bugs

  Alan DeKok.

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

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

Reply via email to