错误:孩子PID 6695退出信号分割故障(11) [英] Error: child pid 6695 exit signal Segmentation fault (11)

查看:161
本文介绍了错误:孩子PID 6695退出信号分割故障(11)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Django + MOD-WSGI + Apache的开发网站。而且奇怪的是,当我启动网站的所有其他功能预计在功能登录它的确定。当我尝试登录,它给了我一个500错误。

I use django + mod-wsgi + apache to develop a website. and it is strange that when i launch the website it's ok for all other function expect for login in function. when i try logging in, it gives me a 500 error.

这是错误的error_log形式:

This is the error form error_log:

[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 13:00:39 2011] [error] /usr/local/lib64/python2.6/site-packages/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'accounts.backends.EmailOrUsernameModelBackend.EmailOrUsernameModelBackend'>.
[Sat May 21 13:00:39 2011] [error]   DeprecationWarning)
[Sat May 21 05:00:39 2011] [notice] child pid 6693 exit signal Segmentation fault (11)
[Sat May 21 05:00:39 2011] [notice] child pid 6695 exit signal Segmentation fault (11)

请告诉我。谢谢

推荐答案

阅读常见原因的文档:

http://$c$c.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions#Apache_Process_Crashes
   HTTP://$c$c.google.com/p/modwsgi/wiki / ApplicationIssues

试着追查通过使用调试器:

Try and track it down by using a debugger:

http://$c$c.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB

最有可能您的登录页面会导致扩展模块中导入并使用不子间preters工作。尝试迫使该应用程序使用主跨preTER运行:

Most likely your login page causes an extension module to be imported and used that doesn't work in sub interpreters. Try forcing that application to run in the main interpreter using:

WSGIApplicationGroup %{GLOBAL}

有关详细信息,请参见上的mod_wsgi网站上的文档。

See documentation on the mod_wsgi web site for more details.

这篇关于错误:孩子PID 6695退出信号分割故障(11)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆