[Python-apps-team] Bug#581626: trac: Trac crashes with SystemError in tupleobject.c

anatoly techtonik at php.net
Fri May 14 11:29:24 UTC 2010


Package: trac
Version: 0.11.7-3~bpo50+1
Severity: normal

The crash happens occasionally on random pages. Upon page reshresh bug vanishes, but it appear on a different 
page some time later. I.e. it is bohrbug. Running Trac under modwsgi in daemon mode and user trac.  I am 
reporting only two cases that happened during the timespan of aproximately 15 minutes of active use. 

https://trac.somesite.com/changeset/13307
https://trac.somesite.com/browser/trunk/lib/Job.php

2010-05-13 09:05:17,697 Trac[main] DEBUG: Dispatching <Request "GET 
u'/browser/trunk/lib/Job.php'">
2010-05-13 09:05:19,538 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/changeset.py", line 321, in process_request
    self._render_html(req, repos, chgset, restricted, xhr, data)
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/changeset.py", line 544, in _render_html
    for old_node, new_node, kind, change in get_changes():
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/changeset.py", line 362, in get_changes
    for npath, kind, change, opath, orev in chgset.get_changes():
  File "/usr/lib/python2.5/site-packages/trac/versioncontrol/cache.py", line 363, in get_changes
    "ORDER BY path", (str(self.rev),))
  File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 64, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 81, in execute
    self.rows = PyFormatCursor.fetchall(self)
SystemError: ../Objects/tupleobject.c:118: bad argument to internal function
2010-05-13 09:05:19,700 Trac[session] DEBUG: Retrieving session for ID u'daim'
2010-05-13 09:05:19,702 Trac[perm] DEBUG: No policy allowed dima performing EMAIL_VIEW on None
2010-05-13 09:05:20,501 Trac[chrome] DEBUG: Prepare chrome data for request
2010-05-13 09:05:20,534 Trac[perm] DEBUG: No policy allowed dima performing TRAC_ADMIN on None
2010-05-13 09:05:20,785 Trac[perm] DEBUG: No policy allowed dima performing PERMISSION_GRANT on None
2010-05-13 09:05:20,861 Trac[perm] DEBUG: No policy allowed dima performing PERMISSION_REVOKE on None
2010-05-13 09:05:20,871 Trac[perm] DEBUG: No policy allowed dima performing TICKET_ADMIN on None
2010-05-13 09:05:20,872 Trac[perm] DEBUG: No policy allowed dima performing BUILD_ADMIN on None
2010-05-13 09:05:20,873 Trac[perm] DEBUG: No policy allowed dima performing BUILD_MODIFY on None
2010-05-13 09:05:20,880 Trac[browser] DEBUG: Rendering preview of node Job.php at 13302 with mime-type text/x-php; 
charset=UTF-8
2010-05-13 09:05:20,881 Trac[api] DEBUG: Trying to render HTML preview using PygmentsRenderer [lineno]


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages trac depends on:
ii  python                       2.5.2-3     An interactive high-level object-o
ii  python-central               0.6.14+nmu2 register and build utility for Pyt
ii  python-genshi                0.5.1-1     Python XML-based template engine
ii  python-setuptools            0.6.10-3    Python Distutils Enhancements (set

Versions of packages trac recommends:
ii  apache [httpd]          1.3.34-4.1+etch1 versatile, high-performance HTTP s
ii  apache2-mpm-prefork [ht 2.2.14-2         Apache HTTP Server - traditional n
ii  libjs-jquery            1.2.6-2          JavaScript library for dynamic web
ii  lighttpd [httpd]        1.4.19-5+lenny1  A fast webserver with minimal memo
ii  python-pygments         1.3+dfsg-1       syntax highlighting package writte
ii  python-subversion       1.6.9dfsg-1      Python bindings for Subversion
ii  python-tz               2010b-1          Python version of the Olson timezo

Versions of packages trac suggests:
ii  libapache2-mod-wsgi        2.8-1~bpo50+1 Python WSGI adapter module for Apa
ii  python-docutils            0.5-2+lenny1  Utilities for the documentation of
ii  python-textile             2.10-3.1.2    Python parser for the Textile mark
ii  trac-accountmanager        0.2.1+r7163-1 account management plugin for Trac
pn  trac-authopenid            <none>        (no description available)
ii  trac-bitten                0.6b2.dfsg-3  continuous integration plugin for 
pn  trac-bzr                   <none>        (no description available)
pn  trac-customfieldadmin      <none>        (no description available)
pn  trac-email2trac            <none>        (no description available)
pn  trac-git                   <none>        (no description available)
pn  trac-graphviz              <none>        (no description available)
pn  trac-ja-resource           <none>        (no description available)
pn  trac-mastertickets         <none>        (no description available)
pn  trac-mercurial             <none>        (no description available)
pn  trac-spamfilter            <none>        (no description available)
pn  trac-wikiprint             <none>        (no description available)
pn  trac-wikirename            <none>        (no description available)
pn  trac-wysiwyg               <none>        (no description available)
pn  trac-xmlrpc                <none>        (no description available)

-- no debconf information





More information about the Python-apps-team mailing list