all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Paul W. Rankin" <hello@paulwrankin.com>
Cc: 38757@debbugs.gnu.org
Subject: bug#38757: emacs-27; reliably crashes when wrapping visual lines
Date: Fri, 27 Dec 2019 12:29:24 +0200	[thread overview]
Message-ID: <83lfqyoyd7.fsf@gnu.org> (raw)
In-Reply-To: <m1woai19fo.fsf@paulwrankin.com> (hello@paulwrankin.com)

> From: "Paul W. Rankin" <hello@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.





  parent reply	other threads:[~2019-12-27 10:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27  2:27 bug#38757: emacs-27; reliably crashes when wrapping visual lines Paul W. Rankin
2019-12-27  6:06 ` bug#38757: Paul W. Rankin
2019-12-27  7:57   ` bug#38757: Eli Zaretskii
2019-12-27  8:04   ` bug#38757: Paul W. Rankin
2019-12-27  9:15     ` bug#38757: Eli Zaretskii
2019-12-27  9:19       ` bug#38757: Paul W. Rankin
2019-12-27  9:47         ` bug#38757: martin rudalics
2019-12-27  9:56           ` bug#38757: Paul W. Rankin
2019-12-27 12:00             ` bug#38757: Alan Third
2019-12-27 12:44               ` bug#38757: Paul W. Rankin
2019-12-29 21:10                 ` bug#38757: Robert Pluim
2019-12-30  1:00                   ` bug#38757: Alan Third
2019-12-30  3:21                     ` bug#38757: Paul W. Rankin
2019-12-27 10:29     ` Eli Zaretskii [this message]
2019-12-27 14:01       ` bug#38757: emacs-27; reliably crashes when wrapping visual lines Eli Zaretskii
2019-12-28  1:00         ` Paul W. Rankin

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=83lfqyoyd7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=38757@debbugs.gnu.org \
    --cc=hello@paulwrankin.com \
    /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.