Short update: Replacing pysqlite 2.3.2 by 2.0.7 makes it work :)

So I'd conclude that recent pysqlite versions might be suspicious...

--
Regards,
Georg.


2006/7/7, Georg < [EMAIL PROTECTED]>:
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.3 myself, 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.


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to