I can replicate this SEGV by just doing:

   import ctypes

in a wsgi script using just what comes with Fedora 13.

>From what I can tell right off the bat, it looks like this may be an SELinux
permissions problem.  I'm seeing httpd creating temporary files under
/tmp, /var/tmp, and /dev/shm and and then trying to execute them --
which SELinux is preventing. I don't know yet if this is due to ctypes.

By chance are you running with SLinux in enforcing mode?  Use:

  # sestatus


FYI about versions...

The mod_wsgi packaged with Fedora 13 is 3.1. Since you're using 3.2, I assume
you've compiled from source   By the way, Fedora 14 which is due in a month
is set to ship with mod_wsgi 3.2 as well as Python 2.7.

The Python uuid module potentially has a lot of crazy external dependencies,
most of which are determined at run-time (import time). Under Fedora, it
will use the ctypes module to load in the shared library libuuid.so.1
(which is either under /lib64 or /lib depending on your cpu).  So, importing
uuid will import and invoke ctypes.

-- 
Deron Meranda
http://deron.meranda.us/

-- 
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.

Reply via email to