<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial>
<P><SPAN class=906313710-23082006><FONT size=2>Hi </FONT></SPAN></P>
<P><SPAN class=906313710-23082006><FONT size=2>I was trying to debug the radiusd 
through gbb.But the program is exiting out below are the logs</FONT></SPAN></P>
<P><SPAN class=906313710-23082006><FONT size=2>Pls let me know any debugging 
flags needs to be set, when i need to debug using GDB</FONT></SPAN></P>
<P><SPAN class=906313710-23082006><FONT size=2>Rgds,</FONT></SPAN></P>
<P><SPAN class=906313710-23082006><FONT size=2>Shankar ganesh</FONT></SPAN></P>
<P><SPAN class=906313710-23082006><FONT size=2></FONT></SPAN> </P>
<P><SPAN class=906313710-23082006>Wed Aug 23 16:13:26 2006 : Info: Starting - 
reading configuration files 
...<BR>n947            if 
((mainconfig.allow_core_dumps == FALSE) && (debug_flag == 
0))                                              
{<BR>(gdb) 
n<BR>959             
DEBUG2("radiusd:  entering modules setup");<BR>(gdb) 
n<BR>950                     
act.sa_handler = sig_fatal;<BR>(gdb) 
n<BR>951                     
sigaction(SIGSEGV, &act, NULL);<BR>(gdb) 
n<BR>959             
DEBUG2("radiusd:  entering modules setup");<BR>(gdb) 
n<BR>960             
if (setup_modules() < 0) {<BR>(gdb) 
n<BR>n<BR>971             
if (strcmp(radlog_dir, "syslog") == 0) {<BR>(gdb) 
n<BR>972                     
openlog(progname, LOG_PID, syslog_facility);<BR>(gdb) 
n<BR>977             
if (strcmp(radlog_dir, "stdout") == 0) {<BR>(gdb) 
n<BR>978                     
radlog_dest = RADLOG_STDOUT;<BR>(gdb) 
n<BR>979             
} else if (strcmp(radlog_dir, "stderr") == 0) {<BR>(gdb) 
n<BR>980                     
radlog_dest = RADLOG_STDERR;<BR>(gdb) 
n<BR>984             
rl_init();<BR>(gdb) 
n<BR>989             
pair_builtincompare_init();<BR>(gdb) 
n<BR>998             
if (debug_flag == 0 && dont_fork == FALSE) {<BR>(gdb) 
n<BR>999                     
pid = fork();<BR>(gdb) 
n<BR>1000                    
if(pid < 0) {<BR>(gdb) 
n<BR>1001                            
radlog(L_ERR|L_CONS, "Couldn't fork");<BR>(gdb) 
n<BR>1008                    
if(pid > 0) {<BR>(gdb) 
n<BR>1009                            
exit(0);<BR>(gdb) n</SPAN></P>
<P><SPAN class=906313710-23082006>Program exited 
normally.<BR></SPAN></FONT></P></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>