help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Long loop at rw_yynewstate in radiusd/rewrite.c


From: imacat
Subject: Re: [Help-gnu-radius] Long loop at rw_yynewstate in radiusd/rewrite.c
Date: Sat, 21 Jun 2003 22:00:14 +0800

On Sat, 21 Jun 2003 10:23:38 +0300
Sergey Poznyakoff <address@hidden> wrote:
> 1) What happens when you start the installed radius binary? I'd
> appreciate the most detailed information (messages from your logfile,
> etc.)

    Nothing.  It went into an infinite loop.  It did not answer to
Ctrl-C.  I had to start a new terminal and kill it in order to stop it. 
Nothing left in the log file.

> 2) If you have DejaGNU, change to the test/dejagnu subdirectory and
> run `runtest -a'. Otherwise, if you don't have it, change to the
> subdirectory test/shell and run make. In both cases, send me the
> output produced by either command.
> 3) Send me the files test/raddb/log/radius.log and
> test/raddb/log/radius.debug

    I have attached everything in the attached file.  Please check.  I
did not use the slow Pentium 133/Mandrake to produce the test result,
since it takes days for it to finish that test.  I'm running this test
on my Pentium III 800/Debian 3.0r1/kernel 2.4.20/glibc 2.3.2.

    The resulted 554 is obtained from this Pentium III 800/Debian 3.0r1. 
I had inserted a counter in the rw_yynewstate loop in rediusd/rewrite.c
to report the counter value for each loop.  It increased to 554 before
it exited the loop somewhere.  I run the same counter trap on that
Pentium 133/Mandrake 9.1.  It hanged at make check.  After I killed that
process several minutes later, it died, flushed its stdout and reported
23.  I have tried again in the backgroung 6 hours ago.  It doesn't
finised yet till now.

    I don't know if it will run exactly the same 554 loops on that
Pentium 133/Mandrake 9.1.  I have not finished a single test on that
machine yet.  I simply believe so, since it does enter a abnormal long
loop, eats all the CPU time and hangs.

    Since the rw_yynewstate loop in radiusd/rewrite.c is long and I have
no knowledge of what it does, when it should exit that loop, which
values should be changed in order to exit that loop, etc, I have no way
to debug more solely on this.  I think the attached terminal log should
help on what libraries, etc is running on my machine.  Please tell me if
you need any more infomation on this issue (library versions, etc), or
if any knowledge is helpful in debugging this problem.

> >     Besides, why this list does not accept PGP-signed (multipart/signed)
> > MIME messages?
> I'll fix this.

    Thank you. ^_*'

--
Best regards,
imacat ^_*' <address@hidden>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug

reply via email to

[Prev in Thread] Current Thread [Next in Thread]