Hi everybody,
I've been running a Trac install for about a month on multiple
repositories just using tracd and it's been working fine. Then, a few
days ago, it crashed. I restarted, and worked for a while. Then
crashed again, and then again, etc. Now it seems to serve up a couple
pages then crash. And it's never totally consistent, sometimes it'll
crash on a wiki page, sometimes not...the only consistent part is I
haven't been able to see the svn revision log page on any project
since this started.
So I've tried a bunch of things, to no avail. Simplifying it down to 1
project and the error still occurs. The logs in the project folders (I
turned logging on at the highest level) don't seem to show anything.
When I run it not as a daemon, it says it has had a segmentation
fault, but nothing more.
I've now run it under gdb:
$ gdb $(which python)
(gdb) run /opt/trac-0.10/scripts/tracd -p 8080 /srv/trac/yourproject
It still fails, and outputs this little bit:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213224016 (LWP 7891)]
SWIG_Python_NewPointerObj (ptr=0x8797dc0, type=0x0, own=0) at /usr/
local/share/swig/1.3.24/python/pyrun.swg:226
226 {
Typing "bt" to get a backtrace (I'm a gdb nuby), I get this (here's
the whole, long thing):
#0 SWIG_Python_NewPointerObj (ptr=0x8ce5dc0, type=0x0, own=0) at /usr/
local/share/swig/1.3.24/python/pyrun.swg:226
#1 0x002e2065 in make_pointer (typename=0x2e4aed "svn_fs_root_t *",
ptr=0x8ce5dc0) at /usr/local/share/swig/1.3.24/runtime.swg:19
#2 0x0042ba3f in Py_InitModule4 () from /usr/lib/libpython2.3.so.1.0
#3 0x0042bb05 in Py_InitModule4 () from /usr/lib/libpython2.3.so.1.0
#4 0x0042bbe9 in Py_VaBuildValue () from /usr/lib/libpython2.3.so.1.0
#5 0x003bc737 in PyObject_CallFunction () from /usr/lib/
libpython2.3.so.1.0
#6 0x002e3f82 in svn_swig_py_repos_authz_func (allowed=0xb7aa8e94,
root=0x8ce5dc0, path=0xb7c5cb54 "/", baton=0xb6fb2e2c, pool=0x8cddd68)
at /root/subversion-1.2.1/subversion/bindings/swig/python/
libsvn_swig_py/swigutil_py.c:1521
#7 0x00c3f890 in svn_repos_history2 (fs=0x8cd39e8, path=0xb7c5cb54
"/", history_func=0x2e4038 <svn_swig_py_repos_history_func>,
history_baton=0xb6fb2dbc,
authz_read_func=0x2e3f1c <svn_swig_py_repos_authz_func>,
authz_read_baton=0xb6fb2e2c, start=45, end=45, cross_copies=1,
pool=0x8cddd68)
at subversion/libsvn_repos/rev_hunt.c:238
#8 0x00714d7a in _wrap_svn_repos_history2 (self=0x0, args=0xb6fb2e2c)
at subversion/bindings/swig/python/svn_repos.c:2669
#9 0x003df961 in PyCFunction_Call () from /usr/lib/libpython2.3.so.
1.0
#10 0x004124ec in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#11 0x004143a2 in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
#12 0x003bc3cf in PyIter_Next () from /usr/lib/libpython2.3.so.1.0
#13 0x0040f6d2 in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#14 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#15 0x00412d69 in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#16 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#17 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#18 0x003cfe6e in PyFunction_SetClosure () from /usr/lib/
libpython2.3.so.1.0
#19 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#20 0x003c3dc8 in PyMethod_New () from /usr/lib/libpython2.3.so.1.0
#21 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#22 0x003f493c in _PyObject_SlotCompare () from /usr/lib/
libpython2.3.so.1.0
#23 0x003edd1c in PyType_IsSubtype () from /usr/lib/libpython2.3.so.
1.0
#24 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#25 0x00411b4f in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#26 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#27 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#28 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#29 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#30 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#31 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#32 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#33 0x003cfe6e in PyFunction_SetClosure () from /usr/lib/
libpython2.3.so.1.0
#34 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#35 0x003c3dc8 in PyMethod_New () from /usr/lib/libpython2.3.so.1.0
#36 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#37 0x003f4235 in _PyObject_SlotCompare () from /usr/lib/
libpython2.3.so.1.0
#38 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#39 0x00411b4f in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#40 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#41 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#42 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#43 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#44 0x003cfe6e in PyFunction_SetClosure () from /usr/lib/
libpython2.3.so.1.0
#45 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#46 0x003c3dc8 in PyMethod_New () from /usr/lib/libpython2.3.so.1.0
#47 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#48 0x0040e180 in PyEval_CallObjectWithKeywords () from /usr/lib/
libpython2.3.so.1.0
#49 0x003bfacb in PyInstance_New () from /usr/lib/libpython2.3.so.1.0
#50 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#51 0x00411b4f in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#52 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#53 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#54 0x003cfe6e in PyFunction_SetClosure () from /usr/lib/
libpython2.3.so.1.0
#55 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#56 0x00411968 in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#57 0x0041395b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.
1.0
#58 0x00414076 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.
1.0
#59 0x003cfe6e in PyFunction_SetClosure () from /usr/lib/
libpython2.3.so.1.0
#60 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#61 0x003c3dc8 in PyMethod_New () from /usr/lib/libpython2.3.so.1.0
#62 0x003bc637 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#63 0x0040e180 in PyEval_CallObjectWithKeywords () from /usr/lib/
libpython2.3.so.1.0
#64 0x00436052 in _PyObject_GC_Del () from /usr/lib/libpython2.3.so.
1.0
#65 0x00b55371 in start_thread () from /lib/tls/libpthread.so.0
#66 0x00a9dffe in clone () from /lib/tls/libc.so.6
My specs are:
- Centos 4.x
- Trac 0.10.3
- Python 2.3.4
- SVN 1.2.1
- swig 1.3.24
Not sure what else is needed...any advice would be amazing, I've been
tearing my hair out over this, as it seems so strange that it was
working one day and not another.
And I have tried running it as a CGI, and get similar
situations..though it seems harder to debug, as I don't get anything
useful in the web browser (only "misconfiguration..blah blah"), and my
apache error log also doesn't seem to show much of anything either.
Thanks in advance!
Cameron
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---