Segmentation Fault - 1.0.5

Rohaizam Abu Bakar haizam at myjaring.net
Fri Sep 30 09:24:36 CEST 2005


cleaning up old files... recompile... and still segmentation fault... but 
worse than before.. since the daemon cannot even up..

seems problem with rlm_ldap...


###########################################################
bash-2.05b# gdb /usr/local/sbin/radiusd /usr/local/etc/raddb/radiusd.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 
933 in fill_symbuf

Core was generated by `radiusd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libcipher.so.2...done.
Reading symbols from /usr/local/lib/libradius-1.0.5.so...done.
Reading symbols from /usr/local/lib/libltdl.so.4...done.
Reading symbols from /usr/lib/libssl.so.3...done.
Reading symbols from /usr/lib/libcrypto.so.3...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/rlm_exec-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_expr-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_pap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_chap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_mschap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_unix-1.0.5.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280c4172 in lt_dlsym (handle=0x80de0c0, symbol=0xbfbfe630 "rlm_ldap") 
at ltdl.c:3330
3330      lensym = LT_STRLEN (symbol) + LT_STRLEN 
(handle->loader->sym_prefix)
(gdb) bt
#0  0x280c4172 in lt_dlsym (handle=0x80de0c0, symbol=0xbfbfe630 "rlm_ldap") 
at ltdl.c:3330
#1  0x8053fb0 in linkto_module (module_name=0xbfbfe780 "rlm_ldap", 
cffilename=0x805e5e7 "radiusd.conf",
    cflineno=732) at modules.c:230
#2  0x8054206 in find_module_instance (instname=0x80a61e0 "ldap1") at 
modules.c:347
#3  0x80553f2 in do_compile_modsingle (component=0, ci=0x80a5340, 
filename=0x805e5e7 "radiusd.conf",
    grouptype=1, modname=0xbfbfe918) at modcall.c:814
#4  0x80555b8 in do_compile_modgroup (component=0, cs=0x80a5320, 
filename=0x805e5e7 "radiusd.conf",
    grouptype=1, parentgrouptype=0) at modcall.c:877
#5  0x80552da in do_compile_modsingle (component=0, ci=0x80a5320, 
filename=0x805e5e7 "radiusd.conf",
    grouptype=0, modname=0xbfbfe9cc) at modcall.c:786
#6  0x805554b in do_compile_modgroup (component=0, cs=0x80a5300, 
filename=0x805e5e7 "radiusd.conf",
    grouptype=0, parentgrouptype=0) at modcall.c:859
#7  0x8055652 in compile_modgroup (component=0, cs=0x80a5300, 
filename=0x805e5e7 "radiusd.conf")
    at modcall.c:898
#8  0x805444d in load_subcomponent_section (cs=0x80a5300, comp=0, 
filename=0x805e5e7 "radiusd.conf")
    at modules.c:483
#9  0x80545cc in load_component_section (cs=0x80a5200, comp=0, 
filename=0x805e5e7 "radiusd.conf")
    at modules.c:546
#10 0x8054aa9 in setup_modules () at modules.c:858
#11 0x804c840 in main (argc=4, argv=0xbfbffbf0) at radiusd.c:960
(gdb)


----- Original Message ----- 
From: "Alan DeKok" <aland at ox.org>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Friday, September 30, 2005 10:27
Subject: Re: Segmentation Fault


> "Rohaizam Abu Bakar" <haizam at myjaring.net> wrote:
>> Is there a way to remove all old modules ? or just simply delete the lib
>> files...
>
>  No just deleting the old files should be OK.
>
>> Do we need to recompile again after cleaning it up... or just make 
>> install
>> again..?
>
>  If you install to a completely different directory, and se that
> directory via "configure --prefix=...", then everything should work.
> It's only installing multiple versions of the server on top of each
> other that causes problems.
>
>  My suggestion there is to delete the old files, and *then* compile *
> reinstall.
>
>  Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 





More information about the Freeradius-Users mailing list