Gregory Trubetskoy
grisha at modpython.org
Wed Oct 4 17:59:35 EST 2000
That may be the problem. I think Apache is built without threads by default. I've got a redhat box now and I'll see if I can replicate these problems, but in the meantime, I would try compiling a fresh copy of Python from sources (it should build without threads by default) and linking against that for mod_python. (I describe this procedure for FreeBSD in the install section of the docs) -- Gregory (Grisha) Trubetskoy grisha at modpython.org On Wed, 4 Oct 2000, Jeff Schenk wrote: > Yes, Python 1.5.2 on LINUX was built with threads. I noticed the Makefile > that was configure to include the mod_python has the correct python libs > and -lpthread specified. > > Jeff Schenk > Continuum Networks > Chief Architect of Software Development > 805-927-3886 > > > -----Original Message----- > From: mod_python-admin at modpython.org > [mailto:mod_python-admin at modpython.org]On Behalf Of Gregory Trubetskoy > Sent: Wednesday, October 04, 2000 2:25 PM > To: Miguel Marques > Cc: mod_python at modpython.org > Subject: Re: [mod_python] Issue with mod_python Fatal Python error > > > > Interesting. Is Python built with threads? > > -- > Gregory (Grisha) Trubetskoy > grisha at modpython.org > > On Wed, 4 Oct 2000, Miguel Marques wrote: > > > On Wed, 4 Oct 2000 10:13:59 -0700, "Jeff Schenk" > <jeff.schenk at continuumnetworks.com> wrote: > > > I have built mod_python and configured and made apache, the apache > server > > > comes up fine, however I see several > > > Fatal Python error: PyThreadState_Get: no current thread > > > > > > Messages in my error_log file. Also, when I stop apache it cores. > > > > > > I am running apache 1.3.12, mod_ssl 2.6.5.1.3.12, mod_perl 1.24 and > > > mod_python 2.5 > > > I performed a static build. > > > > > > Please advise, if anyone has suggestions or has run into this problem. > > > > I have no suggestion but I'm also experiencing this problem. > > Occasionally I see all of apache's children core dump after those > > messages. > > > > I've seen the same problem (error message) mentioned in relation to an > > earlier version of wxPython. > > > > I'm running SunOS 5.7 with Apache/1.3.12, mod_python/2.5 and > > Python/1.5.2 (happens with python 1.6 too). mod_python is compiled as > > a DSO. > > A friend of mine mentioned that he has seen the same messages under > > Debian as well but I'm not sure of his versions. > > > > Miguel > > > > C. Miguel Marques, York University, Computing & Network Services > > e-mail: miguel at yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830 > > > > > > _______________________________________________ > > Mod_python mailing list > > Mod_python at modpython.org > > http://www.modpython.org/mailman/listinfo/mod_python > > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|