From 9d23240aa383d1725b7841c1495ba83d5a092004 Mon Sep 17 00:00:00 2001 From: Sanjoy Mahajan Date: Mon, 21 Jul 2014 12:37:20 +2000 Subject: [PATCH] Re: emacs UI hang: viewing a thread where msg has .tgz attachment with symlink to .. --- ef/3c7da75465da8917f539b0802066052248e1c7 | 106 ++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 ef/3c7da75465da8917f539b0802066052248e1c7 diff --git a/ef/3c7da75465da8917f539b0802066052248e1c7 b/ef/3c7da75465da8917f539b0802066052248e1c7 new file mode 100644 index 000000000..ec6752889 --- /dev/null +++ b/ef/3c7da75465da8917f539b0802066052248e1c7 @@ -0,0 +1,106 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 0D1B0431FAE + for ; Sun, 20 Jul 2014 09:38:05 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id yjTqJfg+w9yH for ; + Sun, 20 Jul 2014 09:37:57 -0700 (PDT) +Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu + [18.7.68.36]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5B6B6431FBD + for ; Sun, 20 Jul 2014 09:37:57 -0700 (PDT) +X-AuditID: 12074424-f79146d00000067c-94-53cbf063251e +Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP + id 90.ED.01660.360FBC35; Sun, 20 Jul 2014 12:37:55 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id s6KGbrk0024691; + Sun, 20 Jul 2014 12:37:54 -0400 +Received: from approx.mit.edu (pool-71-126-228-254.bstnma.east.verizon.net + [71.126.228.254]) (authenticated bits=0) + (User authenticated as sanjoy@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s6KGbp0L029827 + (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); + Sun, 20 Jul 2014 12:37:52 -0400 +Received: from sanjoy by approx.mit.edu with local (Exim 4.82_1-5b7a7c0-XX) + (envelope-from ) + id 1X8u6y-0001Ka-DJ; Sun, 20 Jul 2014 12:37:20 -0400 +From: Sanjoy Mahajan +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: emacs UI hang: viewing a thread where msg has .tgz attachment + with symlink to .. +In-Reply-To: <87y4vo5cpx.fsf@maritornes.cs.unb.ca> +References: <87fvhzy18v.fsf@approx.mit.edu> + <8738dy7ufq.fsf@maritornes.cs.unb.ca> + <87a984uv6i.fsf@approx.mit.edu> + <87y4vo5cpx.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (i486-pc-linux-gnu) +Date: Sun, 20 Jul 2014 12:37:20 -0400 +Message-ID: <87lhrohtq7.fsf@approx.mit.edu> +MIME-Version: 1.0 +Content-Type: text/plain +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsUixCmqrZv84XSwwa+lbBY3WrsZLa7fnMns + wOTxbNUtZo8th94zBzBFcdmkpOZklqUW6dslcGX8nrSGveAVa8WSN8sZGxjPs3QxcnJICJhI + 3P0/hRXCFpO4cG89WxcjF4eQwGwmiaPt59khnI2MEqe/djBDOBeYJM41fIbKLGWUeHTmAVAP + BwebgKrE3/+BIKNEBOwkei6AdHNwCAvESnz8LQUS5hQwkrj79TojROt0RokzX8+BnSEqECLx + c2YPE4jNAjRm6op+sDivgLZE07QPULagxMmZT8BsZgEJiYMvXjBPYBSYhSQ1C0lqASPTKkbZ + lNwq3dzEzJzi1GTd4uTEvLzUIl1zvdzMEr3UlNJNjKCQZHdR2cHYfEjpEKMAB6MSD++L06eC + hVgTy4orcw8xSnIwKYnyMh48HSzEl5SfUpmRWJwRX1Sak1p8iFGCg1lJhFf+MlCONyWxsiq1 + KB8mJc3BoiTO+9baKlhIID2xJDU7NbUgtQgmK8PBoSTB+/8dUKNgUWp6akVaZk4JQpqJgxNk + OA/Q8H8gNbzFBYm5xZnpEPlTjIpS4rzv3wIlBEASGaV5cL2wlPGKURzoFWFekfdAVTzAdAPX + /QpoMBPQ4KJMsMEliQgpqQbGgNO+At/37nEsffZh17peea0Ntc+2LDhlKnzx2vbdifcX/fjO + yHMj70Aki/qCP+s/Z943OJLBkpRv3/q16J6hWYSt3JqFC9evktLnvvxAqP1O8sLO9XLakvtr + LzXHbRDIOfGmYa3z+dsz3zHyZSyYVuf04PT7hc/rk7QvyU9eN+/AOtX6YmXz2UosxRmJhlrM + RcWJANjsgTz0AgAA +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Sun, 20 Jul 2014 16:38:05 -0000 + +Thanks for finding the root cause (hopefully!). + +-Sanjoy + +David Bremner writes: + +> Sanjoy Mahajan writes: +> +>> David Bremner writes: +>> +>>> It would be a big help if you could share a message that causes the +>>> problem. +>> +>> I've just managed to make an example that triggers the problem but that +>> isn't 14MB (the size of the original msg). I'm attaching the message +>> below. It contains, as an attachment, a 20KB .tgz file. +> +> Thanks very much for the test case. I've reported an upstream bug in +> emacs; we'll have to see what the emacs devs think about it. +> +> Here is a link to the bug report: +> +> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18063 -- 2.26.2