unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [Pablo Oliveira] Bug#745303: notmuch new corrupts database throwing 'Xapian::DatabaseCorruptError'
@ 2014-04-20 11:12 David Bremner
  0 siblings, 0 replies; only message in thread
From: David Bremner @ 2014-04-20 11:12 UTC (permalink / raw)
  To: notmuch


[-- Attachment #0: Type: message/rfc822, Size: 7141 bytes --]

From: Pablo Oliveira <pablo@sifflez.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#745303: notmuch new corrupts database throwing 'Xapian::DatabaseCorruptError'
Date: Sun, 20 Apr 2014 12:27:15 +0200
Message-ID: <20140420102715.7745.23944.reportbug@ix>

Package: notmuch
Version: 0.17-5+b1
Severity: normal

Dear Maintainer,

I'm using an offlineimap postsynchook to index my mail with `notmuch new`.
Twice this week, the following error was thrown:

    Hook stderr:terminate called after throwing an instance of 'Xapian::DatabaseCorruptError'
    /home/poliveira/bin/index-mail: line 2:  7613 Aborted
    notmuch new

Afterwards, running `notmuch new` produces the following output:

    notmuch new
    Welcome to a new version of notmuch! Your database will now be upgraded.
    Your notmuch database has now been upgraded to database format version 1.
    A Xapian exception occurred adding message: No termlist for document 70352.
    Error: A Xapian exception occurred. Halting processing.
    Processed 1 file in almost no time.
    No new mail.
    Note: A fatal error was encountered: A Xapian exception occurred

Yet notmuch was not recently updated on my system.
All further notmuch commands fail with:
    notmuch search tag:spam
    terminate called after throwing an instance of 'Xapian::DatabaseCorruptError'
    Aborted

To restore a working system I must dump notmuch tags, reindex all my
mail, and restore the tags. (Which is pretty long, since I keep
a large amount of mails).

Apart from notmuch, two other clients access the notmuch database:
    * emacs-notmuch
    * afew (9744c18c)

Thanks,

Pablo

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages notmuch depends on:
ii  libc6           2.18-4
ii  libglib2.0-0    2.40.0-2
ii  libgmime-2.6-0  2.6.19-3
ii  libnotmuch3     0.17-5+b1
ii  libtalloc2      2.1.0-1

Versions of packages notmuch recommends:
ii  gnupg-agent    2.0.22-3
ii  notmuch-emacs  0.17-5

notmuch suggests no packages.

-- no debconf information

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-20 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-20 11:12 [Pablo Oliveira] Bug#745303: notmuch new corrupts database throwing 'Xapian::DatabaseCorruptError' David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).