Scott, (huh, thought I sent this early this morning but I guess I got distracted and didn't finish ;)

As John says, you should be able to swap out some of the Mac OS X tuned versions of things for more generic versions. I might suggest the curl netaccessor (if you're using Xerces 3.0) instead of socket, but either should be okay. Xerces 3.0 uses posix file routines, so that shouldn't be a problem. I'd definitely configure in one of the generic unix transcoders. In any event, with Xerces 3.0 you should be able to configure yourself back to quite a posix-standard view of the world, which should eliminate the problem.

Note, however, that fork(2) according to the man page places many explicit caveats on things that may be unsafe following fork.

James

On Feb 7, 2008, at 9:06 AM, John Snelson wrote:

Hi Scott,

I think you've compiled Xerces-C using the Mac OS X native net accessor. You should be able to configure it to run using the socket net accessor instead, which means Xerces-C won't be using CoreFoundation calls.

John

Scott Cantor wrote:
There appears to be a problem in Xerces when used inside of software that forks, Apache being one such. Xerces is using CoreFoundation calls, and
those can't be used with fork by itself.
On 10.5, you get this error:
"The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALIT
Y___YOU_MUST_EXEC__() to debug."
Now, Apache's not changing. So I don't see any choice but to find these calls and replace them in the OS X port. Either that or I guess my code
won't run under Apache until I change parsers anyway.
Do any Mac maintainers know anything about the feasibility or extent of the
changes?
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

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



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

Reply via email to