GNU bug report logs -
#38757
emacs-27; reliably crashes when wrapping visual lines
Previous Next
Reported by: "Paul W. Rankin" <hello <at> paulwrankin.com>
Date: Fri, 27 Dec 2019 02:28:01 UTC
Severity: normal
Tags: fixed
Merged with 38564
Found in version 27.0.50
Fixed in version 27.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #33 received at 38757 <at> debbugs.gnu.org (full text, mbox):
> From: "Paul W. Rankin" <hello <at> paulwrankin.com>
> Date: Fri, 27 Dec 2019 18:04:11 +1000
>
> Emacs will segfault if first launched as a daemon, then accessed with
> emacsclient -nw and setting margins cause a string to visually wrap in a
> window.
>
> Revised steps to reproduce:
>
> 1. checkout emacs-27 branch and build
> 2. emacs --fg-daemon
> 3. emacsclient -nw
> 4. in *scratch*
>
> (let ((margin (/ (window-body-width) 4)))
> (visual-line-mode 1)
> (insert (make-string (window-body-width) ?x))
> (set-window-margins nil margin margin))
>
> Expected resutls:
>
> The window should have symetrical margins each half the window body
> width. The window text should be a line of 'x' wrapped at the window
> body edge.
>
> Actual results:
>
> Fatal error 11: Segmentation fault
> zsh: abort emacs --fg-daemon
Thanks.
I cannot reproduce this on GNU/Linux, I get the expected result. So
it might be Darwin-specific, or maybe someone will be able to
reproduce on GNU/Linux and post a backtrace.
This bug report was last modified 5 years and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.