From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id HjD6JimTw2CMOAEAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 18:45:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +JswIimTw2AIGwAAB5/wlQ (envelope-from ) for ; Fri, 11 Jun 2021 16:45:29 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 E2A4EFDA0 for ; Fri, 11 Jun 2021 18:45:26 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 66B152B26B; Fri, 11 Jun 2021 12:45:18 -0400 (EDT) Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by mail.notmuchmail.org (Postfix) with ESMTPS id F33EA2B259 for ; Fri, 11 Jun 2021 12:45:15 -0400 (EDT) Received: by mail-yb1-xb30.google.com with SMTP id q21so5177561ybg.8 for ; Fri, 11 Jun 2021 09:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=teamwilner-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VtLCf9oB8b1gRpUozivtU8RbBHB3/nAVBUdbS5jLGQE=; b=f14cbraHwSTbZk4m8l50dPV9Cvgxp9WoXdR7TpbGKdtx8q11DG8zmT4UgLyjDLNwyL yrY20Uls5nb3wkzl1HuiuufCmM6KuYuRVArD9OuJ5xtVXoE1JeZDl6kZId+KEFYfPN/V 7AlJm23j0F5Hf3sJynOf6J9RdoNaYMDTX4iZb5Q5VCH2ykgT5x8zBs6gCmKU9EDboUfx 09TGv4IhX9ig1ZnPE1fCObcuWcGdatBTWtyV8My8weIZibyzNpwgrtp8qXzEnOmOHslS YPq0q9mK0lD8AUPFpEF/vI8IT+mtHAVvKefxoIXGOkr9OyWR+B5LIR/Sd4SeJowJHE/d pSfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VtLCf9oB8b1gRpUozivtU8RbBHB3/nAVBUdbS5jLGQE=; b=TMjqFXiMuY/BCN2F6b9aV8aT98+dR/c/I9xTJC6LnwT2oohK5Gm7a/E+3QUDLI7LHf 6Bw+4AJsb9dYOnhJI18FSModoOsT4v+s5gqf8RMwMgCKmIGKn8bCOhXfR7whSzauWyM8 ADlVbaLssM9C7M1/AP5dpPVZDoEUN9QRiSeBcu4HjXytSR0RC9rODiFUEfrLmd96rSP6 /IB/kA/aioaprZTtSRhoSqStErkca6nfLRZQFmK4XTE9ynpeNYKCC80BYyM5DtZQNtr+ 5wlw1ZiFyXSbgU/LeEkkdp+h7F76UbJr2L8K1H1p2OP9lTcSCDHXxvprzcm9ld1p+CX6 Gahw== X-Gm-Message-State: AOAM531hIum7Qo0Y/iccARe5N9OaeK5LzJgL/zQnRVRiNIHV1VlQbh0U CmCD1fUEO8IkFcgWzhK384UxBcQEbRL5OqxqasCXvA== X-Google-Smtp-Source: ABdhPJzV3ezrVnOHu5Q11b2/YoET86hsUCO312vp7FfJ2sK+sv5XdaG2NYFxBST3BGUjBaG4LjW3spYVExZ1/WZBJvM= X-Received: by 2002:a25:8b0d:: with SMTP id i13mr7239505ybl.398.1623429914853; Fri, 11 Jun 2021 09:45:14 -0700 (PDT) MIME-Version: 1.0 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> <878s3rmlfj.fsf@m4x.org> In-Reply-To: <878s3rmlfj.fsf@m4x.org> From: Jonathan Wilner Date: Fri, 11 Jun 2021 09:45:04 -0700 Message-ID: Subject: Re: show a single message in a huge thread To: Alan Schmitt Message-ID-Hash: OMO2RZGY4OZOBGAGSMBL4RF54J3HJ6D3 X-Message-ID-Hash: OMO2RZGY4OZOBGAGSMBL4RF54J3HJ6D3 X-MailFrom: jrw@greenbriardrive.com 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 CC: notmuch 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="===============7777987428711871060==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623429927; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vS5NznmDN1WoiDlFb4U2EWzmsVbEmd7zBS9UC2U8o8g=; b=cr7nOfOZrSaNZVKuNv4VWEPALzV7rlrZ3PRP48gpV0AJcz79gVM+mppmEZ8KIHgxJAkvmT 3dUOlQSmKjNkHtJHcsrZKgU/AHcU8g/XLfEDO8V5G4QybX2klw18yfPP+SgNeiDdJagyno lc3C6WJPDqGrskgGUdXtJXWi2aN1HMexDIQovIJdffC7MywIPwHm6BUZKWhiOgmTJkO4kq ruJ7rhRtmxiOW9S4P79YpCi4F9P4ZcEmvMymRAVmNe0LO69QL2Oaqqhwc5Fz1zPrDuU98+ OFwND9UyKr0w/FQ5knKdQiwJy+A1nUCJ1vtCVbSTmiHz07xDJtW6/0aW9/9Pqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623429927; a=rsa-sha256; cv=none; b=ELU8qvSQTAXGs04AfDBes+B2mo8FQqX88ZPecIMou95JxqD9kiZFLHT6eKVO5kgPOan9K/ 32JifbnYU4OPYGYtPiSD/Dr+UDpNH4JUlgdkwNxOMzFmKFFD7v6h4x942O3YBglOZPnZSX /q+AoEKz0GtIKL2Sny3qDzYpTEeOdgUQHnNIi0vTkpA7rvn21EqVeVqb+ldQ+4RTCdXpeU T4hS/FI+yl+vcYXVercd1UqTdQU9RlN7sbCTO+I2l3dSGeJhM9k8V2eM0tZ4SrTM7cNVBw eVuj2UGu+Fc1nGmL1cl1EFcb9FguI0AJOu43uWaDewpLnuB5J90Wxa4T0aVfmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teamwilner-com.20150623.gappssmtp.com header.s=20150623 header.b=f14cbraH; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=teamwilner-com.20150623.gappssmtp.com header.s=20150623 header.b=f14cbraH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: E2A4EFDA0 X-Spam-Score: -0.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: lS/aebpP+G8Y --===============7777987428711871060== Content-Type: multipart/alternative; boundary="00000000000064a10b05c4803bfc" --00000000000064a10b05c4803bfc Content-Type: text/plain; charset="UTF-8" I definitely also have this problem with large threads - big time hangs using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, not using Notmuch at the command line, though that can also take quite a long time to return. I'm suspicious that there's something with HTML parsing - does that seem possible? It might also make sense if Delta Chat is giving you HTML versus plaintext. On Thu, Jun 3, 2021 at 12:55 AM Alan Schmitt wrote: > 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 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org > --00000000000064a10b05c4803bfc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I definitely also have this problem with large threads - b= ig time hangs using Notmuch in Emacs. My simple tests indicate that it happ= ens in Emacs, not using Notmuch at the command line, though that can also t= ake quite a long time to return.

I'm suspicious that= there's something with HTML parsing - does that seem possible? It migh= t also make sense if Delta Chat is giving you HTML versus plaintext.
<= div>


On Thu, Jun 3, 2021 at 12:55 AM Alan Schmitt = <alan.schmitt@polytech= nique.org> wrote:
Hello,

On 2021-06-02 09:18, David Bremner <david@tethera.net> writes:

> The code I posted worked fine for me for one message from a thread of<= br> > 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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
--00000000000064a10b05c4803bfc-- --===============7777987428711871060== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7777987428711871060==--