Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Kirill Chibisov Newsgroups: gnu.bash.bug Subject: Re: Crash when moving full-width glyphs across lines Date: Mon, 16 Dec 2019 21:37:12 +0300 Lines: 27 Approved: bug-bash@gnu.org Message-ID: References: <20191216175031.GW851@eeg.ccf.org> <20191216183712.cvkazpykjlyr4lpg@RedPanda.localdomain> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1576531295 11097 209.51.188.17 (16 Dec 2019 21:21:35 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org, nathan@nixpulvis.com, contact@christianduerr.com To: Greg Wooledge Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=3tZLzx0q6t85lr9ATaliJ6znyJ3sjzik99kPnwDMCSA=; b=OXjBAdVp7tmkM/pFV/BGOWj5RWxU4b50B0VrkqJjhsi2GCU/mA79BSIiObukx9hNd7 kSrtvaU8oglAVUWgrhwDD8VGuhtoBeTeEgKhikLpVvSllDeSGTg9wLXSjGTKvym7jOle RzOWvtCNfiufAf/7kcrA5Qp76o54xKqyOi83fCqyZ0kGPirSlXEQysQSFuqKtIcb8Bqr UWpEKYMhpmZwEoiyxzAMp9d0BH19p4DRdBNF71QH/q9jI6OtumnsPuPQMV9UtgvpNpO3 rL2uvMC/COnR1LsczuC1hJCPcC97e/AM0GgAYL4mmnaq0m5mwPKFQif8vlvUBbLMsWWP HNug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=3tZLzx0q6t85lr9ATaliJ6znyJ3sjzik99kPnwDMCSA=; b=oCKMhez+MlCkI4I/v52RazwdVW4oykytI8z7On5H9KrZ2eH22o+ujFP6L5szfkwbAL u9/NBwUQ/Wt1Rn8uwnrwdPP6AdqUZTNV/4hLA6fb6EDMDx69WLVEGF6H1GgsJOKn0Aq0 mCfPi+qWzqWL00Z5KinFG5ZMMApPGWsSUyrls+pDa/5iwsUbLAN5dzqRYY/mFPdT9sUs Nz6W4roL4j6PvPj+YDDqt+2yIOEgXtH3bFXWS5kAn5dukpeboeY5rS9fsR68tYJdmRuM 26vm3+A/M33Bi1l4+c/H7SarFDYwVtujX5aeIY0P5Sg1wAaHEIdBgJOPSITRjV9y7ORC vFNQ== X-Gm-Message-State: APjAAAWxchDMZAkQV5TtnrelytB7FobFHMX/8x1ztjgbNqef5zX+0Duc L70piT9aXiawIZEFyvPdptw= X-Google-Smtp-Source: APXvYqwL8WMvQ5gbMpjEo8dtK0egyT49nqPs/7ksNwdbJdboWBIofbFwErueT6JoFrDm2J3RORxWuQ== X-Received: by 2002:a2e:9013:: with SMTP id h19mr20681ljg.223.1576521444319; Mon, 16 Dec 2019 10:37:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <20191216175031.GW851@eeg.ccf.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::241 X-Mailman-Approved-At: Mon, 16 Dec 2019 16:21:33 -0500 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20191216183712.cvkazpykjlyr4lpg@RedPanda.localdomain> X-Mailman-Original-References: <20191216175031.GW851@eeg.ccf.org> Xref: csiph.com gnu.bash.bug:15740 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