Hi Graham,
After a few interesting weeks, I finally manage to get some time to
help on mod_python.
I've ran the tests on the latest Subversion revision (407968) with
Apache 2.0.58 and Python 2.4.3, and all test pass, including the SSI
ones.
For a yet unknown reason, every test fail with a
I've forgot to mention the platform : as usual for me, it's Windows XP SP2.
Regards,
Nicolas
2006/5/20, Nicolas Lehuen [EMAIL PROTECTED]:
Hi Graham,
After a few interesting weeks, I finally manage to get some time to
help on mod_python.
I've ran the tests on the latest Subversion revision
OK, it seems that my last hypothesis was the good one : mod_python is
doing things with thread states that are frowned upon by debug build.
The tests are only performed in the debug build, so that's why we had
no problem with the release build.
The tests are found in pystate.c, in function
On 20/05/2006, at 6:27 PM, Nicolas Lehuen wrote:
OK, it seems that my last hypothesis was the good one : mod_python is
doing things with thread states that are frowned upon by debug build.
The tests are only performed in the debug build, so that's why we had
no problem with the release build.
Graham,
In fact PyEval_AcquireThread does call PyThreadState_Swap :
void
PyEval_AcquireThread(PyThreadState *tstate)
{
if (tstate == NULL)
Py_FatalError(PyEval_AcquireThread: NULL new thread state);
/* Check someone has called PyEval_InitThreads() to create the
CC'd to developers list so others are aware of issue and maybe can offer
insight.
Nicolas Lehuen wrote ..
Hi Graham,
The latest trunk version yields multiple segfaults and failures in
different places :
* Testing req.add_handler() for empty phase
E
* Testing req.add_handler()
Graham Dumpleton wrote ..
* Testing server side include
F
Based on the logs below, this may be what I suspected. That is there
is some issue with CR/LF differences on Win32 which causing the
code some grief. Because of the crash by Apache when exception
occurred in SSI code, real issue
Graham Dumpleton wrote ..
Graham Dumpleton wrote ..
* Testing server side include
F
Based on the logs below, this may be what I suspected. That is there
is some issue with CR/LF differences on Win32 which causing the
code some grief. Because of the crash by Apache when exception