On 16 October 2011 21:55, pbzRPA <[email protected]> wrote: > Well I thought the problem was gone but it is not. After restarting > the server I now have a blank page show up in the browser and "child > pid XXX exit signal Segmentation fault (11) " in the error.log file. > > I have tried using the gdb debugger that they suggest you use on the > mod_wsgi site but it simply does not work on my server (not sure if > their instructions are old). I do not have a httpd command to attach > gdb to. Is there no other way to try and see what is causing the > problem? I must admit these on days like these I wish I was not > running a linux server. > > Graham, I am not sure if you are the one that replied to this post > http://www.mail-archive.com/[email protected]/msg06687.html but > it is exactly the same problem as what I am having.
They may have been also getting segmentation fault, but unlikely to be the same root cause. There are many many reasons stuff can crash. For debugging, suggest you setup mod_wsgi in daemon mode with default of a single process. Name the process using display-name option to WSGIDaemonProcess so can easily identify the process using 'ps'. Attach gdb to the daemon process by pid as explained in documentation. Trigger request to crash and get the stack traces. In other words, you haven't read far enough through the documentation for other ways to use debugger. This presumes you are talking about: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB Read from: """Note that you should ensure that you have not assigned your WSGI application to run in a mod_wsgi daemon process using the WSGIDaemonProcess and WSGIProcessGroup directives. This is because the above procedure will only catch crashes which occur when the application is running in embedded mode. If it turns out that the application only crashes when run in mod_wsgi daemon mode, an alternate method of using 'gdb' will be required.""" in the document. Graham > Regards. > > -- > 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. > > -- 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.
