Am 13.01.2007 um 06:17 schrieb Mike:
Running this program under the latest version of valgrind (using
memcheck or helgrind tools) reveals numerous errors from valgrind,
which I suspect (although I did not confirm) are the reason for the
core dumps and infinite hangs when it is run on its own.
Even more interesting... I just gave it a Purify run
on Solaris 2.8 with 4 threads and it revealed absolutely
no problems nor leaks. Heh?
Can it be that the problem is not the alloc code but the
tcl 8.5 alpha that you linked against? I never tested
anything else then 8.4.14. Please be aware that I
haven't touched the 8.5 tree up to now so there could
be some problems there, as there have been lots of
changes in tcl head branch lately.
To save your and my time, an access to your box
where I can verify that odd behaviour that you're
reporting will be very helpful!
Cheers
Zoran