Re: Segfault with EAP-PEAP/MSCHAPv2
This is the core dump. FreeBSD 6.1 host, 1.1.2 FreeRadius. Authenticates fine using NTRadPing with MS-CHAP but crashes each time trying to authenticate from an XP box using EAP-PEAP/MS-CHAPv2. cat gdb-radiusd.log * 8 LWP 100065 0x280ac4ab in pthread_testcancel () from /usr/lib/libpthread.so.2 7 Thread 0x8077000 (runnable) 0x282e775f in select () from /lib/libc.so.6 6 Thread 0x8143000 (LWP 100061) 0x280ac46b in pthread_testcancel () from /usr/lib/libpthread.so.2 5 Thread 0x8143200 (sleeping) 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 4 Thread 0x8143400 (sleeping) 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 3 Thread 0x8143600 (runnable) 0x281db323 in sk_value () from /lib/libcrypto.so.4 2 Thread 0x8143800 (sleeping) 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 1 Thread 0x8143a00 (sleeping) 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 Thread 8 (LWP 100065): #0 0x280ac46b in pthread_testcancel () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a4e3c in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x2808e450 in ?? () No symbol table info available. Thread 7 (Thread 0x8077000 (runnable)): #0 0x282e775f in select () from /lib/libc.so.6 No symbol table info available. #1 0x2809503d in select () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x08056231 in main () No symbol table info available. Thread 6 (Thread 0x8143000 (LWP 100061)): #0 0x280ac46b in pthread_testcancel () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a4e3c in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x2808e450 in ?? () No symbol table info available. Thread 5 (Thread 0x8143200 (sleeping)): #0 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a50a3 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x280a96b1 in _pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #3 0x280a9bfa in pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #4 0x28094d6f in sem_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #5 0x0805a95f in smux_start () No symbol table info available. #6 0x2809d319 in pthread_create () from /usr/lib/libpthread.so.2 No symbol table info available. #7 0x282cf637 in _ctx_start () from /lib/libc.so.6 No symbol table info available. Thread 4 (Thread 0x8143400 (sleeping)): #0 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a50a3 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x280a96b1 in _pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #3 0x280a9bfa in pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #4 0x28094d6f in sem_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #5 0x0805a95f in smux_start () No symbol table info available. #6 0x2809d319 in pthread_create () from /usr/lib/libpthread.so.2 No symbol table info available. #7 0x282cf637 in _ctx_start () from /lib/libc.so.6 No symbol table info available. Thread 3 (Thread 0x8143600 (runnable)): #0 0x281db323 in sk_value () from /lib/libcrypto.so.4 No symbol table info available. #1 0x28464f8c in ssl3_output_cert_chain () from /usr/local/lib/libssl.so No symbol table info available. Thread 2 (Thread 0x8143800 (sleeping)): #0 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a50a3 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x280a96b1 in _pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #3 0x280a9bfa in pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #4 0x28094d6f in sem_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #5 0x0805a95f in smux_start () No symbol table info available. #6 0x2809d319 in pthread_create () from /usr/lib/libpthread.so.2 No symbol table info available. #7 0x282cf637 in _ctx_start () from /lib/libc.so.6 No symbol table info available. Thread 1 (Thread 0x8143a00 (sleeping)): #0 0x280a4f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #1 0x280a50a3 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 No symbol table info available. #2 0x280a96b1 in _pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #3 0x280a9bfa in pthread_cond_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #4 0x28094d6f in sem_wait () from /usr/lib/libpthread.so.2 No symbol table info available. #5 0x0805a95f in smux_start () No symbol table info available. #6 0x2809d319 in pthread_create () from /usr/lib/libpthread.so.2 No symbol table info available. #7 0x282cf637 in _ctx_start () from /lib/libc.so.6 No symbol table info available. #0 0x280ac46b in pthread_testcancel () from /usr/lib/libpthread.so.2 -----Original Message-----
From: Alan DeKok <aland@deployingradius.com> Sent: Sep 25, 2006 7:36 AM To: Paul A Roberts <proberts@teleport.com>, FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Segfault with EAP-PEAP/MSCHAPv2
Paul A Roberts <proberts@teleport.com> wrote:
Segmentation fault (core dumped)
doc/bugs describes what to do.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Paul A Roberts <proberts@teleport.com> wrote:
This is the core dump. FreeBSD 6.1 host, 1.1.2 FreeRadius. Authenticates fine using NTRadPing with MS-CHAP but crashes each time trying to authenticate from an XP box using EAP-PEAP/MS-CHAPv2.
Hmm... that doesn't help much. All I can suggest is to try 1.1.3, maybe that works. I recall there being other issues with FreeBSD before, but I don't recall what. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Hi, I get the exact same problem, and I too have been working on it for a while, and is getting quite frustrating. I've tried FreeRADIUS 1.1.2 and 1.1.3 both from source, and 1.1.2 from the FreeBSD ports collection (although I had to hack the port to get it to build past sqlippool), on FreeBSD 6.0 and the problem persists. Regular logins work fine, but whenever a PEAP login is attempted, it crashes, and a truss/strace doesn't help at all. I have until this Friday to have this sorted, else we'll be finding other ways to do it, which is unfortunate as I have no other issues with FreeRADIUS. I think I'll give Debian Sarge a shot. I'll let you know if it works (which would mean FreeBSD has some issues with EAP-PEAP). Regards, Nick Larsen On 9/26/06, Alan DeKok <aland@deployingradius.com> wrote:
Paul A Roberts <proberts@teleport.com> wrote:
This is the core dump. FreeBSD 6.1 host, 1.1.2FreeRadius. Authenticates fine using NTRadPing with MS-CHAP but crashes each time trying to authenticate from an XP box using EAP-PEAP/MS-CHAPv2.
Hmm... that doesn't help much.
All I can suggest is to try 1.1.3, maybe that works. I recall there being other issues with FreeBSD before, but I don't recall what.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Regards, Nick Larsen Wellington NEW ZEALAND
participants (3)
-
Alan DeKok -
Nick Larsen -
Paul A Roberts