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...@dedasys.com> on 2002/11/22 01:12:21 UTC

Re: mod_dtcl and tdom

"yahalom emet" <Ya...@xor-t.com> writes:

> first an appology for sending it directly to you. I am sending to
> mod_dtcl@tcl.apache.org but the mail does not seem to get there

Strange...  I've CC'ed it.

> I am working with tdom0.5 and mod_dtcl works fine. I tried to
> upgrade to tdom0.7.5.  all is working fine on the shell but with
> mod_dtcl I am getting: exit signal Segmentation fault (11) when
> trying to parse the xml any ideas why?

Not without more information - maybe we can ask the XML guys, too.

> a good way for debugging?

httpd -X

which runs Apache in single process mode.

I often use 'strace' and 'ltrace' on Linux.  They are, respectively, a
system and library call tracer.  They let you see what is happening
when everything crashes.

Once you find out what you can from those, gdb is about the only way
to go, although it's harder to get set up...

> another problem I am hunting is getting apache proccess running wild
> to 90% cpu. as far as I saw it happens when there is an error on the
> page. I am not sure why it is happening. any idea how can I attack
> such problem.

Hrm... sounds odd:-/  Do you have any custom error scripts?
 
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org


Re: mod_dtcl and tdom

Posted by "David N. Welton" <da...@dedasys.com>.
"yahalom emet" <Ya...@xor-t.com> writes:

> I played a bit with the httpd -X and the strace but there is no much
> I can get from it. only that tdom is 0.75 does not work with
> mod_dtcl.

Hrm:-/ I am going to be away from the net for a few days - maybe you
should try the tdom list - ask them what has chnaged - and please do
cross-post here, so we can all benefit from what you learn.  If it's a
mod_dtcl problem, then I'll see about fixing it.

> regarding the httpd going cpu wild I found the problem. It was me
> stupidly doing an exit in a certain place. after a while the httpd
> was going wild. I changed the code and for some days did not see
> this problem arises.

Always happy to learn that problems aren't mine, and I'm glad you got
it figured out!

Wonder if it would make sense to make a package that overrides a few
'bad' things, like 'exit'.

Happy Thanksgiving everyone:-)
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org