Hi everyone,
I'm attempting to put together a staging system for a Pylons
application using mod_wsgi. The environment is a bit special: I am
running RHEL4, Apache 2.0, with a Python2.4 installation in
/usr/local/python that wasn't built with a shared library. I'm using
virtualenv to keep the staging system isolated.
After following the installation istructions and tips for segfaulting
mod_wsgi, I'm still seeing segfaults on any request in both process
and daemon mode when running code from my virtualenv. The "Hello
World" WSGI app works fine.
Unfortunately, I don't have debugging symbols on my python or httpd
builds.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229816928 (LWP 7031)]
0x00bc024f in PyString_FromString (str=0x0) at
Objects/stringobject.c:106
106 Objects/stringobject.c: No such file or directory.
in Objects/stringobject.c
(gdb) bt
#0 0x00bc024f in PyString_FromString (str=0x0) at Objects/stringobject.c:106
#1 0x00c17aaa in PyModule_AddStringConstant (m=0xad1a95fc, name=0x881fa0
"XML_ERROR_UNDECLARING_PREFIX", value=0x0) at Python/modsupport.c:589
#2 0x00865964 in ?? ()
#3 0xad1a95fc in ?? ()
#4 0x00881fa0 in ?? ()
#5 0x00000000 in ?? ()
Is mod_wsgi a lost cause with a static python and virtualenv, or is it
possible I've screwed something up?
Ross
--
Ross Vandegrift
[email protected]
"If the fight gets hot, the songs get hotter. If the going gets tough,
the songs get tougher."
--Woody Guthrie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---