From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 3F8716DE10CC for ; Thu, 27 Jun 2019 08:56:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[KHOP_DYNAMIC=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A8faNJh99lCs for ; Thu, 27 Jun 2019 08:56:17 -0700 (PDT) X-Greylist: delayed 4242 seconds by postgrey-1.36 at arlo; Thu, 27 Jun 2019 08:56:17 PDT Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by arlo.cworth.org (Postfix) with ESMTPS id 627316DE1089 for ; Thu, 27 Jun 2019 08:56:17 -0700 (PDT) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5REi3f6108012 for ; Thu, 27 Jun 2019 10:45:32 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2tcx3apw74-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 Jun 2019 10:45:31 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Jun 2019 15:45:28 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 27 Jun 2019 15:45:25 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5REjO8h58065008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 27 Jun 2019 14:45:24 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 82A64A4062; Thu, 27 Jun 2019 14:45:24 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1F577A405C; Thu, 27 Jun 2019 14:45:24 +0000 (GMT) Received: from localhost (unknown [9.199.59.170]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 27 Jun 2019 14:45:23 +0000 (GMT) Date: Thu, 27 Jun 2019 20:15:22 +0530 From: "Naveen N. Rao" Subject: Re: 'notmuch search thread:<>' lists multiple threads To: David Bremner , notmuch@notmuchmail.org References: <1523007700.l8xm6nm6af.naveen@linux.ibm.com> <87sh86v1oc.fsf@tethera.net> <878t9wvbmu.fsf@tethera.net> <1524045467.a0aq8zermb.naveen@linux.ibm.com> <87r2n8m5ky.fsf@tethera.net> <1530181883.fliclpetue.naveen@linux.ibm.com> <87zhzccrwg.fsf@tethera.net> <87d0u0nhiz.fsf@unb.ca> <1536230687.efahvzbzyt.naveen@linux.ibm.com> In-Reply-To: <1536230687.efahvzbzyt.naveen@linux.ibm.com> User-Agent: astroid/0.14.0 (https://github.com/astroidmail/astroid) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 x-cbid: 19062714-0012-0000-0000-0000032D1357 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19062714-0013-0000-0000-0000216651E2 Message-Id: <1561646623.zzt85d10l1.naveen@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-27_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906270172 X-Mailman-Approved-At: Thu, 27 Jun 2019 10:15:49 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 15:56:18 -0000 Naveen N. Rao wrote: > David Bremner wrote: >> David Bremner writes: >>=20 >>> "Naveen N. Rao" writes: >>> >>>> >>>> Were you able to look into this again? >>>> Using a list of in-reply-to values sounds like a good option, though I= =20 >>>> clearly have no idea about other consequences from that. If you have a= =20 >>>> patch, I can help test that. >>>> >>> >>> Sorry I haven't made any progress on this. Thanks for the reminder. >>> >>> d >>=20 >> It's not much progress but I did manage to make a test case. >>=20 >> id:20180730224555.26047-16-david@tethera.net >>=20 >> As it says in the commit message, its not 100% clear this is your >> problem, but it is a bug, and hopefully fixing it will help your issue. >=20 > Thanks for continuing to look into this! >=20 > The test is close to what I have -- the only difference in my case is=20 > that the Message-ID and References: fields match in the duplicate mail=20 > files, but just the In-reply-to headers differ (the gmane one has a=20 > meaningless/incorrect, re-written header). >=20 > Interestingly though, I re-checked the thread I had the original problem=20 > with and notmuch seems to be able to cope with it better now. So, some=20 > other changes seem to have helped with my original problem. I will keep=20 > an eye out to see if any other threads cause problems (I do occasionally=20 > see astroid crash, but I haven't seen if it is due to this issue with=20 > notmuch or a different problem). >=20 > [09/06 16:19:19 ~]$ notmuch --version > notmuch 0.27 > [09/06 16:19:20 ~]$ notmuch search --output=3Dthreads thread:0000000000= 0c4d20 > thread:00000000000c4d20 > [09/06 16:19:22 ~]$ notmuch search --output=3Dthreads thread:0000000000= 0c4d1e > thread:00000000000c4d1e > [09/06 16:19:26 ~]$ notmuch search --output=3Dmessages thread:000000000= 00c4d20 > id:20180813154910.lzrkd2ivdorge3ro@arbab-laptop.localdomain > id:CAKTCnzngahex_sL2raoHFuXqTxgVV7a57R9YmcT1TN-ROsFXnw@mail.gmail.com > id:CAOSf1CFy0im+H368Krr2QVteAumq58CRF_Kfatyv7wvj1n4AGw@mail.gmail.com > id:20180405071500.22320-4-bsingharora@gmail.com > id:20180405071500.22320-3-bsingharora@gmail.com > id:20180405071500.22320-2-bsingharora@gmail.com > id:20180405071500.22320-1-bsingharora@gmail.com > [09/06 16:19:35 ~]$ notmuch search --output=3Dmessages thread:000000000= 00c4d1e > id:CAKTCnzngahex_sL2raoHFuXqTxgVV7a57R9YmcT1TN-ROsFXnw@mail.gmail.com I've since moved away from Gmane and using public-inbox now and things=20 have been good all this while. Today, however, I hit this issue again. =20 I pull archives from lkml and linuxppc-dev and this thread is pulled in=20 from both those places, as well as from my local IMAP sent folder: https://lore.kernel.org/linuxppc-dev/cover.1561634177.git.naveen.n.rao@linu= x.vnet.ibm.com/T/#t https://lore.kernel.org/lkml/cover.1561634177.git.naveen.n.rao@linux.vnet.i= bm.com/T/#t [06/27 19:56:07 ~]$ notmuch search -- tag:ppcdev and date:today and from:na= veen thread:00000000000e364b Today 16:57 [1/1(3)] Naveen N. Rao; [PATCH v2 2/7]= x86/ftrace: Fix use of flags in ftrace_replace_code() (imap inbox lkml ppc= dev sent) thread:00000000000e364d Today 16:53 [8/11(31)] Naveen N. Rao| Steven Roste= dt, Masami Hiramatsu; [PATCH v2 7/7] powerpc/kprobes: Allow probing on any = ftrace address (imap inbox lkml new ppcdev replied sent unread) thread:00000000000e3636 Today 15:29 [1/1(2)] Naveen N. Rao; [PATCH] powerp= c/xmon: Fix disabling tracing while in xmon (imap inbox ppcdev) thread:00000000000e357e Today 00:08 [1/4(12)] Naveen N. Rao| Michael Eller= man, Satheesh Rajendran, Steven Rostedt; [PATCH] recordmcount: Fix spurious= mcount entries on powerpc (imap inbox lkml ppcdev) [06/27 19:56:09 ~]$=20 [06/27 19:56:14 ~]$ notmuch search --output=3Dfiles -- thread:00000000000e3= 64b /home/naveen/news/news/ltcimap/Sent/cur/1561634919_0.18171.naverao1-tp,U=3D= 1356,FMD5=3D7f8c0283f16925caed8e632086b81b9c:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223040 /home/naveen/news/news/lore.kernel.org/lkml/7/120234 [06/27 19:56:34 ~]$ notmuch search --output=3Dfiles -- thread:00000000000e3= 64d /home/naveen/news/news/ltcimap/INBOX/new/1561645220_0.8024.naverao1-tp,U=3D= 151133,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2, /home/naveen/news/news/ltcimap/INBOX/cur/1561643871_0.8024.naverao1-tp,U=3D= 151132,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223042 /home/naveen/news/news/lore.kernel.org/lkml/7/120325 /home/naveen/news/news/ltcimap/Sent/cur/1561634919_0.18171.naverao1-tp,U=3D= 1356,FMD5=3D7f8c0283f16925caed8e632086b81b9c:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223040 /home/naveen/news/news/lore.kernel.org/lkml/7/120234 /home/naveen/news/news/ltcimap/INBOX/cur/1561634683_0.18171.naverao1-tp,U= =3D151129,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223038 /home/naveen/news/news/lore.kernel.org/lkml/7/120225 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_6.18171.naverao1-tp,U= =3D151128,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223039 /home/naveen/news/news/lore.kernel.org/lkml/7/120224 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_5.18171.naverao1-tp,U= =3D151127,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223037 /home/naveen/news/news/lore.kernel.org/lkml/7/120223 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_0.18171.naverao1-tp,U= =3D151126,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223036 /home/naveen/news/news/lore.kernel.org/lkml/7/120222 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_4.18171.naverao1-tp,U= =3D151125,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223035 /home/naveen/news/news/lore.kernel.org/lkml/7/120221 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_1.18171.naverao1-tp,U= =3D151124,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,RS /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223034 /home/naveen/news/news/lore.kernel.org/lkml/7/120220 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_3.18171.naverao1-tp,U= =3D151123,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223033 /home/naveen/news/news/lore.kernel.org/lkml/7/120219 /home/naveen/news/news/ltcimap/INBOX/cur/1561634682_2.18171.naverao1-tp,U= =3D151122,FMD5=3D7e33429f656f1e6e9d79b29c3f82c57e:2,S /home/naveen/news/news/lore.kernel.org/linuxppc-dev/0/223031 /home/naveen/news/news/lore.kernel.org/lkml/7/120218 - Naveen =