You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by Ronnie Brunner <ro...@netcetera.ch> on 2002/07/25 00:51:39 UTC

Warning core dump + Status memory leaks

Hi guys,

Warning: the current CVS repository unfortunately dumps core with 
[make test], I checked in my latest version without proper check. SORRY
All the test run through, but the cleanup seems not to work as expected.
Unfortunately I have to go to bed, because I have a meeting in a
couple of hours, I can only look at it tomorrow. The problem seems to
be the cleanup when websh terminates.

Status memory leaks:  fixed two of them (rather small ones), but at
least mod_websh does not leak anymore when creating/destroying interps
and when handling request (that do not involve much code) -> there is
more memory leaking in the actual Websh, but most likely not in
mod_websh. I also found out, that most of the leaking is stuff that
gets allocated in Tcl_DStringAppend and Tcl_DStringSetLength (tclUtil.c)
but this does not help yet, because we don't explicitly call these
function in websh.

As I said: I'll lokk into it tomorrow. Hope you can live with the core
dump in the mean time (or maybe even fix it?? wishfull thinking ;-)

Ronnie
------------------------------------------------------------------------
Ronnie Brunner                               ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich     phone +41 1 247 79 79 fax +41 1 247 70 75

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