From: Walter Garcia-Fontes <walter.garcia@upf.edu>
To: 17014@debbugs.gnu.org
Subject: bug#17014: 24.3; Emacsclient freezes if mutt attaches a signature
Date: Mon, 17 Mar 2014 10:07:16 +0100 [thread overview]
Message-ID: <20140317090716.GB31936@upf.edu> (raw)
In-Reply-To: <g0r463osc3.fsf@fencepost.gnu.org>
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
next prev parent reply other threads:[~2014-03-17 9:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 17:20 bug#17014: 24.3; Emacsclient freezes if mutt attaches a signature Walter Garcia-Fontes
2014-03-16 1:17 ` Glenn Morris
2014-03-17 9:07 ` Walter Garcia-Fontes [this message]
2021-07-14 15:29 ` Lars Ingebrigtsen
[not found] ` <YO8D4pufd0RqAl8R@upf.edu>
2021-07-14 16:01 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140317090716.GB31936@upf.edu \
--to=walter.garcia@upf.edu \
--cc=17014@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.