On Monday 16 April 2007 07:52:43 Alan DeKok wrote: > Kevin Bonner wrote: > > Try http://bugs.freeradius.org/show_bug.cgi?id=150 > > > > I doubt that patch will still apply cleanly due to the many recent > > changes. I'll see if I can test the CVS head later today and submit a > > newer patch. > > Please try the latest CVS. I've added a patch based on yours. > > Alan DeKok.
Tested with the CVS head as of this morning and everything looks good to me, even the per-client data. I'm hitting a segfault when testing the cases I listed in bug#150, but I don't think it is related to the SNMP portion of the code. Segfault info is below. Kevin Bonner == cut == (gdb) bt #0 0x00fe97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x002fca0d in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0x004ecbb6 in main (argc=2, argv=0xbfe06fc4) at radiusd.c:575 (gdb) up #1 0x002fca0d in ___newselect_nocancel () from /lib/tls/libc.so.6 (gdb) up #2 0x004ecbb6 in main (argc=2, argv=0xbfe06fc4) at radiusd.c:575 575 status = select(max_fd + 1, &readfds, NULL, NULL, ptv); (gdb) list 570 #else 571 DEBUG2("Waking up in %d seconds...", 572 (int) tv.tv_sec); 573 #endif 574 } 575 status = select(max_fd + 1, &readfds, NULL, NULL, ptv); 576 if (status == -1) { 577 /* 578 * On interrupts, we clean up the request 579 * list. We then continue with the loop, (gdb) print ptv $1 = (struct timeval *) 0x0 (gdb) print &readfds $2 = (fd_set *) 0xbfe05ea0 (gdb) print max_fd $3 = 10 == cut ==
pgpSJjuzOV29P.pgp
Description: PGP signature
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html