https://issues.apache.org/bugzilla/show_bug.cgi?id=54113

gar...@motorweb.co.nz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from gar...@motorweb.co.nz ---
I've just hit this deadlock with FOP 1.1 in our production system (thread dump
snippet attached). It ran fine for a couple of weeks and then locked up. Given
this it would appear to be a race condition, and could not be reproduced by
running the same XSL-FO as requested by Alex Giotis.

It looks like this may have been exposed by the refactoring of PropertyCache
for 1.1, but my initial investigation suggests the root of the cause is putting
a Vector in the PropertyCache. When two threads are fetching from the cache
they compare two Vectors to each other and deadlock on the synchronized equals
and listIterator methods.

It would be better to use some other List implementation, or failing that,
synchronizing the cache fetch method.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to