Modify ↓
Opened 18 years ago
Closed 18 years ago
#5293 closed defect (duplicate)
TypeError and Segfault when switch to SSL URL.
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | devel |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Using Trac r5354 with Apache2.0.58, mod_python 3.2.10, and subversion 1.3.2 in Gentoo Linux,
- access http://hostname/trac/ → OK
- access https://hostname/trac/ → Internal Server Error
- reload https, got blank page several time.
- after several blank page, https page works properly.
- back to http://hostname/trac/ (Non SSL) → Internal Server Error
My httpd.conf:
<IfModule mod_python.c> <Location /trac> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/trac/fso PythonOption TracUriRoot /trac SetEnv PYTHON_EGG_CACHE /var/trac/.tmp </Location> </IfModule>
Traceback in apache log:
[Thu May 10 03:16:57 2007] [notice] child pid 16555 exit signal Segmentation fault (11) [Thu May 10 03:17:00 2007] [notice] child pid 16585 exit signal Segmentation fault (11) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/web/modpython_frontend.py", line 91, in handler\n gateway.run(dispatch_request) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/web/wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/web/main.py", line 416, in dispatch_request\n env = _open_environment(env_path, run_once=run_once) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/web/main.py", line 64, in _open_environment\n env_cache[env_path] = open_environment(env_path) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/env.py", line 512, in open_environment\n env = Environment(env_path) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/env.py", line 169, in __init__\n load_components(self, plugins_dir and (plugins_dir,)) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/loader.py", line 107, in load_components\n loadfunc(env, search_path, auto_enable=plugins_dir) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/loader.py", line 65, in _load_eggs\n entry.load(require=True) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load\n entry = __import__(self.module_name, globals(),globals(), ['__name__']) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5354-py2.4.egg/trac/versioncontrol/svn_fs.py", line 63, in ?\n from svn import fs, repos, core, delta [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/svn/fs.py", line 19, in ?\n from libsvn.fs import * [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 29, in ?\n import core [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 3057, in ?\n svn_pool_create() [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4/site-packages/libsvn/core.py", line 1098, in svn_pool_create\n return apply(_core.svn_pool_create, args) [Thu May 10 03:17:06 2007] [error] [client 192.168.1.3] PythonHandler trac.web.modpython_frontend: TypeError: argument number 0: a 'apr_pool_t *' is expected, 'instance(<libsvn.core.GenericSWIGWrapper instance at 0x9f7b92c>)' is received [Thu May 10 03:17:10 2007] [notice] child pid 16701 exit signal Segmentation fault (11)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Check out TracSubversion#TracandSubversion1.3.0
Duplicate of #2611.