Hi, I'm using notmuch since a while to index my mail. Since a few days I'm getting a segmentation fault when search my mails. This happened to my when tagging my mails based on a search query. I believe this happened when I upgraded my osx before some days. I removed already my whole index and index my mails only with 'notmuch new' without any other tags. I used valgrind to get a stack where or how the segmentation fault occurs. Not sure if this is a good way.... Anyway here is the output. Maybe you can help me to find a way to fix that to get my index up and running. Versions about notmuch and xapian can be found in the stack below. thx Marko 18:26:20 % valgrind notmuch count to:mb@datameer.com and not foobar ==35130== Memcheck, a memory error detector ==35130== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==35130== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==35130== Command: notmuch count to:mb@datameer.com and not foobar ==35130== --35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times) --35130-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times) ==35130== Invalid read of size 8 ==35130== at 0x10069E802: AndNotPostList::get_weight() const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib) ==35130== by 0x1006B06C0: SelectPostList::get_weight() const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib) ==35130== by 0x1006A6C72: MultiMatch::get_mset(unsigned int, unsigned int, unsigned int, Xapian::MSet&, Xapian::Weight::Internal&, Xapian::MatchDecider const*, Xapian::KeyMaker const*) (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib) ==35130== by 0x1005CC982: Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib) ==35130== by 0x1005CDE66: Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const (in /usr/local/Cellar/xapian/1.4.13/lib/libxapian.30.dylib) ==35130== by 0x1000F2B83: _notmuch_query_count_documents (in /usr/local/Cellar/notmuch/0.29.2/lib/libnotmuch.5.2.0.dylib) ==35130== by 0x100007375: print_count (in /usr/local/bin/notmuch) ==35130== by 0x100007284: notmuch_count_command (in /usr/local/bin/notmuch) ==35130== by 0x100004F06: main (in /usr/local/bin/notmuch) ==35130== Address 0x0 is not stack'd, malloc'd or (recently) free'd --- Marko Bauhardt https://keybase.io/mbauhardt GPG Key ID: 53192101 GPG Fingerprint: DC0F E851 82A3 72E3 7FE1 ACDB 970C FD47 5319 2101 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch