Re: Crash when moving full-width glyphs across lines

2019-12-21 Thread Chet Ramey
On 12/20/19 3:43 PM, Chet Ramey wrote: > On 12/19/19 2:00 PM, Kirill Chibisov wrote: >> I was able to capture the stack trace under gdb. However you should >> probably use the following command in it to repro the issue. >> >> `set disable-randomization off` >> >> The issue happens quite randomly, h

Re: Crash when moving full-width glyphs across lines

2019-12-20 Thread Chet Ramey
On 12/19/19 2:00 PM, Kirill Chibisov wrote: I was able to capture the stack trace under gdb. However you should probably use the following command in it to repro the issue. `set disable-randomization off` The issue happens quite randomly, however the important thing is exit code from bash (139)

Re: Crash when moving full-width glyphs across lines

2019-12-20 Thread Chet Ramey
On 12/16/19 10:37 AM, Christian Dürr wrote: Bash Version: 5.0 Patch Level: 11 Release Status: release Description: Bash will crash when moving full-width unicode glyphs like `こ` across line boundaries. Repeat-By: Paste `https://こんにち` into bash and add whitespace before it until

Re: Crash when moving full-width glyphs across lines

2019-12-19 Thread Kirill Chibisov
I was able to capture the stack trace under gdb. However you should probably use the following command in it to repro the issue. `set disable-randomization off` The issue happens quite randomly, however the important thing is exit code from bash (139). So there's something with memory access, I g

Re: Crash when moving full-width glyphs across lines

2019-12-16 Thread Kirill Chibisov
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 aga

Re: Crash when moving full-width glyphs across lines

2019-12-16 Thread Greg Wooledge
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

Crash when moving full-width glyphs across lines

2019-12-16 Thread Christian Dürr
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/ba