Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15740 > unrolled thread

Re: Crash when moving full-width glyphs across lines

Started byKirill Chibisov <wchibisovkirill@gmail.com>
First post2019-12-16 21:37 +0300
Last post2019-12-16 21:37 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Crash when moving full-width glyphs across lines Kirill Chibisov <wchibisovkirill@gmail.com> - 2019-12-16 21:37 +0300

#15740 — Re: Crash when moving full-width glyphs across lines

FromKirill Chibisov <wchibisovkirill@gmail.com>
Date2019-12-16 21:37 +0300
SubjectRe: Crash when moving full-width glyphs across lines
Message-ID<mailman.984.1576531294.1979.bug-bash@gnu.org>
On Dec 16, Greg Wooledge wrote:
> On Mon, Dec 16, 2019 at 04:37:28PM +0100, Christian Dürr wrote:
> > Repeat-By:
> >     Paste `https://こんにち` into bash and add whitespace before it until it is
> >     in the next line. Then start deleting that whitespace until it is on the
> >     previous line again. It should crash as soon as only `https://` is on the
> >     original line.
> 
> I couldn't reproduce this crash in Debian 10, bash 5.0.3, inside urxvt,
> with LANG=en_US.UTF-8, in vi mode or in emacs mode.

I'm not sure whether we've tried urxvt, but I can't repro the crash with
bash 4.4.23 on my Gentoo system, however using bash 5.0.11 on the same
system results in crash(it's just exit with a bad code, but nothing in
dmesg, journal, etc) under the mentioned conditions.

The crash is a bit random iirc, I know that it's quite easy to repro in
`alacritty` (It was initially faced there), and it was also found by Christian
in vte and xterm later on.

My LANG is also en_US.UTF-8 and I was using default(emacs) mode.

I'll try to send a backtrace with gdb later.

--
Kirill A. Chibisov

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web