Description of problem: A bug in Xapian causes notmuch to crash. There is an upstream fix in commit f92e2a936c159209398bb85a61ee1ae7d0bc635a (https://github.com/xapian/xapian/commit/f92e2a936c159209398bb85a61ee1ae7d0bc635a) that should fix this issue. The fix is scheduled for 1.4.6, could it please be included as a patch for the current Xapian version in Fedora 28, as notmuch is currently unusable due to this? The bug report for notmuch is: https://bugzilla.redhat.com/show_bug.cgi?id=1546162 Version-Release number of selected component (if applicable): dnf list installed|grep xapian xapian-core.x86_64 1.4.5-4.fc28 @fedora xapian-core-devel.x86_64 1.4.5-4.fc28 @fedora xapian-core-libs.x86_64 1.4.5-4.fc28 @fedora How reproducible: Everytime. Steps to Reproduce: 1. Install & setup notmuch 2. Run notmuch new Actual results: Notmuch crashes with: /usr/include/c++/8/bits/stl_vector.h:1010: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::front() [with _Tp = Xapian::Internal::MSetItem; _Alloc = std::allocator<Xapian::Internal::MSetItem>; std::vector<_Tp, _Alloc>::reference = Xapian::Internal::MSetItem&]: Assertion '__builtin_expect(!this->empty(), true)' failed. Aborted (core dumped) Expected results: Notmuch should not crash. Additional info:
Created attachment 1441609 [details] This is the patch file of the mentioned upstream commit.
What is the release schedule for 1.4.6?
> What is the release schedule for 1.4.6? Sorry, don't know that.
I just tried rebuilding Xapian with the mentioned patch applied and it turns out, the patch cannot be applied, as the file that was being patched didn't exist in 1.4.5 yet! I am sorry for causing such a ruckus, since I have my doubts whether this is actually caused by Xapian or by notmuch itself.
0.27-1.fc{27,28,29} is now available in the Fedora repositories. While this bug still exists in Xapian and 1.4.6 is still yet to be released, notmuch is no longer broken due to this issue and this ticket can be closed.
We have a 1.4.6 and I'll be pushing updates shortly.
xapian-bindings-1.4.6-1.fc28 xapian-core-1.4.6-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3ecacade34
xapian-bindings-1.4.6-1.fc27 xapian-core-1.4.6-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-62394ac295
xapian-bindings-1.4.6-1.fc27, xapian-core-1.4.6-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-62394ac295
xapian-bindings-1.4.6-1.fc28, xapian-core-1.4.6-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3ecacade34
xapian-bindings-1.4.6-1.fc27, xapian-core-1.4.6-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
xapian-bindings-1.4.6-1.fc28, xapian-core-1.4.6-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.