[Trac] apache core dump with mod_python, segfault in PyDict_GetItem
Georg
gwk.rko at googlemail.com
Fri Jul 7 02:11:21 CDT 2006
Hi,
I am trying to setup Trac 0.10dev (vc-refactoring branch) on RHEL 4.3,
x86_64.
RedHat provides Python 2.3.4, Apache 2.0.52-22ent, mod_python-3.1.3-5.1.
I added Subversion 1.3.2, sqlite-3.3.6, pysqlite-2.3.2,
clearsilver-0.10.3myself, installed from source.
I get a segmentation fault from httpd when running with mod_python whenever
I call up even the home page of my Trac instance. The stack trace points to
a Python dictionary routine being called from pysqlite:
...
Loaded symbols for /usr/lib/python2.3/site-packages/libsvn/_repos.so
Reading symbols from /usr/lib64/python2.3/lib-dynload/shamodule.so...done.
Loaded symbols for /usr/lib64/python2.3/lib-dynload/shamodule.so
#0 0x0000002a9bd905fc in PyDict_GetItem ()
from /etc/httpd/modules/mod_python.so
(gdb) where
#0 0x0000002a9bd905fc in PyDict_GetItem ()
from /etc/httpd/modules/mod_python.so
#1 0x0000002a9dac3037 in cache_get (self=0x2a9e81a6f0, args=Variable "args"
is not available.
)
at src/cache.c:122
#2 0x0000002a9dac1f83 in _query_execute (self=0x2a9e8171e8, multiple=0,
args=Variable "args" is not available.
)
at src/cursor.c:570
#3 0x0000002a9bd7b530 in PyObject_Call ()
from /etc/httpd/modules/mod_python.so
#4 0x0000002a9bdbbf19 in PyEval_CallObjectWithKeywords ()
from /etc/httpd/modules/mod_python.so
#5 0x0000002a9bdf6ebc in PyComplex_AsCComplex ()
...
Note that this is a 64 bit arch. Any clues?
Is anyone running pysqlite 2.3.2 successfully?
It seems to work just fine with CGI, so that's what I'm running for now.
--
Regards,
Georg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.edgewall.com/archive/trac/attachments/20060707/90185a68/attachment.html
More information about the Trac
mailing list