From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Walter Garcia-Fontes Newsgroups: gmane.emacs.bugs Subject: bug#17014: 24.3; Emacsclient freezes if mutt attaches a signature Date: Mon, 17 Mar 2014 10:07:16 +0100 Organization: Departament of Economics and Business, Universitat Pompeu Fabra Message-ID: <20140317090716.GB31936@upf.edu> References: <20140314172045.GA2690@upf.edu> Reply-To: walter.garcia@upf.edu NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1395047292 12126 80.91.229.3 (17 Mar 2014 09:08:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2014 09:08:12 +0000 (UTC) To: 17014@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 10:08:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WPTWt-0001Em-U8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Mar 2014 10:08:20 +0100 Original-Received: from localhost ([::1]:56370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPTWt-0004yy-E6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Mar 2014 05:08:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPTWj-0004rq-VY for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2014 05:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPTWd-0007Jv-Bm for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2014 05:08:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPTWd-0007Jr-87 for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2014 05:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WPTWc-0008Bz-P0 for bug-gnu-emacs@gnu.org; Mon, 17 Mar 2014 05:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Walter Garcia-Fontes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Mar 2014 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17014-submit@debbugs.gnu.org id=B17014.139504724731433 (code B ref 17014); Mon, 17 Mar 2014 09:08:02 +0000 Original-Received: (at 17014) by debbugs.gnu.org; 17 Mar 2014 09:07:27 +0000 Original-Received: from localhost ([127.0.0.1]:38600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WPTW2-0008As-J0 for submit@debbugs.gnu.org; Mon, 17 Mar 2014 05:07:27 -0400 Original-Received: from eu1sys200aog113.obsmtp.com ([207.126.144.135]:44569) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1WPTW0-0008Aa-GH for 17014@debbugs.gnu.org; Mon, 17 Mar 2014 05:07:25 -0400 Original-Received: from mail-we0-f174.google.com ([74.125.82.174]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKUya7RjyIUEWVWM+QfWIIQPQ3gtSxB1/v@postini.com; Mon, 17 Mar 2014 09:07:24 UTC Original-Received: by mail-we0-f174.google.com with SMTP id t60so4181074wes.5 for <17014@debbugs.gnu.org>; Mon, 17 Mar 2014 02:07:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:content-disposition :in-reply-to:organization:user-agent; bh=8wv/XY/k+E8gjZebycZVrWfHb1NVQ+w+n06+PMy67LA=; b=PwEsX1tCLreiiwWxARUYToXQmzGqPNQxndY3TEHuiYDPLb6xBtLyXTIRGAKWIsLjru k/sgSCI4UTf49URq22oycScyrxthZkSLl7QMMwK9OyE1pC8xsNzJVuITPrVU1hBbbbUJ KD6DI7ZsnAgiEHWMRPWNL5BxxLVDolyk28rdqTAoTlANUGaLaOnRo0eKk4H6WpD++Qoe oDHk8/Va1pZ0fmA+bE/zRCufUl6k+wpTO5gBSND8poK4SxqAv7inMdPUCyTKSAtf6/bG t99q4HlgXqSUDs9l5JpQxswprt/w0/7h9m+zCVBkZBZodkzmD156HFqi1XJJyFrzagTV 2Zqw== X-Gm-Message-State: ALoCoQlIJkcYXzrPBfolly/ep5uO6s1Fy5D11PaAQIO8CDrNz8Zw5EVXTzpJlelOpmGtYKLsq9KJsOVpumKIMiuNxOaTfrO4nlP6tF0H1l2TlzLnD0yCb+t9yal4I3uZ7/JQxNhewHXZ2JUrl7DL9s7VbVzwmfJCTtIdSfXgHFrj+QODn5mBnT8= X-Received: by 10.180.98.232 with SMTP id el8mr8365806wib.27.1395047238256; Mon, 17 Mar 2014 02:07:18 -0700 (PDT) X-Received: by 10.180.98.232 with SMTP id el8mr8365798wib.27.1395047238163; Mon, 17 Mar 2014 02:07:18 -0700 (PDT) Original-Received: from walter.garcia@upf.edu ([193.145.48.11]) by mx.google.com with ESMTPSA id f3sm22976318wiv.2.2014.03.17.02.07.15 for <17014@debbugs.gnu.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 17 Mar 2014 02:07:16 -0700 (PDT) Original-Received: by walter.garcia@upf.edu (sSMTP sendmail emulation); Mon, 17 Mar 2014 10:07:16 +0100 Content-Disposition: inline In-Reply-To: X-URL: http://puna.upf.edu X-Location: Europe, Barcelona, Catalunya X-Uptime: puna has been running for 5 days User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86904 Archived-At: Thanks for your attention: * Glenn Morris, rgm@gnu.org [16/03/14 02:17]: > Thanks, but I don't think there's any useful information in that > backtrace. Yes, I don't know how to produce the backtrace. If I start the emacs daemon directly with emacsclient I can't reproduce the freeze, instead if a deamon is already running, and I attach a client with emacsclient I can produce the freeze 100% of the times. > Can you take emacsclient out of the equation? > Ie, just have mutt spawn a stand-alone, isolated Emacs instance. As I said in this case i cannot produce the freeze. > Does that still hang? > Is it interruptible with ctrl-g? Yes, it is interruptible via ctrl-g, but I have to press it twice I don't know why > If so, set debug-on-quit. I've set it putting this in my emacs startup commands: (defun triangle-bugged (number) "Return sum of numbers 1 through NUMBER inclusive." (let ((total 0)) (while (> number 0) (setq total (+ total number)) (debug) ; Start debugger. (setq number (1= number))) ; Error here. total)) But when I interrupt the frozen session nothing happens. > Or try and get a gdb backtrace from emacs. As I said the problem is that I don't know how to produce this trace. I start gdb and I start there the emacs daemon, with "run --daemon". Then I open mutt outside gdb, I produce the freeze, but then I can't get anything from the emacs daemon being debugged in gdb. > What does the signature attachment hook actually do? It's just a text file, with the following two lines: Walter Garcia-Fontes L'Hospitalet de Llobregat -- Walter Garcia-Fontes