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.

Reply via email to