Bus error - core dumped on freeradius 1.0.5

Rohaizam Abu Bakar haizam at myjaring.net
Mon Sep 19 12:42:24 CEST 2005



OS: FreeBSD 4.11p10
FR: 1.0.5

As requested..


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 10, Bus error.
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/local/lib/libssl.so.3...done.
Reading symbols from /usr/local/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/lib/libssl.so.3...done.
Reading symbols from /usr/lib/libcrypto.so.3...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/local/lib/liblber.so...done.
Reading symbols from /usr/local/lib/rlm_ldap-1.0.4.so...done.
Reading symbols from /usr/local/lib/libldap_r.so.2...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/local/lib/libeap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_eap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_eap_md5-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_eap_leap-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_eap_gtc-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_eap_mschapv2-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_preprocess-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_realm-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_files-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_acct_unique-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_detail-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_radutmp-1.0.5.so...done.
Reading symbols from /usr/local/lib/rlm_sql-1.0.5.so...done.
Reading symbols from /usr/lib/libz.so...done.
Reading symbols from /usr/lib/libm.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so...done.
Reading symbols from /usr/local/lib/rlm_sql_mysql-1.0.5.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  pairadd (first=0xdeadbf27, add=0x81c8c00) at valuepair.c:172
172             if (*first == NULL) {
(gdb) bt
#0  pairadd (first=0xdeadbf27, add=0x81c8c00) at valuepair.c:172
#1  0x2847db1c in ldap_authorize (instance=0x8096600, request=0x819de00) at 
rlm_ldap.c:1243
#2  0x8054e91 in call_modsingle (component=1, sp=0x818ecc0, 
request=0x819de00, default_result=6)
    at modcall.c:219
#3  0x8055088 in modcall (component=1, c=0x818ecc0, request=0x819de00) at 
modcall.c:344
#4  0x8054f4f in call_modgroup (component=1, g=0x818ec80, request=0x819de00, 
default_result=6)
    at modcall.c:252
#5  0x8055031 in modcall (component=1, c=0x818ec80, request=0x819de00) at 
modcall.c:335
#6  0x8054f4f in call_modgroup (component=1, g=0x818e980, request=0x819de00, 
default_result=6)
    at modcall.c:252
#7  0x8055031 in modcall (component=1, c=0x818e980, request=0x819de00) at 
modcall.c:335
#8  0x8054426 in indexed_modcall (comp=1, idx=0, request=0x819de00) at 
modules.c:469
#9  0x8054b16 in module_authorize (autz_type=0, request=0x819de00) at 
modules.c:883
#10 0x8051c23 in rad_authenticate (request=0x819de00) at auth.c:592
#11 0x804d25c in rad_respond (request=0x819de00, fun=0x8051ac4 
<rad_authenticate>) at radiusd.c:1642
#12 0x804cfa6 in main (argc=4, argv=0xbfbffbe4) at radiusd.c:1427



----- Original Message ----- 
From: "Nicolas Baradakis" <nbk at sitadelle.com>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Thursday, September 15, 2005 22:11
Subject: Re: Bus error - core dumped on freeradius 1.0.5


> Rohaizam Abu Bakar wrote:
>
>> OS: FreeBSD4.11 p10
>> Freeradius: 1.0.5  from 1.0.4
>>
>> - compilation OK.. but still to patch rlm_rewrite just like 1.0.4
>> - starting radiusd seems fine
>> - but when trying to authenticate.. then it will core dumped..  as below
>> debug log..
>
> Please post the backtrace from gdb. The following link explains how
> to do that.
>
> http://www.freeradius.org/radiusd/doc/bugs
>
> -- 
> Nicolas Baradakis
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 





More information about the Freeradius-Users mailing list