error of segmentation during the implementation of eap2

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Sep 18 14:55:50 CEST 2012


On 18 Sep 2012, at 13:42, arnauld ndefo <ndefo2002 at yahoo.fr> wrote:

> Thank you for your reply Alan. 
> I am working on a project which is based on EAP_PSK and implement this is the first part.
> 
> As you have recommend, i have used the gdb to debug and see the problem. The output that i have is below 
> # gdb radiusd
> GNU gdb (GDB) 7.1-ubuntu
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/local/sbin/radiusd...done.
> (gdb) set logging file gdb-radiusd.log
> (gdb) set logging on
> Copying output to gdb-radiusd.log.
> (gdb) set args -f
> (gdb) run
> Starting program: /usr/local/sbin/radiusd -f
> [Thread debugging using libthread_db enabled]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x080529d3 in cf_log_err (ci=0x0, 
>     fmt=0x8085210 "\"%s\" modules aren't allowed in '%s' sections -- they have no such method.") at conffile.c:2641
> 2641		radlog(L_ERR, "%s[%d]: %s", ci->filename, ci->lineno, buffer);
> 
> 
> Seems that in some part of a code, the eap2 module is not allowed. 

Please provide a backtrace from GDB.

-Arran


More information about the Freeradius-Users mailing list