You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by "David N. Welton" <da...@apache.org> on 2001/02/14 15:57:47 UTC
Re: bug found mod_dtcl 0.8.12 - child catches segmentation fault
[ the place for mod_dtcl questions and answers is the mod_dtcl list,
at mod_dtcl@tcl.apache.org ]
Johnny Mnemonic <jo...@themnemonic.org> writes:
> Greetings
> I was playing with some tcl code on my website using your mod_dtcl, and i
> found out that in some cases the apache child dies
> on the errorlog i see:
> [Tue Feb 13 21:42:03 2001] [notice] child pid 663 exit signal Segmentation
> fault (11)
> apache version: 1.3.17
> mod_dtcl version: 0.8.12
> The bug:
> I found out that it was simply the call to the Tcl function <+ Exit 0 +> to
> cause the apache's segfault
Exit is probably just something to avoid. You could use return
instead.
Maybe I'll make a wrapper for exit so that it doesn't do anything. It
doesn't segfault the version of mod_dtcl I'm running, the one out of
CVS.
> I think that you had a great idea to implement a server-side tcl
> language, because it's very simple and i would like to promote on my
> webserver. I will be pleased to help as i can if you want it.
The first thing is to subscribe to the mailing list, and jump in where
you see you can do something to help out.
Thankyou,
--
David N. Welton
Personal: http://www.efn.org/~davidw/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org