Krishna Srinivasan
krishna at ironport.com
Fri Mar 19 20:06:34 EST 2004
Greetings. I am getting the following error in my error_log, whenever I run mod_python (publisher or psp) code. ============== Mod_python error in error_log ============================ [Fri Mar 19 19:43:49 2004] [notice] mod_python: (Re)importing module 'mod_python.publisher' [Fri Mar 19 19:43:49 2004] [notice] mod_python: (Re)importing module 'autoweb' with path set to '['/usr/local/apache2/htdocs/testautoweblib']' Fatal Python error: PyThreadState_Delete: tstate is still current [Fri Mar 19 19:43:49 2004] [notice] child pid 43463 exit signal Abort trap (6) ========================================================================= The page does come up fine and things seem to work at the outset, but still this error comes up - which bothers me. After some time on google, I tried compiling apache with threads, but got compile-error - so gave up on that after reading discouraging web pages lamenting on how apache2-threads and freebsd are not friendly. ============== Apache compile error with --enable-threads =============== /usr/local/bin/bash /home/krishna/work/downloads/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -I../../include -I../../include/arch -I../../include/arch/unix -c thread_mutex.c && touch thread_mutex.lo thread_mutex.c: In function `apr_thread_mutex_unlock': thread_mutex.c:219: void value not ignored as it ought to be ========================================================================= This is my configuration. freebsd-4-7 apache-2-0-48 mod_python-3-1-3 python-2-2-3 How can I fix this problem ? Can someone please help ? Many thanks in advance, Krishna.
|