Still tracking this down. The segfault is in _ctypes.so, but proving
tricky to get a bt on,
as it seems not to segfault in gdb. I think UUID was a red herring.

On 29 Sep, 03:58, Graham Dumpleton <[email protected]> wrote:
> On Wednesday, September 29, 2010, aiden bell <[email protected]> wrote:
>
> > On Sep 28, 5:26 pm, "[email protected]" <[email protected]> wrote:
> >> On Sep 28, 2010, at 11:50 AM, aiden bell wrote:> Update: It is the 
> >> mod_wsgi process crashing (by PID and LogLevel info
> >> > in apache).
> >> > Attaching gdb to the process just causes the request to hang even
> >> > after increasing
> >> > Timeout in Apache to an obscene figure.
> >> > As soon as gdb is detached, the request advances to segfault. List of
> >> > loaded
>
> >> > modules:
> >> > core_module (static)
>
> >> [snip]
>
> >> Are you really using all that stuff?
>
> >> This sure would be easier to narrow down if you removed anything you 
> >> weren't actually using...
>
> > Removed as many as didn't break apache. I think I *may* have tracked
> > it down to importing
> > the uuid module in Python. If I remove that line, the segfaults *seem*
> > to stop; But that may
> > just be correlation rather than causation. Ring true? Anyone else had
> > "import uuid" problems?
>
> If the uuid module on Python is an external C module, ie., has a .so,
> or even if it uses some, then what are the library dependencies the
> .so files have. ie., result from running:
>
>   ldd *.so
>
> on the .so for or used by uuid.
>
> Do the library versions, paths differe to what Apache httpd executable
> uses, or which are used by and PHP modules if being used, or other
> third party Pache modules.
>
> Also ensure you post your mod_wsgi configuration snippet you are
> using. Ie., WSGIDaemonProcess, WSGIProcessGroup, WSGIApplictionGroup,
> WSGIScriptAlias etc.
>
> I want to confirm you are actually running in main interpreter.
>
> Can you also try it in embedded mode if you are using daemon mode and
> verify if it occurs there as well.
>
> You should really be able to capture it in gdb if reproducible.
>
> Graham

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