Crash bug in console.device
Posted: Thu Nov 11, 2021 9:00 am
I have for years an annoying freeze/crash when working with shell/console.
Mostly when i'm scripting and switching back and fourth between the shell and an editor while testing the script inbetween.
I was finally able to reproduce the crash and it's actually pretty easy to do.
version Kickstart/console.device.kmod file full
console.device 53.105 (25.01.2017)
version cli full
shell 53.15 (11.11.2013)
Steps to reproduce (beware of crashing/freezing)
1) Open a shell
2) Inside the shell press RETURN as often as needed to let the history scroller (right side) appear and give it a few more presses
3) Drag the history scroller to the top
4) Click anywhere on the Workbench to deactivate the shell window
5) Click into the shell window to activate it again (history scroller still on top)
6) Now press CTRL-C
Nothing happens, of course, but
7) Press Return again and drag your system down (it will freeze, no Grim Reaper shows up)
I don't know what the reason for the crash is.
It might be the history scroller acting up, it might be the Return command issuing the console redraw and the skip back to the bottom (out-of-sight) active input line, it might even be the former CTRL-C...would be extremely interesting to know what is causing this.
As i said, i have this behaviour for years, but never could point my finger to what is causing it.
I was suspecting MouseBlanker, but that clearly was not the case, then i thought it might simply be the script that i was testing, but no.
Since i do a lot of CTRL-C to interrupt my scripts while testing it showed up today again...
Please keep me updated on this one and it would be great if anyone could confirm.
Thank you
P.S: The attachment is not packed, .txt is not allowed, so i simply renamed it to .zip
Mostly when i'm scripting and switching back and fourth between the shell and an editor while testing the script inbetween.
I was finally able to reproduce the crash and it's actually pretty easy to do.
version Kickstart/console.device.kmod file full
console.device 53.105 (25.01.2017)
version cli full
shell 53.15 (11.11.2013)
Steps to reproduce (beware of crashing/freezing)
1) Open a shell
2) Inside the shell press RETURN as often as needed to let the history scroller (right side) appear and give it a few more presses
3) Drag the history scroller to the top
4) Click anywhere on the Workbench to deactivate the shell window
5) Click into the shell window to activate it again (history scroller still on top)
6) Now press CTRL-C
Nothing happens, of course, but
7) Press Return again and drag your system down (it will freeze, no Grim Reaper shows up)
I don't know what the reason for the crash is.
It might be the history scroller acting up, it might be the Return command issuing the console redraw and the skip back to the bottom (out-of-sight) active input line, it might even be the former CTRL-C...would be extremely interesting to know what is causing this.
As i said, i have this behaviour for years, but never could point my finger to what is causing it.
I was suspecting MouseBlanker, but that clearly was not the case, then i thought it might simply be the script that i was testing, but no.
Since i do a lot of CTRL-C to interrupt my scripts while testing it showed up today again...
Please keep me updated on this one and it would be great if anyone could confirm.
Thank you
P.S: The attachment is not packed, .txt is not allowed, so i simply renamed it to .zip