unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27115: Infinite loop created by fixing 26097
@ 2017-05-28 11:39 Codrut Gusoi
  2017-05-28 15:28 ` Eli Zaretskii
  2017-05-31  9:26 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Codrut Gusoi @ 2017-05-28 11:39 UTC (permalink / raw)
  To: 27115

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-01 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-28 11:39 bug#27115: Infinite loop created by fixing 26097 Codrut Gusoi
2017-05-28 15:28 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).