Segfault on CentOS 5.8 with 2.1.12

Francois Gaudreault fgaudreault at inverse.ca
Sat Apr 7 00:06:32 CEST 2012


Hi,

We installed FR on one CentOS 5.8 today, and we are running into weird 
crashing issues.  Sometimes RADIUS works fine, sometimes it starts to 
crash right after the start.  We hooked gdb to it, and it appears to be 
related with the rlm_perl module.  We are using an external perl module, 
but it is running fine on many hundreds of systems.  I am wandering if 
someone have an idea about what can be wrong :

[Thread 0xb7da7b90 (LWP 3296) exited]
[New process 3298]
[Thread debugging using libthread_db enabled]
[New Thread 0xb7da7b90 (LWP 3299)]
[New Thread 0xb73a6b90 (LWP 3300)]
[New Thread 0xb69a5b90 (LWP 3301)]
[New Thread 0xb5fa4b90 (LWP 3302)]
[New Thread 0xb55a3b90 (LWP 3303)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb69a5b90 (LWP 3301)]
0x0091b70b in Perl_gv_init () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
(gdb) bt
#0  0x0091b70b in Perl_gv_init () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#1  0x0091bdd8 in Perl_gv_fetchmeth () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#2  0x0091c6a5 in Perl_gv_fetchmethod_autoload () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#3  0x00982148 in ?? () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#4  0x0097bd90 in ?? () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#5  0x0098f20d in perl_clone () from 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#6  0x00f67e90 in rlm_perl_clone (instance=0x84f19a0, request=0x88e3bf8, 
function_name=0x84d5be0 "authorize")
     at rlm_perl.c:259
#7  rlmperl_call (instance=0x84f19a0, request=0x88e3bf8, 
function_name=0x84d5be0 "authorize") at rlm_perl.c:656
#8  0x0806413e in call_modsingle (component=1, c=0x82fbd90, 
request=0x88e3bf8) at modcall.c:297
#9  modcall (component=1, c=0x82fbd90, request=0x88e3bf8) at modcall.c:670
#10 0x08060ac5 in indexed_modcall (comp=1, idx=0, request=0x88e3bf8) at 
modules.c:737
#11 0x08060eec in module_authorize (autz_type=0, request=0x88e3bf8) at 
modules.c:1579
#12 0x0804e7d8 in rad_authenticate (request=0x88e3bf8) at auth.c:579
#13 0x08070fe5 in radius_handle_request (request=0x88e3bf8, 
fun=0x804e6b0 <rad_authenticate>) at event.c:3780
#14 0x08068763 in request_handler_thread (arg=0x88e2df8) at threads.c:537
#15 0x00c36832 in start_thread () from /lib/libpthread.so.0
#16 0x00b7645e in clone () from /lib/libc.so.6
(gdb) quit

I am not aware of the issue for other CentOS 5 version, or CentOS 6.

Thanks.

-- 
Francois Gaudreault, ing. jr
fgaudreault at inverse.ca  ::  +1.514.447.4918 (x130) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)


More information about the Freeradius-Users mailing list