Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7103 closed defect (duplicate)

SubversionException: ("Can't set position pointer in file '/var/svn/db/revs/5275': Invalid argument", 22)

Reported by: mikhail.b@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: version control Version:
Severity: normal Keywords: svn
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /timeline, Trac issued an internal error.

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

System Information

Trac 0.11b2
Python 2.4.4 (#1, Apr 11 2008, 01:52:52)
[GCC 4.1.1 (Gentoo 4.1.1-r3)]
setuptools 0.6c6
SQLite 3.3.17
pysqlite 2.3.3
Genshi 0.4.3
Subversion 1.4.6 (r28521)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 419, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 172, in dispatch
    chosen_handler)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 285, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/versioncontrol/api.py", line 79, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/versioncontrol/cache.py", line 192, in sync
    for path,kind,action,bpath,brev in cset.get_changes():
  File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/versioncontrol/svn_fs.py", line 874, in get_changes
    root = fs.revision_root(self.fs_ptr, self.rev, pool())
  File "/usr/lib/python2.4/site-packages/libsvn/fs.py", line 218, in svn_fs_revision_root
    return apply(_fs.svn_fs_revision_root, args)
SubversionException: ("Can't set position pointer in file '/var/svn/db/revs/5275': Invalid argument", 22)

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 16 years ago

Component: generalversion control
Keywords: svn added
Resolution: duplicate
Status: newclosed

See #5709:

… By using the same apr & apr-util from httpd, this issue could be fixed.

And #2920, in particular 2920#comment:9.

comment:2 by anonymous, 16 years ago

Resolution: duplicate
Status: closedreopened
Version: 0.11b2

Our configuration: apache-2.2.8 subversion-1.4.6 apr-1.2.12 apr-util-1.2.12

Now error is:

Trac detected an internal error: SubversionException: ("Can't set position pointer in file '/var/svn/db/revs/5274': Invalid argument", 22)

comment:3 by Christian Boos, 16 years ago

Resolution: duplicate
Status: reopenedclosed

Fine, but I said you should look in particular at comment 9:

Using Gentoo, … ran ldd against the binaries, but they all showed the same apr,apr-util version. Finally I recompiled apr apr-util & apache too, and this solved the problem.

So, I guess we can't recompile Apache and Subversion for you. If you're having trouble with your Linux distribution, we can't fix that either. Either report the problem to your Linux distributor, or switch to another distribution (or to Windows, where the installation is just a few clicks away).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.