hi,

i have issues running some pages of trac, they simply do not load (empty
page displays in browser). i found out in apache log that the cause is
segmentation fault. here are the pages that cause seg fault:
/browser
/ticket/1 (any number)
/changeset/349%3Afd2a05fbaab3 (any changeset)

i tried to run trac using tracd and found out it crashes with seg fault
too so imo it must by python/modules related. here is my setup:
gentoo linux
www-apps/trac-0.11.5
dev-lang/python-2.6.2-r1 (python expat version is 2.0.1)
dev-python/genshi-0.5.1
dev-python/pygments-1.1.1
dev-python/docutils-0.5
dev-python/pytz-2009j
dev-python/psycopg-2.0.11 (using postgresql database)
TracMercurial 0.11.0.7 (using mercurial repository)

i also tried to debug tracd but it seems i miss debug info in python and
did not find a way how to turn it on:
# gdb /usr/bin/python
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
(gdb) run /usr/bin/tracd --env-parent-dir=/var/lib/trac/ --port 8000
Starting program: /usr/bin/python /usr/bin/tracd
--env-parent-dir=/var/lib/trac/ --port 8000
(no debugging symbols found)
Executing new program: /usr/bin/python2.6
(no debugging symbols found)
(no debugging symbols found)
Server starting in PID 538.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
[New LWP 548]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 548]
0x4e236136 in ?? ()
(gdb) bt
#0  0x4e236136 in ?? ()
#1  0x00000013 in ?? ()
#2  0x1625cbc0 in ?? ()
#3  0x16245320 in ?? ()
#4  0x4e23fc00 in ?? ()
#5  0x4df4d528 in ?? ()
#6  0x4df4d52c in ?? ()
#7  0x4e23fee0 in ?? ()
#8  0x1625cc20 in ?? ()
#9  0x00000000 in ?? ()

anyone has an idea why i get the segfaults and how to fix it? or at
least how to turn on debugging symbols for python so i could see the
cause in the stack?

thx for any help/suggestions.

miroslav

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to