Package: freeradius
Version: 2.0.4+dfsg-8~lenny3
Severity: normal

I'm seeing periodical segfaults in rlm_passwd on lenny.  The backtrace
is as follows:

(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x42045950 (LWP 21769)]
0x00007fdeaa28cadb in _IO_file_close_it () from /lib/libc.so.6
(gdb) bt
#0  0x00007fdeaa28cadb in _IO_file_close_it () from /lib/libc.so.6
#1  0x00007fdeaa27fdd0 in fclose () from /lib/libc.so.6
#2  0x00007fdea3f96197 in get_next (name=0x1ca4a44 "sjoerd", ht=0x1c8eba0) at 
rlm_passwd.c:288
#3  0x00007fdea3f96353 in passwd_map (instance=0x1c8eab0, request=0x1ca4f10) at 
rlm_passwd.c:543
#4  0x000000000041402a in modcall (component=1, c=<value optimized out>, 
request=0x1ca4f10) at modcall.c:265
#5  0x0000000000411951 in indexed_modcall (comp=1, idx=<value optimized out>, 
request=0x1ca4f10) at modules.c:446
#6  0x00000000004080c6 in rad_authenticate (request=0x1ca4f10) at auth.c:546
#7  0x000000000041f4e1 in radius_handle_request (request=0x1ca4f10, 
fun=0x407fd0 <rad_authenticate>) at event.c:2754
#8  0x0000000000418924 in request_handler_thread (arg=<value optimized out>) at 
threads.c:478
#9  0x00007fdeaac82fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007fdeaa2eb5ad in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
(gdb) up
#1  0x00007fdeaa27fdd0 in fclose () from /lib/libc.so.6
(gdb) 
#2  0x00007fdea3f96197 in get_next (name=0x1ca4a44 "sjoerd", ht=0x1c8eba0) at 
rlm_passwd.c:288
288     rlm_passwd.c: No such file or directory.
        in rlm_passwd.c
(gdb) print *ht
$1 = {tablesize = 0, keyfield = 0, nfields = 2, islist = 0, ignorenis = 0, 
filename = 0x1c8e2c0 "/var/lib/pglistener/apache", 
  table = 0x0, last_found = 0x0, 
  buffer = "<stuff from passwd file>\0' <repeats XXX times>, fp = 0x0, 
delimiter = 58 ':'}
(gdb) 

(As to the version number, I have added a yubikey module, but rlm_passwd
should be untouched.)

-- 
Tollef Fog Heen 
UNIX is user friendly, it's just picky about who its friends are



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to