help needed for debugging segfault
Hello, I've been banging my head against this for a few days. I've installed freeradius 1.1.0 from cvs and I'm doing EAP-PEAP using ntlm_auth for authentication. freeradius segfaults while sending the access-accept packet. In my first post someone instructed me to enable coredumps in freeradius and post the result. I've compiled freeradius using --enable-developer, set allow_core_dumps = yes in radiusd.conf and used ulimit to remove coredump filesize limit from my shell, but it seems freeradius still doesn't dump core. The radius server is a Debian testing box. The Wi-Fi accesspoint is a D-Link DWL-2100AP. Is there anything else I can do? Is this a freeradius issue or an OS issue? thanks -- Luca Corti PGP Key ID 1F38C091 BOFH excuse of the moment: Sand fleas eating the Internet cables -- Luca Corti PGP Key ID 1F38C091 BOFH excuse of the moment: LBNC (luser brain not connected)
Luca Corti wrote:
I've compiled freeradius using --enable-developer, set allow_core_dumps = yes in radiusd.conf and used ulimit to remove coredump filesize limit from my shell, but it seems freeradius still doesn't dump core.
If there is no coredump to be found, you could try to run FreeRADIUS directly from gdb. $ gdb /usr/sbin/freeradius ... (gdb) run -X You could also try to run FreeRADIUS in valgrind. $ valgrind /usr/sbin/freeradius -X -- Nicolas Baradakis
hi
I've installed freeradius 1.1.0 from cvs and I'm doing EAP-PEAP using ntlm_auth for authentication. freeradius segfaults while sending the access-accept packet.
In my first post someone instructed me to enable coredumps in freeradius and post the result.
just a thought - wouldn't it be principally the same to run freeradius in the gdb and to backtrace (bt) after gdb catches sigsegv? ciao artur
I've compiled freeradius using --enable-developer, set allow_core_dumps = yes in radiusd.conf and used ulimit to remove coredump filesize limit from my shell, but it seems freeradius still doesn't dump core.
The radius server is a Debian testing box. The Wi-Fi accesspoint is a D-Link DWL-2100AP.
Is there anything else I can do? Is this a freeradius issue or an OS issue?
thanks
Artur Hecker wrote:
hi
I've installed freeradius 1.1.0 from cvs and I'm doing EAP-PEAP using ntlm_auth for authentication. freeradius segfaults while sending the access-accept packet.
In my first post someone instructed me to enable coredumps in freeradius and post the result.
just a thought - wouldn't it be principally the same to run freeradius in the gdb and to backtrace (bt) after gdb catches sigsegv? I suppose, I have reported the same problem a few minutes ago. I ran radiusd under gdb and put the backtrace at http://www.wegener-net.de/fr/bt.txt. The configuration files are in the same directory.
Norbert
ciao artur
I've compiled freeradius using --enable-developer, set allow_core_dumps = yes in radiusd.conf and used ulimit to remove coredump filesize limit from my shell, but it seems freeradius still doesn't dump core.
The radius server is a Debian testing box. The Wi-Fi accesspoint is a D-Link DWL-2100AP.
Is there anything else I can do? Is this a freeradius issue or an OS issue?
thanks
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Tue, 2005-11-22 at 14:49 +0100, Norbert Wegener wrote:
Managed to run freeradius under gdb, same happening here. modcall: leaving group authenticate (returns ok) for request 8 Sending Access-Accept of id 9 to 1.2.3.4 port 1025 MS-MPPE-Recv-Key = 0xd65e923068f7c3a8692c94da01d789676aab52e0129fdff4f5e11b5a51f243ba Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212503840 (LWP 25694)] 0xb7c3312d in memset () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7c3312d in memset () from /lib/tls/libc.so.6 #1 0xb7f51e98 in rad_vp2attr (packet=0x0, original=0x0, secret=0x0, vp=0x0, ptr=0x0) at radius.c:484 #2 0x00000000 in ?? () thanks -- Luca Corti PGP Key ID 1F38C091 BOFH excuse of the moment: That's easy to fix, but I can't be bothered.
Luca Corti wrote:
Hello,
I've been banging my head against this for a few days.
I've installed freeradius 1.1.0 from cvs and I'm doing EAP-PEAP using ntlm_auth for authentication. freeradius segfaults while sending the access-accept packet.
In my first post someone instructed me to enable coredumps in freeradius and post the result.
I've compiled freeradius using --enable-developer, set allow_core_dumps = yes in radiusd.conf and used ulimit to remove coredump filesize limit from my shell, but it seems freeradius still doesn't dump core.
The radius server is a Debian testing box. The Wi-Fi accesspoint is a D-Link DWL-2100AP.
Is there anything else I can do? Is this a freeradius issue or an OS issue?
thanks
Try checking if the server runs with different user/groups, disable that. Worked to an extent for me.
participants (5)
-
Artur Hecker -
Joe Maimon -
Luca Corti -
Nicolas Baradakis -
Norbert Wegener