[Seaside] Very wierd IACache problems

Tim Rowledge seaside@lists.squeakfoundation.org
Wed, 17 Jul 2002 18:16:10 -0700


After a very long time of no problems occuring I have a real puzzle
relating to the IACache stuff.

Mostly I'm developing on my OSX powerbook, but I'm also testing in the
browser on my Acorn machine a couple of feet away. I've just had some
really wierd behaviour on the pB - complaints about a transaction having
expred followed by the image giving me an error 'No such page state:
current'. The problem is in IATransaction>pageStateAt: where the
'pageStates' ivar is an IACache and 'anID' is 'current'.

The _really_ odd thing is that I get no such problem from my Acorn. I've
quit and restarted Netscape on the pB to see if it was simply hanging on
to a very old cookie/session/whatever. No change! Worse yet, I inspected
all instances of IALRUCache and discovered 112 of them, some with
eeeeeenormous tables full of keys. There's also 120 IACaches. This
doesn't seem right somehow...

Any ideas anyone? Oh, I'm running 0.93 and really don't have time to
change unless it really, really needs it.

tim
-- 
Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Swap read error.  You lose your mind.