David Bremner <david@tethera.net> writes: > At least some of this mail data is public, but I'm not sure if the bad > threading is reproducible or not; I want to run a complete census > overnight before I reindex. > > Even if the bug is non-deterministic, it probably lives in lib/add-message.cc I have a reproducible test for this bug now http://pivot.cs.unb.ca/git?p=notmuch.git;a=shortlog;h=refs/heads/fix/thread-search I still need to analyze the mails a bit more, but it looks like at least one of the strange results is caused by multiple mail files sharing the same message-id, but with different References headers (and no In-Reply-To headers). d _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch