From: Stephen D. <sd...@gm...> - 2006-04-13 23:12:17
|
Maybe I'm just confusing myself, but I thought that with a different configuration, THREAD_ALLOC enabled iirc, the error message was showing that it was reading one byte *before* the buffer, no just running off the end because of no NIL byte. Could be wrong though.=20 I'll take another look at the cache code. ns_adp_compress-1.2 is failing with one byte different on my new Fedore Core 5 machine as well... On 4/13/06, Vlad Seryakov <vl...@cr...> wrote: > But still make test crashes in > > #0 Push (ePtr=3D0x87ff938) at cache.c:904 > 904 ePtr->cachePtr->firstEntryPtr->prevPtr =3D ePtr; > > Stephen Deasey wrote: > > Using Tcl 8.4.12. > > > > Create the file tests/x.test: > > > > > > package require tcltest 2.2 > > namespace import -force ::tcltest::* > > > > eval ::tcltest::configure $argv > > > > test corruption-1 {cache incr highlights corruption} -setup { > > ns_cache_create c1 1000 > > } -body { > > ns_cache_incr c1 k1 > > ns_cache_incr c1 k1 > > } -cleanup { > > ns_cache_flush c1 > > } -result 2 > > > > cleanupTests > > > > > > > > Run with: > > > > make test TCLTESTARGS=3D"-file x.test" > > > > > > You get an error like: > > > > errorInfo: expected integer but got "1aaaaaaaaaaaaZa=A5aaa=069" > > > > Hopefully Purify spots something. Thanks! > > > > > > > > On 4/13/06, Zoran Vasiljevic <zv...@ar...> wrote: > >> On 13.04.2006, at 23:58, Stephen Deasey wrote: > >> > >>> Unless anyone has any bright ideas, I'm going to test snapshots from > >>> CVS until the problem goes away, when I get time... > >>> > >> I have Purify. Can you get me a sequence of commands > >> which expose memory corrruption so I can replay it > >> under purify control? > >> > >> Cheers > >> Zoran > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by xPML, a groundbreaking scripting lan= guage > >> that extends applications into web and mobile media. Attend the live w= ebcast > >> and join the prime developer group breaking into this new coding terri= tory! > >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&da= t=3D121642 > >> _______________________________________________ > >> naviserver-devel mailing list > >> nav...@li... > >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > -- > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |