[Wifidog] Crash diagnosed
Philippe April
philippe at philippeapril.com
Mon Jul 5 23:37:52 EDT 2004
Just to let everybody know, the changes are now in for
client_list_delete().
Thanks to Pascal and Alex for testing and finding the bug!
On Mon, Jul 05, 2004 at 11:11:26PM -0400, Benoit Grégoire wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 05 July 2004 10:19 pm, Alexandre Carmel-Veilleux wrote:
> > Hello,
> >
> > Tonight, at Phil's, Pascal and I debugged WiFiDog. We found the
> > cause of the intermittent hanging.
> >
> > The function deleting nodes from the client_list structure could,
> > when it didn't match either the first or second item in the list, loop
> > indefinately. This infinite looped caused the client_list_mutex to remain
> > locked effectively dead-locking WiFiDog. This has been fixed in the local
> > source tree and as soon as Phil can clean it up, it'll be committed to the
> > CVS.
>
> Finally, congratulations!
>
> > This leaves one major bug. Under some circumstances, succesful
> > logins (of an account that has been denied before) may return an "Access
> > Denied". This may be related to the cache of web browsers or not. We
> > only noticed the bug and didn't investigate it yet.
>
> Web browser and proxies have various cache bugs. Before we even begin hunting
> this one down, I suggest we add the following to every page:
>
> In the http headers:
>
> Cache-control: private, no-cache, must-revalidate
> Expires: Mon, 26 Jul 1997 05:00:00 GMT"
> Pragma: no-cache
>
> And in the HTML (in <head>):
>
> <meta http-equiv="Pragma" CONTENT="no-cache">
> <meta http-equiv="Expires" CONTENT="-1">
>
> And AFTER </body>, to work around IEs stupid cache 64k buffer bug add a SECOND
> <head>
> <meta http-equiv="Pragma" CONTENT="no-cache">
> <meta http-equiv="Expires" CONTENT="-1">
> </head>
> </html>
>
> If no one did it next week, I'll probably take care of it.
>
> > When those two issues are taken care of, we will be ready to
> > make an alpha.
> >
> > As for the documentation and build process for the ipkg, I will
> > look at that early this week. I've seen how Phil does it and I'll tailor
> > the process to us so it can be at least partly automated with a script
> > or a Makefile.
>
> Cool, begining two weeks from now, I should have time to actually code, if I
> bother to properly setup my test environement. Your docs would greatly
> increase the chances of that happening.
>
> - --
> Benoit Grégoire, http://step.polymtl.ca/~bock/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFA6hhemZ6zzPlLuwMRAkYhAJ0cz5d+EhUi1OT/EFqPb9QmeLkEkQCeKHT2
> Shzfdbiu9Msf5kK/nY6dGKg=
> =peeB
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wifidog mailing list
> Wifidog at isf.waglo.com
> http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
>
--
Philippe April
philippe at philippeapril.com
GnuPG: http://key.philippeapril.com/
_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
More information about the Wifidog
mailing list