Re: [naviserver-devel] Puzzle for christmas

2006-12-25 Thread Zoran Vasiljevic
On 23.12.2006, at 18:41, Zoran Vasiljevic wrote: I have found (yet still not fixed) a leak in the current code. I have located the culprit! It does not have anything to do with our code, rather with Tcl. It seems that stdin/stdout/stderr channels are not properly handled on thread exit (not

Re: [naviserver-devel] Puzzle for christmas

2006-12-25 Thread Zoran Vasiljevic
On 25.12.2006, at 11:22, Zoran Vasiljevic wrote: It seems that stdin/stdout/stderr channels are not properly handled on thread exit (not detached from the interp). Well, this is going to be tough... The scenario is simple: Tcl has channel wrappers for stdin, stdout and stderr channels. On a

Re: [naviserver-devel] Puzzle for christmas

2006-12-25 Thread Vlad Seryakov
I have located the culprit! It does not have anything to do with our code, rather with Tcl. It seems that stdin/stdout/stderr channels are not properly handled on thread exit (not detached from the interp). This is a can of worms that I'm now opening... I hate to fiddle with that stuff in Tcl