Subject: Problems with freeradius
To: None <>
From: Martti Kuparinen <>
List: pkgsrc-users
Date: 07/17/2006 14:10:18

Is anyone having problems with freeradius-1.1.2?

My kernel is compiled from today's netbsd-3 sources on the dom0 server
and all distribution .tgz files (compiled from yesterday's sources)
were unpacked.


# uname -a
NetBSD r212 3.0_STABLE NetBSD 3.0_STABLE (XEN2_DOMU) #1: Mon Jul 17 13:41:20 
EEST 2006  root@xen2:/usr/src/sys/arch/i386/compile/XEN2_DOMU i386

# gdb ./src/main/.libs/radiusd
(gdb) run
Starting program: 
Mon Jul 17 14:02:03 2006 : Info: Starting - reading configuration files ...
radiusd: Error detected by libpthread: Invalid mutex.
Detected by file "/autobuild/netbsd-3.x/src/lib/libpthread/pthread_mutex.c", 
line 133, function "pthread_mutex_destroy".
See pthread(3) for information.

Program received signal SIGABRT, Aborted.
[Switching to LWP 1]
0xbdb060fb in kill () from /usr/lib/
(gdb) bt
#0  0xbdb060fb in kill () from /usr/lib/
#1  0xbdbb83e9 in pthread__errorfunc () from /usr/lib/
#2  0xbdbb4f30 in pthread_mutex_destroy () from /usr/lib/
#3  0xbdacc5bd in eap_detach () from /usr/pkg/lib/
#4  0xbdacc7de in eap_instantiate () from /usr/pkg/lib/
#5  0x08052ccc in find_module_instance (instname=0x807d920 "eap")
     at modules.c:358
#6  0x080541db in do_compile_modsingle (component=0, ci=0x8085c60,
             filename=0x805e4b0 "radiusd.conf", grouptype=0, modname=0xbfbfdc08)
     at modcall.c:1005
#7  0x080544d4 in compile_modsingle (component=0, ci=0x8085c60,
             filename=0x805e4b0 "radiusd.conf", modname=0xbfbfdc08) at 
#8  0x0805319c in load_component_section (cs=0x8085b60, comp=0,
             filename=0x805e4b0 "radiusd.conf") at modules.c:580
#9  0x080535ab in setup_modules () at modules.c:891
#10 0x08056355 in main (argc=1, argv=0xbfbfed4c) at radiusd.c:960
#11 0x0804bc16 in ___start ()