
On Oct 13, 2010, at 5:52 PM, Phil Mayers wrote:
Other info indicates this is Apple trying to be clever and "protect" applications from some signal handling issues surrounding fork() with libraries which aren't safe in that situation; presumably these are MacOS-specific libraries?
If this really is true, then MacOS X is no longer posix-compliant in those circumstances, and Twisted is going to need some work :o(
Can you share more details about the application; the context in which it is started, and which system libraries it's likely to load?
Here's a compact version. The script uses OSX' Quartz to create and manipulate images. Twisted is used to wrap it as a webserver, images are served. More pointers on how to start and use it in the script itself. The real application is more complex, it renders images for sites like this: http://lettersetter.net/ Zip contains 1 test image, 1 script and a sample result image. Running in no-daemon mode (the -n option) prevents the crash, but causes other issues. Thanks! Erik