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


Groups > gnu.bash.bug > #15740

Re: Crash when moving full-width glyphs across lines

From Kirill Chibisov <wchibisovkirill@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Crash when moving full-width glyphs across lines
Date 2019-12-16 21:37 +0300
Message-ID <mailman.984.1576531294.1979.bug-bash@gnu.org> (permalink)
References <d9e015f7-aa5c-4c5e-90dc-8cf0a341ab0a@www.fastmail.com> <20191216175031.GW851@eeg.ccf.org> <20191216183712.cvkazpykjlyr4lpg@RedPanda.localdomain>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web