Segmentation Fault - 1.0.5

Rohaizam Abu Bakar haizam at myjaring.net
Tue Oct 4 11:22:15 CEST 2005


Dear all,


configure with --disable-shared... cleaned old files... and still core 
dump..


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/libssl.so.3...done.
Reading symbols from /usr/lib/libcrypto.so.3...done.
Reading symbols from /usr/local/lib/libgdbm.so.3...done.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.14...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libcipher.so.2...done.
Reading symbols from /usr/lib/libc_r.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x808e23e in lt_dlsym (handle=0x812ae40, symbol=0xbfbfe660 "rlm_ldap") 
at ltdl.c:3330
3330      lensym = LT_STRLEN (symbol) + LT_STRLEN 
(handle->loader->sym_prefix)
(gdb) bt
#0  0x808e23e in lt_dlsym (handle=0x812ae40, symbol=0xbfbfe660 "rlm_ldap") 
at ltdl.c:3330
#1  0x8057fd4 in linkto_module (module_name=0xbfbfe7b0 "rlm_ldap", 
cffilename=0x80932e7 "radiusd.conf",
    cflineno=732) at modules.c:230
#2  0x805822a in find_module_instance (instname=0x80f31e0 "ldap1") at 
modules.c:347
#3  0x8059416 in do_compile_modsingle (component=0, ci=0x80f2340, 
filename=0x80932e7 "radiusd.conf",
    grouptype=1, modname=0xbfbfe948) at modcall.c:814
#4  0x80595dc in do_compile_modgroup (component=0, cs=0x80f2320, 
filename=0x80932e7 "radiusd.conf",
    grouptype=1, parentgrouptype=0) at modcall.c:877
#5  0x80592fe in do_compile_modsingle (component=0, ci=0x80f2320, 
filename=0x80932e7 "radiusd.conf",
    grouptype=0, modname=0xbfbfe9fc) at modcall.c:786
#6  0x805956f in do_compile_modgroup (component=0, cs=0x80f2300, 
filename=0x80932e7 "radiusd.conf",
    grouptype=0, parentgrouptype=0) at modcall.c:859
#7  0x8059676 in compile_modgroup (component=0, cs=0x80f2300, 
filename=0x80932e7 "radiusd.conf")
    at modcall.c:898
#8  0x8058471 in load_subcomponent_section (cs=0x80f2300, comp=0, 
filename=0x80932e7 "radiusd.conf")
    at modules.c:483
#9  0x80585f0 in load_component_section (cs=0x80f2200, comp=0, 
filename=0x80932e7 "radiusd.conf")
    at modules.c:546
#10 0x8058acd in setup_modules () at modules.c:858
#11 0x8050864 in main (argc=4, argv=0xbfbffc28) at radiusd.c:960

--haizam

----- 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 23:01
Subject: Re: Segmentation Fault - 1.0.5


> "Rohaizam Abu Bakar" <haizam at myjaring.net> wrote:
>> cleaning up old files... recompile... and still segmentation fault... but
>> worse than before.. since the daemon cannot even up..
>>
>> seems problem with rlm_ldap...
>
>  That's bug #98.
>
>  Either link statically, or put the libraries rlm_ldap needs in a
> place where the dynamic linker can find them.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 





More information about the Freeradius-Users mailing list