<div dir="ltr">As discussed on IRC, notmuch segfaults with 1.3.1 but not with 1.2.5 on notmuch-new:<div><br></div><div><div>Program received signal SIGSEGV, Segmentation fault.</div><div>0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so.1</div>
<div>(gdb) bt</div><div>#0 0x00007ffff75a5367 in Xapian::TermIterator::skip_to(std::string const&) () from /usr/lib64/libxapian-1.3.so.1</div><div>#1 0x00007ffff7decaa5 in _notmuch_message_get_term(_notmuch_message*, Xapian::TermIterator&, Xapian::TermIterator&, char const*) () from /usr/lib64/libnotmuch.so.3</div>
<div>#2 0x00007ffff7ded1fb in _notmuch_message_ensure_metadata(_notmuch_message*) () from /usr/lib64/libnotmuch.so.3</div><div>#3 0x00007ffff7ded535 in notmuch_message_get_message_id () from /usr/lib64/libnotmuch.so.3</div>
<div>#4 0x00007ffff7de9c11 in notmuch_database_add_message () from /usr/lib64/libnotmuch.so.3</div><div>#5 0x000000000040c610 in add_files ()</div><div>#6 0x000000000040cfbf in notmuch_new_command ()</div><div>#7 0x0000000000407a1b in main ()</div>
</div><div><br></div><div>This occurs irrespective of the state of the database or the message being added.</div></div>