From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5PSpKwyLuGCJXwAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 09:55:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cy4YJgyLuGBvPwAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 07:55:56 +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 A16441D824 for ; Thu, 3 Jun 2021 09:55:54 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1E3062B23B; Thu, 3 Jun 2021 03:55:50 -0400 (EDT) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by mail.notmuchmail.org (Postfix) with ESMTPS id A84042B227 for ; Thu, 3 Jun 2021 03:55:46 -0400 (EDT) IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A0yKyAKmapqWiPKlzCm5Tl7pcGaLpDfJC3DAb?= =?us-ascii?q?v31ZSRFFG/Fw9vrOoB1173XJYVoqNE3I6OrvBEDoexq1yXcf2+Ys1NmZMTUOwF?= =?us-ascii?q?HCEL1f?= X-IronPort-AV: E=Sophos;i="5.83,244,1616454000"; d="asc'?scan'208";a="511432202" Received: from clt-128-93-176-189.vpn.inria.fr (HELO set) ([128.93.176.189]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jun 2021 09:55:45 +0200 From: Alan Schmitt To: David Bremner , notmuch Subject: Re: show a single message in a huge thread In-Reply-To: <871r9klat9.fsf@tethera.net> References: <871r9rkw2i.fsf@m4x.org> <878s3zniei.fsf@tethera.net> <87y2bzj651.fsf@m4x.org> <87k0neoywi.fsf@m4x.org> <87r1hll9j4.fsf@tethera.net> <87lf7sojbq.fsf@m4x.org> <871r9klat9.fsf@tethera.net> Date: Thu, 03 Jun 2021 09:55:44 +0200 Message-ID: <878s3rmlfj.fsf@m4x.org> MIME-Version: 1.0 Message-ID-Hash: 7TSPIDFG7NMVVTNKPOMAWC4BIWSF47PR X-Message-ID-Hash: 7TSPIDFG7NMVVTNKPOMAWC4BIWSF47PR X-MailFrom: alan.schmitt@polytechnique.org 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: multipart/mixed; boundary="===============6698897123014250896==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622706955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=j56cv19F9CFh4q7b2ZycZdrqYR+8WwXTvuYl/q5dyck=; b=V/4UFRR4j3tyqQxvXeWlzSZM8lqC3ZEiihwCAYN6qbTWeN5/e5g35WQ7M0NQ8CNRtwl7QX LcFSRD2i809iXG6bOSbMkSFqa50O5FlRNN7YcfFZRIjEBS8kNUodWVHszKbTH+YiJ/MXuy 4wZtuPbzUgeEhW4uXgOo7DxfwbrOF/qG0LNVqUvWAyTRLeYEGsJ7S191CetUC1U7p5wh56 MBxTbS3aHyCYCgpnts+uWMbGebKAcNn2Q/prEPDT/vLqL3KM2Cmp7DuZ2Mw5W5Qhkx+CBi VQxwCuPfMkJ+cNCr8oMrnGKfWH7qZViMtCcKeeASzAal/bMVGN58QpXB1h/YXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622706955; a=rsa-sha256; cv=none; b=Q+4sf8HcSzYJmOlkHOfHmD7OOu/W733W8VYjaasObjTz8Gutavvo58mEKz72c9gzBkJyMx ovQWeWuao0SHWZk/A01AueelLqd2bQywERuUeYTvkQ58ws1y5ObmJUyiyIUOLhCsKIGC9H S8kci1e8O/RWamtOy2NMe8pDNryPp/R0ARSptk9c/bgejY7pPzb79wmiir/HPKtQCEDEvE Hic6HwU3VhpnR59OdEQy34YwTEGHQazk3z9ECL92IiMGMzSl00Nwyn4TK/10uDAmCDGqOU qgZh4+NVg1LSuIFAS1hcBZfTB+LnIJsyQmzQkMZdeZmwrWpq1eeWEvA3UqUf2w== 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: -4.12 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: A16441D824 X-Spam-Score: -4.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: gdQck2WzPEgz --===============6698897123014250896== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Hello, On 2021-06-02 09:18, David Bremner writes: > The code I posted worked fine for me for one message from a thread of > 323 messages. The thread that used to crash (before your patch) was from DeltaChat, which is an email-based chat app. The thread it produces are like lists more than trees. So I guess the depth of the tree is what matters. Best, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAmC4iwAfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx19oB/4ojl4RPIsF8Z2y tOU5jAiVL/c2YUZ+CyLPn/lZZwlGZBS5eb38u+AI5v6himx1aRPXw5Xl5dYTu2No CD1QrPcFMjVv0w+r8Eg5nDrJyqbbidyKwRqS2CI4RpHgT3ZIei5HDeXd+LQ/16yo eBgMFU6cpWHRqAvC0wg7oHLJNk5oXfzfISvkCCB0+BC5H0gs7C+PbNUD0d0juvqB jy0T7wNhCNjakE8m5RjPIOMm3alNU5/HWz07+aFD0z+BAHseGFE9GqD47F0Pac6q 4FrmxYVmk3DWFOzAXHS7BW9lHWmG1Ki4dJv9fWjTuhfAVzTQv2hqDVradMLihZQq 03e8irZB =tq1Y -----END PGP SIGNATURE----- --=-=-=-- --===============6698897123014250896== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6698897123014250896==--