Hi all,

As I've mentioned before, I'm trying to run Xerces under Cygwin but
this mail is not exactly about Cygwin.

For some reason, the pthreads implementation of Cygwin fails when
calling the pthread_mutex_init function in
XMLPlatformUtils::makeMutex().
This produces a SEGFAULT because the Xerces code tries to launch an
XMLException when this happens, and in turn the code that creates
the exception tries to use an unilitiaized global instance called
gSyncMutex to synchronize the creation of the exception message.

gSyncMutex is NULL because it never had the chance to be initialized,
as the code above runs while trying to initialize a static mutex,
before even reaching main().

About the pthread_mutex_init problem, I'll ask this to the Cygwin
list.

-- 
Saludos,
 nacho                          mailto:[EMAIL PROTECTED]
--
"Yo no soy paranoico. Eso es lo que *ellos* quieren que piense"
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to