I'm having a problem with a servlet that has been very difficult to debug.
We're using a python-wrapper to a C library to make Flash files
(http://opaque.net/ming/, if you're interested).
It's working fine in python: we can create and modify flash objects, output
them, save them to disk, etc.
If we move the EXACT SAME CODE into a servlet, as soon as the .output() or
.save() methods are called, the ThreadedAppServer seg faults.
We thought that it might have something to do with threading, but setting
the .canBeThreaded() and .canBeReused() methods to either 1 or 0 didn't seem
to make a difference.
Is there something special about Python running in a servlet that would
cause it to behave differently than straight interpreted or executed python?