On 14.04.2006, at 11:10, Zoran Vasiljevic wrote:
Unable to get Purify running with the test env, therefore
I just did the above commands from within the control port
session:
lexxsrv:nscp 1> ns_cache_create c1 1000
lexxsrv:nscp 2> ns_cache_incr c1 k1
1
lexxsrv:nscp 3> ns_cache_incr c1 k1
2
lexxsrv:nscp 4> ns_cache_flush c1
1
Purify observes no memory violation and all is fine.
I can repeat the above 1000's of times w/o any side
effect.
I'm running against freshly checked-out code
and with Tcl 8.4.12. Is there any other test
which would reveal the corruption?
I have seen that tests/ns_crypt.test cores the process.
Although, when I disable ns_cache test, it goes fine.
Presumably, something is really wrong in the cache code,
I will try to run (I have to yet figure out how) the
cache tests from the control port under purify control.
Lets see if this reveals anything...
Cheers
Zoran