Scott,

> Does this ring any bells?  Are there any static tables having to do with
> DTD entities?  (The error seems to revolve around entities used with

Yes, this sounds familiar. Recently I did a quick check to make sure
that
we don't have any multi-threading problems. Unfortunately, we do. In the
new code base there are a number of static fields that do not have
synchronized access -- this includes classes like the UTF8DataChunk. 

The free list in the data chunk is a static field with no synchronized 
access. This allows the possibility of two threads grabbing the same
chunk from the free list. Because of this, I'd expect get strange
results 
from the parser and this could be the cause of the problem that you are
seeing.

I will work on synchronizing the access to these static fields. If the
performance doesn't degrade I'll commit the changes; if the performance
*does* degrade then we should consider another approach to accomplish 
the same thing that the code does now.

I'll reply to this message when I've settled this so that you can verify
that the changes fix your problem.

-- 
Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]

Reply via email to