unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Matt <mattator@gmail.com>
To: notmuch@notmuchmail.org
Subject: crash after running notmuch new
Date: Tue, 7 Apr 2020 14:12:46 +0200	[thread overview]
Message-ID: <CADHp1NwBE_9y6BiK6DubZr_939YDTxy+Z38=bOYyxFTqsSp-wQ@mail.gmail.com> (raw)

hi,

I have a script that runs mbsync followed by notmuch new.
It ends with `terminate called after throwing an instance of
'Xapian::DatabaseCorruptError`.

Any idea what could cause this. Here is a trace without symbols thoug
====
#0  0x00007f1cb90d315a in raise () from
/nix/store/9rabxvqbv0vgjmydiv59wkz768b5fmbc-glibc-2.30/lib/libc.so.6
#1  0x00007f1cb90bd548 in abort () from
/nix/store/9rabxvqbv0vgjmydiv59wkz768b5fmbc-glibc-2.30/lib/libc.so.6
#2  0x00007f1cb8d3e643 in ?? () from
/nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6
#3  0x00007f1cb8d4a066 in ?? () from
/nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6
#4  0x00007f1cb8d4a0b1 in std::terminate() () from
/nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6
#5  0x00007f1cb8d4a336 in __cxa_rethrow () from
/nix/store/lzyjivyzrp6agilxhgh0h40pwwg18agy-gcc-9.2.0-lib/lib/libstdc++.so.6
#6  0x00007f1cb8ec1f08 in
Xapian::TermIterator::TermIterator(Xapian::TermIterator::Internal*)
[clone .cold] ()
   from /nix/store/5afyzmgp6rsn1digmh1hf47g7ppwp25v-xapian-1.4.15/lib/libxapian.so.30
#7  0x00007f1cb8ef9546 in
Xapian::Database::allterms_begin(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) const () from
/nix/store/5afyzmgp6rsn1digmh1hf47g7ppwp25v-xapian-1.4.15/lib/libxapian.so.30
#8  0x00007f1cb94a81bf in
_create_filenames_for_terms_with_prefix(void*, _notmuch_database*,
char const*) [clone .isra.0] ()
   from /nix/store/f4jm5j94pamm5xkbqrk1r70zjvjn0mch-notmuch-0.29.3/lib/libnotmuch.so.5
#9  0x00007f1cb94a8395 in notmuch_directory_get_child_directories ()
   from /nix/store/f4jm5j94pamm5xkbqrk1r70zjvjn0mch-notmuch-0.29.3/lib/libnotmuch.so.5
#10 0x00000000004105df in add_files ()
#11 0x000000000040fe9e in add_files ()
#12 0x000000000040fe9e in add_files ()
#13 0x000000000040fe9e in add_files ()
#14 0x0000000000411693 in notmuch_new_command ()
===

Cheers

             reply	other threads:[~2020-04-07 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 12:12 Matt [this message]
2020-04-07 13:03 ` crash after running notmuch new David Bremner
2020-04-07 13:32   ` Matt
2020-04-07 20:21     ` David Bremner
2020-04-07 22:19       ` Olly Betts
2020-04-11 13:18         ` Matt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADHp1NwBE_9y6BiK6DubZr_939YDTxy+Z38=bOYyxFTqsSp-wQ@mail.gmail.com' \
    --to=mattator@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).