From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Rp8aBpE4omD/CwAAgWs5BA (envelope-from ) for ; Mon, 17 May 2021 11:34:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MEkrAZE4omBJdgAAB5/wlQ (envelope-from ) for ; Mon, 17 May 2021 09:34:09 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45C7C1F002 for ; Mon, 17 May 2021 11:34:08 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D2E6F2A9D9; Mon, 17 May 2021 05:34:01 -0400 (EDT) Received: from mailproxy02.manitu.net (mailproxy02.manitu.net [217.11.48.66]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5ED0A1FBD2 for ; Mon, 17 May 2021 05:33:58 -0400 (EDT) Received: from localhost (200116b860a416006c956b5282d264c2.dip.versatel-1u1.de [IPv6:2001:16b8:60a4:1600:6c95:6b52:82d2:64c2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: michael@grubix.eu) by mailproxy02.manitu.net (Postfix) with ESMTPSA id 6C584C00A7; Mon, 17 May 2021 11:33:56 +0200 (CEST) MIME-Version: 1.0 In-Reply-To: <20210515130507.2629859-1-david@tethera.net> References: <20210515130507.2629859-1-david@tethera.net> Subject: Re: [PATCH] test: add known broken test for duplicate thread-id terms Cc: David Bremner To: David Bremner , notmuch@notmuchmail.org From: Michael J Gruber Message-ID: <162124403391.5529.16910640491826871516.git@grubix.eu> Date: Mon, 17 May 2021 11:33:54 +0200 User-Agent: alot/0.9.1 Message-ID-Hash: OP6QF7PHRXWIGUIW4D3IA3KRY4ZYWNAK X-Message-ID-Hash: OP6QF7PHRXWIGUIW4D3IA3KRY4ZYWNAK X-MailFrom: michael@grubix.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621244048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=BfZxubLEGxOONCxZd3DWGmr0ad+bSH8nli7l2kHPZB4=; b=chuR9c73R4cTJ7ZnYvTBlL+Gl0LrwvH1ux+XY1YSmImk3I5FaJSNUQcLA7EVe4nXXC71qj 6zwyUWKvpOeEIDKGJZuZxBAhr6a7kFGYElXXbqvAqli7qX4rQJomOUeuEtWOf8Cq35jQIm Cz2exezC/anf2SVo2edp/kzyL3Eub9hZbDu5dtYzxD9uCW30rJ1xqKTt55Qqi9Ni5UApZ/ BEIZHV5VPWGq+DhqE70Fzxn6jY42MLCdpb0hnC0hQ+LHiSIot//oHC9FfSC9dTP9eClAt6 IKT6M/fwB5/mpbYXidVi6DhqBjlXLhSE3LJltUXICSWIF2vVMNQbJX1tuEqBtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621244048; a=rsa-sha256; cv=none; b=gC1rPhCeQxs9LFNskRFv0ugK5PMcpxpi+iUoHbONr0lNENzxtJi+GyslVS0A39QDyFtptK l0+iORfMGjKBSc8Z5DzOPubF6i+Ebphy9T1f6SjsomcpLYSO6akzGBvJJMfwS6CpKG3wYZ dW4zg5aSykOj6vfFifO+SIbgygviaoyJJAtG6oZS8gt8+2ag5OxBfaiTwqq9/w1MmRY/7P apURPD4sqfRsSbudSoPON7fPUWwob0hgV3IS/193oyqfahBaiRP4OpnmdK18M9tudrhG6n 9p0zV1OxQDctOuBBX0Ow1fD0jwX/26ZMI6BbfDLKOnfmhBFrYYyfPOpDMJZmlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 45C7C1F002 X-Spam-Score: -1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0OO6fIEAoWbl David Bremner venit, vidit, dixit 2021-05-15 15:05:07: > According to my bijection, this bug has been present since commit > 411675a6ce in 2017. It is apparently harmless for regular use, but > does make notmuch crash when compiled with -DDEBUG_DATABASE_SANITY. If a message "belongs" to 2 threads, doesn't it mean that it "belongs" to at least 1 that it doesn't really belong to? The recent problem with "db update in pre-new hook" surfaced as extra thread assignments for the wrong messages (making them show up the wrong thread, too). I meanwhile noticed that they are more common, but am wondering whether they are really harmless? Michael