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 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch