radiusd crashing on FreeBSD 6.0

Paul Khavkine paul.khavkine at distributel.ca
Mon Jun 12 22:47:52 CEST 2006



Hi Guys.


I have radiusd 1.1.2 from the latest FreeBSD port crashing strangly
during a stress test.

I'm not sure where exactly it occurs because no core dump is produced.

Even when ran inside gdb, i can't get any backtrace info at all:



srv03# gdb /usr/local/sbin/radiusd
GNU gdb 6.1.1 [FreeBSD]
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-marcel-freebsd"...
(gdb) run -f
Starting program: /usr/local/sbin/radiusd -f
warning: Unable to get location for thread creation breakpoint: generic
error
[New LWP 100255]
Mon Jun 12 16:39:46 2006 : Info: Starting - reading configuration
files ...
[New Thread 0x8077000 (LWP 100255)]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) bt
No stack.
(gdb)


My system is FreeBSD 6.0-RELEASE-p2.
Core dumps are turned on in radiusd.conf, the system core file limit is
set to unlimited and i'm running the server as root.

It does crash when run with -x with a free() error:


 in free(): error: chunk is already free

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb) bt
No stack.
(gdb)

It does NOT crash when ran with -X

Does anyone have an idea how i can debug it further ?

Thanx
Paul


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 305 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060612/561ba033/attachment.pgp>


More information about the Freeradius-Users mailing list