[Moin-user] Segmentation Fault when trying to run moin.wsgi

Gustavo Violato gustavoviolato at gmail.com
Sat Nov 23 07:19:20 EST 2013


Hello,

I'm trying to run a Moin farm on my recently installed system:

$ uname -a
Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux

I've uninstalled the default apache instalation with:

$ apt-get remove --purge apache2*

... and compiled/installed Apache 2.4 (installed in /usr/local):

$ apachectl -v
Server version: Apache/2.4.6 (Unix)

My python version is:

$ python -V
Python 2.7.3

Moinmoin was installed from source as instructed in:

http://master19.moinmo.in/InstallDocs#server

The actual install command was:

$ python setup.py install --force --record=install.log --prefix='/usr/local'

I also compiled/installed mod_wsgi/3.4 as instructed in:

https://code.google.com/p/modwsgi/wiki/QuickInstallationGuide

And, configured my Apache conf file accordingly. I can run the test.wsgi
script with succcess. When I finally try to run my moin.wsgi script, I get
a segfault.

Here is the error log for my domain:

[Fri Nov 22 08:26:56.805867 2013] [:error] [pid 27851:tid 3018517360]
2013-11-22 08:26:56,804 INFO MoinMoin.log:151 using logging configuration
read from built-in fallback in MoinMoin.log module
[Fri Nov 22 08:26:56.828045 2013] [:error] [pid 27851:tid 3018517360]
2013-11-22 08:26:56,827 INFO MoinMoin.log:157 Running MoinMoin 1.9.7
release code from /usr/local/lib/python2.7/dist-packages/MoinMoin
[Fri Nov 22 08:26:58.111596 2013] [core:error] [pid 27856:tid 3052088176]
[client --------------] End of script output before headers: moin.wsgi,
referer: -----------

Here is the apache error log:

[Fri Nov 22 08:24:17.090949 2013] [mpm_event:notice] [pid 3097:tid
3075520832] AH00489: Apache/2.4.6 (Unix) mod_wsgi/3.4 Python/2.7.3
configured -- resuming normal operations
[Fri Nov 22 08:24:17.091138 2013] [core:notice] [pid 3097:tid 3075520832]
AH00094: Command line: '/usr/local/apache2/bin/httpd -f ./conf/httpd.conf'
[Fri Nov 22 08:26:58.259406 2013] [core:notice] [pid 3097:tid 3075520832]
AH00052: child pid 27851 exit signal Segmentation fault (11)

Now, I've read some threads on mailing lists and some help pages like this:

https://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions

indicating a possible shared-library conflict. In case anyone suspects of
hardware, I've ran memtest+86 and everything seems fine.

I'm not experienced enough to debug this through the code, but maybe
someone could point me to the right direction? If I should re-install
stuff, which order should I choose? Are there any dependencies I might be
missing out? Is there a way to dump more log messages so I can track where
the segfault is happening?

Thank you very much.

-- 
*GUSTAVO OLIVEIRA VIOLATO*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20131123/012fbeb4/attachment.html>


More information about the Moin-user mailing list