* [ruby-core:93561] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
@ 2019-07-05 16:29 ` maciej
2019-07-05 16:40 ` [ruby-core:93562] " maciej
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: maciej @ 2019-07-05 16:29 UTC (permalink / raw)
To: ruby-core
Issue #15989 has been reported by maciej.mensfeld (Maciej Mensfeld).
----------------------------------------
Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
https://bugs.ruby-lang.org/issues/15989
* Author: maciej.mensfeld (Maciej Mensfeld)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.7.0dev (2019-07-04T09:54:50Z master 265b9a0edf) [x86_64-linux] last_commit=Parse key sequence more strictly
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When I do this:
1. Define empty string `''`
2. Press arrow up
3. Press Home
4. Press Delete to remove first `'`
5. irb crashes
I get following exception:
```
33: from ../install/bin/irb:23:in `<main>'
32: from ../install/bin/irb:23:in `load'
31: from /workdir/install/lib/ruby/gems/2.7.0/gems/irb-1.1.0.pre.1/exe/irb:11:in `<top (required)>'
30: from /workdir/install/lib/ruby/2.7.0/irb.rb:389:in `start'
29: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `run'
28: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `catch'
27: from /workdir/install/lib/ruby/2.7.0/irb.rb:432:in `block in run'
26: from /workdir/install/lib/ruby/2.7.0/irb.rb:496:in `eval_input'
25: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `each_top_level_statement'
24: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `catch'
23: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `block in each_top_level_statement'
22: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `loop'
21: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:129:in `block (2 levels) in each_top_level_statement'
20: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:157:in `lex'
19: from /workdir/install/lib/ruby/2.7.0/irb.rb:477:in `block in eval_input'
18: from /workdir/install/lib/ruby/2.7.0/irb.rb:654:in `signal_status'
17: from /workdir/install/lib/ruby/2.7.0/irb.rb:478:in `block (2 levels) in eval_input'
16: from /workdir/install/lib/ruby/2.7.0/irb/input-method.rb:259:in `gets'
15: from /workdir/install/lib/ruby/2.7.0/reline.rb:296:in `readmultiline'
14: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `inner_readline'
13: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `loop'
12: from /workdir/install/lib/ruby/2.7.0/reline.rb:358:in `block in inner_readline'
11: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `read_io'
10: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `loop'
9: from /workdir/install/lib/ruby/2.7.0/reline.rb:393:in `block in read_io'
8: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `block (2 levels) in inner_readline'
7: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `each'
6: from /workdir/install/lib/ruby/2.7.0/reline.rb:360:in `block (3 levels) in inner_readline'
5: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:779:in `input_key'
4: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `process_key'
3: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `call'
2: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:999:in `key_delete'
1: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `ed_delete_next_char'
/workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `-': nil can't be coerced into Integer (TypeError)
```
attached a demo made with `asciinema`. Play (or cat as it's a text file) with: `asciinema play error.dat`
---Files--------------------------------
asciinema - error.dat (5.21 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ruby-core:93562] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
2019-07-05 16:29 ` [ruby-core:93561] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete maciej
@ 2019-07-05 16:40 ` maciej
2019-07-08 9:16 ` [ruby-core:93612] " ipad
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: maciej @ 2019-07-05 16:40 UTC (permalink / raw)
To: ruby-core
Issue #15989 has been updated by maciej.mensfeld (Maciej Mensfeld).
File demo.gif added
Adding a demo gif code
----------------------------------------
Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
https://bugs.ruby-lang.org/issues/15989#change-79132
* Author: maciej.mensfeld (Maciej Mensfeld)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.7.0dev (2019-07-04T09:54:50Z master 265b9a0edf) [x86_64-linux] last_commit=Parse key sequence more strictly
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When I do this:
1. Start irb
2. Define empty string `''`
3. Press arrow up
4. Press Home
5. Press Delete to remove first `'`
6. irb crashes
I get following exception:
```
33: from ../install/bin/irb:23:in `<main>'
32: from ../install/bin/irb:23:in `load'
31: from /workdir/install/lib/ruby/gems/2.7.0/gems/irb-1.1.0.pre.1/exe/irb:11:in `<top (required)>'
30: from /workdir/install/lib/ruby/2.7.0/irb.rb:389:in `start'
29: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `run'
28: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `catch'
27: from /workdir/install/lib/ruby/2.7.0/irb.rb:432:in `block in run'
26: from /workdir/install/lib/ruby/2.7.0/irb.rb:496:in `eval_input'
25: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `each_top_level_statement'
24: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `catch'
23: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `block in each_top_level_statement'
22: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `loop'
21: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:129:in `block (2 levels) in each_top_level_statement'
20: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:157:in `lex'
19: from /workdir/install/lib/ruby/2.7.0/irb.rb:477:in `block in eval_input'
18: from /workdir/install/lib/ruby/2.7.0/irb.rb:654:in `signal_status'
17: from /workdir/install/lib/ruby/2.7.0/irb.rb:478:in `block (2 levels) in eval_input'
16: from /workdir/install/lib/ruby/2.7.0/irb/input-method.rb:259:in `gets'
15: from /workdir/install/lib/ruby/2.7.0/reline.rb:296:in `readmultiline'
14: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `inner_readline'
13: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `loop'
12: from /workdir/install/lib/ruby/2.7.0/reline.rb:358:in `block in inner_readline'
11: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `read_io'
10: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `loop'
9: from /workdir/install/lib/ruby/2.7.0/reline.rb:393:in `block in read_io'
8: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `block (2 levels) in inner_readline'
7: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `each'
6: from /workdir/install/lib/ruby/2.7.0/reline.rb:360:in `block (3 levels) in inner_readline'
5: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:779:in `input_key'
4: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `process_key'
3: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `call'
2: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:999:in `key_delete'
1: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `ed_delete_next_char'
/workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `-': nil can't be coerced into Integer (TypeError)
```
attached a demo made with `asciinema`. Play (or cat as it's a text file) with: `asciinema play error.dat`
---Files--------------------------------
asciinema - error.dat (5.21 KB)
demo.gif (41.4 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ruby-core:93612] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
2019-07-05 16:29 ` [ruby-core:93561] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete maciej
2019-07-05 16:40 ` [ruby-core:93562] " maciej
@ 2019-07-08 9:16 ` ipad
2019-07-30 3:54 ` [ruby-core:94013] " ko1
2019-08-19 23:56 ` [ruby-core:94439] " aycabta
4 siblings, 0 replies; 5+ messages in thread
From: ipad @ 2019-07-08 9:16 UTC (permalink / raw)
To: ruby-core
Issue #15989 has been updated by tanguyandreani (Tanguy Andreani).
I can reproduce (by hitting del at the end of the line). The cause is in the snippet below.
``` ruby
Reline::Unicode.get_next_mbchar_size('')
# => nil
```
`get_next_mbchar_size()` doesn't always return a number.
----------------------------------------
Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
https://bugs.ruby-lang.org/issues/15989#change-79210
* Author: maciej.mensfeld (Maciej Mensfeld)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.7.0dev (2019-07-04T09:54:50Z master 265b9a0edf) [x86_64-linux] last_commit=Parse key sequence more strictly
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When I do this:
1. Start irb
2. Define empty string `''`
3. Press arrow up
4. Press Home
5. Press Delete to remove first `'`
6. irb crashes
I get following exception:
```
33: from ../install/bin/irb:23:in `<main>'
32: from ../install/bin/irb:23:in `load'
31: from /workdir/install/lib/ruby/gems/2.7.0/gems/irb-1.1.0.pre.1/exe/irb:11:in `<top (required)>'
30: from /workdir/install/lib/ruby/2.7.0/irb.rb:389:in `start'
29: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `run'
28: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `catch'
27: from /workdir/install/lib/ruby/2.7.0/irb.rb:432:in `block in run'
26: from /workdir/install/lib/ruby/2.7.0/irb.rb:496:in `eval_input'
25: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `each_top_level_statement'
24: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `catch'
23: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `block in each_top_level_statement'
22: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `loop'
21: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:129:in `block (2 levels) in each_top_level_statement'
20: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:157:in `lex'
19: from /workdir/install/lib/ruby/2.7.0/irb.rb:477:in `block in eval_input'
18: from /workdir/install/lib/ruby/2.7.0/irb.rb:654:in `signal_status'
17: from /workdir/install/lib/ruby/2.7.0/irb.rb:478:in `block (2 levels) in eval_input'
16: from /workdir/install/lib/ruby/2.7.0/irb/input-method.rb:259:in `gets'
15: from /workdir/install/lib/ruby/2.7.0/reline.rb:296:in `readmultiline'
14: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `inner_readline'
13: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `loop'
12: from /workdir/install/lib/ruby/2.7.0/reline.rb:358:in `block in inner_readline'
11: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `read_io'
10: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `loop'
9: from /workdir/install/lib/ruby/2.7.0/reline.rb:393:in `block in read_io'
8: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `block (2 levels) in inner_readline'
7: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `each'
6: from /workdir/install/lib/ruby/2.7.0/reline.rb:360:in `block (3 levels) in inner_readline'
5: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:779:in `input_key'
4: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `process_key'
3: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `call'
2: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:999:in `key_delete'
1: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `ed_delete_next_char'
/workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `-': nil can't be coerced into Integer (TypeError)
```
attached a demo made with `asciinema`. Play (or cat as it's a text file) with: `asciinema play error.dat`
---Files--------------------------------
asciinema - error.dat (5.21 KB)
demo.gif (41.4 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ruby-core:94013] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
` (2 preceding siblings ...)
2019-07-08 9:16 ` [ruby-core:93612] " ipad
@ 2019-07-30 3:54 ` ko1
2019-08-19 23:56 ` [ruby-core:94439] " aycabta
4 siblings, 0 replies; 5+ messages in thread
From: ko1 @ 2019-07-30 3:54 UTC (permalink / raw)
To: ruby-core
Issue #15989 has been updated by ko1 (Koichi Sasada).
Assignee set to aycabta (aycabta .)
Status changed from Open to Rejected
could you continue on github issue?
https://github.com/ruby/irb
----------------------------------------
Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
https://bugs.ruby-lang.org/issues/15989#change-80237
* Author: maciej.mensfeld (Maciej Mensfeld)
* Status: Rejected
* Priority: Normal
* Assignee: aycabta (aycabta .)
* Target version:
* ruby -v: ruby 2.7.0dev (2019-07-04T09:54:50Z master 265b9a0edf) [x86_64-linux] last_commit=Parse key sequence more strictly
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When I do this:
1. Start irb
2. Define empty string `''`
3. Press arrow up
4. Press Home
5. Press Delete to remove first `'`
6. irb crashes
I get following exception:
```
33: from ../install/bin/irb:23:in `<main>'
32: from ../install/bin/irb:23:in `load'
31: from /workdir/install/lib/ruby/gems/2.7.0/gems/irb-1.1.0.pre.1/exe/irb:11:in `<top (required)>'
30: from /workdir/install/lib/ruby/2.7.0/irb.rb:389:in `start'
29: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `run'
28: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `catch'
27: from /workdir/install/lib/ruby/2.7.0/irb.rb:432:in `block in run'
26: from /workdir/install/lib/ruby/2.7.0/irb.rb:496:in `eval_input'
25: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `each_top_level_statement'
24: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `catch'
23: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `block in each_top_level_statement'
22: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `loop'
21: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:129:in `block (2 levels) in each_top_level_statement'
20: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:157:in `lex'
19: from /workdir/install/lib/ruby/2.7.0/irb.rb:477:in `block in eval_input'
18: from /workdir/install/lib/ruby/2.7.0/irb.rb:654:in `signal_status'
17: from /workdir/install/lib/ruby/2.7.0/irb.rb:478:in `block (2 levels) in eval_input'
16: from /workdir/install/lib/ruby/2.7.0/irb/input-method.rb:259:in `gets'
15: from /workdir/install/lib/ruby/2.7.0/reline.rb:296:in `readmultiline'
14: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `inner_readline'
13: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `loop'
12: from /workdir/install/lib/ruby/2.7.0/reline.rb:358:in `block in inner_readline'
11: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `read_io'
10: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `loop'
9: from /workdir/install/lib/ruby/2.7.0/reline.rb:393:in `block in read_io'
8: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `block (2 levels) in inner_readline'
7: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `each'
6: from /workdir/install/lib/ruby/2.7.0/reline.rb:360:in `block (3 levels) in inner_readline'
5: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:779:in `input_key'
4: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `process_key'
3: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `call'
2: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:999:in `key_delete'
1: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `ed_delete_next_char'
/workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `-': nil can't be coerced into Integer (TypeError)
```
attached a demo made with `asciinema`. Play (or cat as it's a text file) with: `asciinema play error.dat`
---Files--------------------------------
asciinema - error.dat (5.21 KB)
demo.gif (41.4 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ruby-core:94439] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
` (3 preceding siblings ...)
2019-07-30 3:54 ` [ruby-core:94013] " ko1
@ 2019-08-19 23:56 ` aycabta
4 siblings, 0 replies; 5+ messages in thread
From: aycabta @ 2019-08-19 23:56 UTC (permalink / raw)
To: ruby-core
Issue #15989 has been updated by aycabta (aycabta .).
@maciej.mensfeld In latest revisions of IRB and Reline, this problem can't be reproduced. Maybe it's fixed.
----------------------------------------
Bug #15989: irb-1.1.0.pre.1 crashes on using arrow up, home and delete
https://bugs.ruby-lang.org/issues/15989#change-80865
* Author: maciej.mensfeld (Maciej Mensfeld)
* Status: Rejected
* Priority: Normal
* Assignee: aycabta (aycabta .)
* Target version:
* ruby -v: ruby 2.7.0dev (2019-07-04T09:54:50Z master 265b9a0edf) [x86_64-linux] last_commit=Parse key sequence more strictly
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
When I do this:
1. Start irb
2. Define empty string `''`
3. Press arrow up
4. Press Home
5. Press Delete to remove first `'`
6. irb crashes
I get following exception:
```
33: from ../install/bin/irb:23:in `<main>'
32: from ../install/bin/irb:23:in `load'
31: from /workdir/install/lib/ruby/gems/2.7.0/gems/irb-1.1.0.pre.1/exe/irb:11:in `<top (required)>'
30: from /workdir/install/lib/ruby/2.7.0/irb.rb:389:in `start'
29: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `run'
28: from /workdir/install/lib/ruby/2.7.0/irb.rb:431:in `catch'
27: from /workdir/install/lib/ruby/2.7.0/irb.rb:432:in `block in run'
26: from /workdir/install/lib/ruby/2.7.0/irb.rb:496:in `eval_input'
25: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `each_top_level_statement'
24: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:125:in `catch'
23: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `block in each_top_level_statement'
22: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:126:in `loop'
21: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:129:in `block (2 levels) in each_top_level_statement'
20: from /workdir/install/lib/ruby/2.7.0/irb/ruby-lex.rb:157:in `lex'
19: from /workdir/install/lib/ruby/2.7.0/irb.rb:477:in `block in eval_input'
18: from /workdir/install/lib/ruby/2.7.0/irb.rb:654:in `signal_status'
17: from /workdir/install/lib/ruby/2.7.0/irb.rb:478:in `block (2 levels) in eval_input'
16: from /workdir/install/lib/ruby/2.7.0/irb/input-method.rb:259:in `gets'
15: from /workdir/install/lib/ruby/2.7.0/reline.rb:296:in `readmultiline'
14: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `inner_readline'
13: from /workdir/install/lib/ruby/2.7.0/reline.rb:357:in `loop'
12: from /workdir/install/lib/ruby/2.7.0/reline.rb:358:in `block in inner_readline'
11: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `read_io'
10: from /workdir/install/lib/ruby/2.7.0/reline.rb:387:in `loop'
9: from /workdir/install/lib/ruby/2.7.0/reline.rb:393:in `block in read_io'
8: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `block (2 levels) in inner_readline'
7: from /workdir/install/lib/ruby/2.7.0/reline.rb:359:in `each'
6: from /workdir/install/lib/ruby/2.7.0/reline.rb:360:in `block (3 levels) in inner_readline'
5: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:779:in `input_key'
4: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `process_key'
3: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:675:in `call'
2: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:999:in `key_delete'
1: from /workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `ed_delete_next_char'
/workdir/install/lib/ruby/2.7.0/reline/line_editor.rb:1734:in `-': nil can't be coerced into Integer (TypeError)
```
attached a demo made with `asciinema`. Play (or cat as it's a text file) with: `asciinema play error.dat`
---Files--------------------------------
asciinema - error.dat (5.21 KB)
demo.gif (41.4 KB)
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-08-19 23:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-15989.20190705162931@ruby-lang.org>
2019-07-05 16:29 ` [ruby-core:93561] [Ruby master Bug#15989] irb-1.1.0.pre.1 crashes on using arrow up, home and delete maciej
2019-07-05 16:40 ` [ruby-core:93562] " maciej
2019-07-08 9:16 ` [ruby-core:93612] " ipad
2019-07-30 3:54 ` [ruby-core:94013] " ko1
2019-08-19 23:56 ` [ruby-core:94439] " aycabta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).