update-apt-xapian-index crashed with DatabaseError in buildIndex()

Bug #629112 reported by jerrylamos
This bug affects 133 people
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: apt-xapian-index

Fresh install from Maverick daily build 20100901 booted up and got the subject crash. Probably near Beta level.

Jerry

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: apt-xapian-index 0.38ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic i686
Architecture: i386
Date: Thu Sep 2 17:05:42 2010
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index -q
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/sh
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '-q']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with DatabaseError in buildIndex()
UserGroups:

Revision history for this message
jerrylamos (jerrylamos) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

The crash looks the same as the one in bug 633003 it just has a different starting point.

Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 102, in <module>
    indexer.incrementalUpdate()
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 632, in incrementalUpdate
    return self.rebuild()
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 681, in rebuild
    self.buildIndex(dbdir, generator)
  File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 657, in buildIndex
    db.add_document(doc)
DatabaseError: Modifications failed (DatabaseOpeningError: Couldn't open base /var/lib/apt-xapian-index/index.2/postlist.tmp to write: No such file or directory), and cannot set consistent table revision numbers: Couldn't reread base A

Changed in apt-xapian-index (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
visibility: private → public
tags: added: iso-testing
Revision history for this message
Alexis Wilke (alexis-m2osw) wrote :

I've got a similar error. Mine says ".../index.3/spelling.baseA" instead.

I do have a /var/lib/apt-xapian-index/index.2/ folder, but no .../index.3/ folder.

An "ls -l /var/cache/" says:

drwxr-xr-x 3 root root 4096 2011-10-09 07:42 apt-xapian-index

which means the process needs to be run by root. As far as I know that would be the case so I'm not too sure why a mkdir() would fail here.

Just in case I tried to run the script manually and go no output what so ever:

root@my-server:~# /etc/cron.weekly/apt-xapian-index
root@my-server:~#

Not only that, the index.3 folder was not created.

Revision history for this message
Alexis Wilke (alexis-m2osw) wrote :

Just in case, I have 11.04

tags: removed: bugpattern-needed
tags: added: bugpattern-written
Revision history for this message
Brian Murray (brian-murray) wrote :

This bug is still occuring as it is appearing on errors.ubuntu.com with version 0.44ubuntu5 of the package which exists in Precise.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.