thanks alan,

here goes the backtrace then:

clt173:/install/freeradius-1.0.1# gdb /usr/local/sbin/radiusd core
GNU gdb 6.1-debian
Copyright 2004 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"...Using host libthread_db library 
"/lib/libthread_db.so.1".

Core was generated by `/usr/local/sbin/radiusd -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.1.so...done.
Loaded symbols for /usr/local/lib/libradius-1.0.1.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.
[Thread debugging using libthread_db enabled]
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 /usr/local/lib/rlm_exec-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-1.0.1.so
Reading symbols from /usr/local/lib/rlm_expr-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-1.0.1.so
Reading symbols from /usr/local/lib/rlm_pap-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-1.0.1.so
Reading symbols from /usr/local/lib/rlm_chap-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-1.0.1.so
Reading symbols from /usr/local/lib/rlm_mschap-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-1.0.1.so
Reading symbols from /usr/local/lib/rlm_unix-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_unix-1.0.1.so
Reading symbols from /usr/local/lib/rlm_eap-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_eap-1.0.1.so
Reading symbols from /usr/local/lib/rlm_eap_md5-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5-1.0.1.so
Reading symbols from /usr/local/lib/rlm_eap_leap-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap-1.0.1.so
Reading symbols from /usr/local/lib/rlm_eap_gtc-1.0.1.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc-1.0.1.so
#0  0x400600df in lt_dlsym (handle=0x8152ac8, symbol=0xbfffe8f0 "rlm_eap_tls")
    at ltdl.c:3330
3330      lensym = LT_STRLEN (symbol) + LT_STRLEN (handle->loader->sym_prefix)
(gdb) bt
#0  0x400600df in lt_dlsym (handle=0x8152ac8, symbol=0xbfffe8f0 "rlm_eap_tls")
    at ltdl.c:3330
#1  0x402325d7 in eaptype_load (type=0xb, eap_type=11, cs=0xb) at eap.c:114
#2  0x40231b2a in eap_instantiate (cs=0x80a80b0, instance=0xb) at rlm_eap.c:134
#3  0x08055a83 in find_module_instance (instname=0x80ac0d8 "eap")
    at modules.c:358
#4  0x08056f6d in do_compile_modsingle (component=0, ci=0x80ac0b8,
    filename=0x8062720 "radiusd.conf", grouptype=0, modname=0xbfffeb68)
    at modcall.c:814
#5  0x080570f2 in compile_modsingle (component=0, ci=0xb,
    filename=0xb <Address 0xb out of bounds>, modname=0xb) at modcall.c:829
#6  0x08055f8d in load_component_section (cs=0x80abec0, comp=0,
    filename=0x8062720 "radiusd.conf") at modules.c:584
#7  0x08056364 in setup_modules () at modules.c:874
#8  0x0804cf1d in main (argc=2, argv=0xbffffd84) at radiusd.c:965
(gdb)

any idea?

cheers,

sven



Alan DeKok wrote:
Sven Juergensen <[EMAIL PROTECTED]> wrote:

after some research i found out that someone fixed this with the

--without-rlm_x99_token


  That should be fixed, but the maintainer of the module hasn't been
actively involved in the project for a while.


it compiles but gives me a segfault once radiusd -X
is invoked:

[...]
 gtc: challenge = "Password: "
 gtc: auth_type = "PAP"
rlm_eap: Loaded and initialized type gtc
Segmentation fault

which doesn't really surprise me, since i believe it's
because of the --without-rlm_x99_token parameter.


  No.  The modules are completely independent, and don't affect each
other.

  My suggestion would be to use gdb (see doc/bugs), or configure &&
compile the server statically.

  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