all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Codrut Gusoi <codrut.gusoi@gmail.com>
To: 27115@debbugs.gnu.org
Subject: bug#27115: Infinite loop created by fixing 26097
Date: Sun, 28 May 2017 14:39:42 +0300	[thread overview]
Message-ID: <CAJi2ve4F7_ihWWw82n9xHRZ6bhmtQ3POkaSqWxv7bV4zjG9oQg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2215 bytes --]

Hello,

After bug 26097 was fixed I started using emacs built from soruce from
the master branch. There I encountered a but that only recently I
traced back to 8275687bb908174b84021ee15ecd959733cecb9d with a git
bisect.

Here are some high level details:

1) I am using Spacemacs
(https://github.com/sdwolf/spacemacs/tree/develop) with evil and helm.
2) I have linum active.
3) I press "M-x" which is bound to (helm-M-x). This opens helm and
triggers something called "Auto Evilification". Somewhere in this
process the following message is displayed:

```
Auto-evilification could not remap these functions in map ‘edebug-mode-map’:
   - ‘edebug-Go-nonstop-mode’ originally mapped on ‘G’
```

This is a single string with multiple "\n" inside it that can be
generated by the following code (extracted from Spacemacs):

```
(setq my-map-symbol 'edebug-mode-map)
(setq my-pending-funcs '((edebug-Go-nonstop-mode . 71)))
(message (concat (format (concat "Auto-evilification could not remap
these " "functions in map `%s': \n") my-map-symbol) (mapconcat (lambda
(x) (format " - `%s' originally mapped on `%s'" (car x)
(single-key-description (cdr x)))) my-pending-funcs "\n")))
```

4) After the above message is displayed emacs freezes.
5) If i do a "pkill -USR2 emacs" I get a backtrace that looks like the
attached file. I can not paste it because it contains some nulls (^@)
and it gets truncated.

6) I did a git bisect and it led me to this commit:
8275687bb908174b84021ee15ecd959733cecb9d, the first attempt at fixing
26097, later edited by a749b55d8ee530797ccff693ad302541257d0415.

7) If I remove the "\n" from the message, making it a single line, the
problem no longer appears. Also if I disable linum in the currently
open buffer then there is no problem with the multi line message.

Here is a reference to the github issue in which I, and a few more
people discuss about this bug.

I can provide a VM for you to ssh into and reproduce the bug with my
setup. Just email me privately so I can give you the ssh details. Also
let me know if you need any more details from me. I will try to answer
as quickly as possible.

Thank you,
Codrut

[-- Attachment #2: debug --]
[-- Type: application/octet-stream, Size: 85964 bytes --]

             reply	other threads:[~2017-05-28 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-28 11:39 Codrut Gusoi [this message]
2017-05-28 15:28 ` bug#27115: Infinite loop created by fixing 26097 Eli Zaretskii
     [not found]   ` <CAJi2ve63ZJC7qQr19fSLMdpEzfp8s3vcpf07RcHVOdz98Zmt=Q@mail.gmail.com>
2017-05-28 15:35     ` bug#27115: Fwd: " Codrut Gusoi
2017-05-31  9:26 ` Eli Zaretskii
2017-06-01 14:14   ` Eli Zaretskii

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=CAJi2ve4F7_ihWWw82n9xHRZ6bhmtQ3POkaSqWxv7bV4zjG9oQg@mail.gmail.com \
    --to=codrut.gusoi@gmail.com \
    --cc=27115@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.