Hi Miro,
That's puzzling. Can you run the ThreadTest sample program that comes with
the distribution and see if you have the same problem? If that works, then
try substituting your stylesheets for the stylesheets and source documents
for the ones we ship with the test. If all else fails, and you can come up
with a reproducible case, then please post a bug in Bugzilla and attach the
samples for us to look at.
We have had reports of some problems with multithreaded programs on Linux,
due to a bug in gcc's STL implementation, but no reports of problems on
HP-UX using HP's compiler.
Dave
[EMAIL PROTECTED]
eus.net To: [email protected]
cc: (bcc: David N
Bertoni/CAM/Lotus)
10/31/2001 Subject: Re: Coredump when using
05:51 AM XalanTransformer.transform()
Hello,
initialize and terminate have been moved to main, so it is called only once
per process.
I start 2 threads using pthread_create(), both of them have only a local
instance of XalanTransformer class.
According to the documentation I should not care of synchronizing work of
local instances in separate threads of XalanTransformer class.
If I do not synchronize calls to transform() method of XalanTransformer
class, I coredump in a short time with the same call stack as in my first
mail.
However, if I use a mutex to avoid simultaneous calls to transform() of
XalanTransformer, the application doesn't coredump.
Could you please advise on any other circumstances that could cause this
problem?
Best regards, Miro.