Opened 16 years ago
Closed 15 years ago
#2851 closed bug (fixed)
[Terminal] resizing terminal window could crash it
Reported by: | diver | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Terminal | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I tried to resize terminal wile I was connected via ssh to my freebsd server and running mc and got a crash.
Attachments (2)
Change History (19)
by , 16 years ago
Attachment: | term_resize.png added |
---|
comment:1 by , 16 years ago
Summary: | [Terminal] resizing terminal window coult crash it → [Terminal] resizing terminal window could crash it |
---|
comment:2 by , 16 years ago
Owner: | changed from | to
---|
comment:3 by , 16 years ago
comment:4 by , 15 years ago
I can reproduce it in hrev32034.
For this I have to ssh to ubuntu and run midnight commander
I have to resize terminal several times (20 times or more) to crash it.
comment:5 by , 15 years ago
ProcessController still show that ssh connection, is it on purpose, or I should open another bug?
by , 15 years ago
Attachment: | backtrace.png added |
---|
comment:9 by , 15 years ago
Version: | R1/pre-alpha1 → R1/Development |
---|
comment:10 by , 15 years ago
Still cannot reproduce this bug. The only thing "cat /dev/random" does for me is deadlocking the terminal eventually. Which is kind of expected since the "EscParse" thread writes to the tty. There's no simple way around this, though.
Any more specific instructions how you reproduce the problem?
Regarding the second stack trace, this looks like an interface kit problem and I seem to recall that graphics state related bugs have been fixed not that long ago. If you encounter it again, please open a new ticket.
comment:11 by , 15 years ago
I just reproduced it like this:
Opened Terminal.
Typed find.
Resized Terminal several times to it's minimum and back.
comment:12 by , 15 years ago
Is this in VirtualBox or real hardware or what? I've been trying this for the past 5 minutes with hrev35580 and I haven't succeeded in crashing it once.
comment:13 by , 15 years ago
This is VirtualBox. You just need to resize Terminal really fast and it will crash within several seconds.
comment:15 by , 15 years ago
When testing in qemu without kernel acceleration (i.e. no --enable-kvm) I can reproduce resize crashes easily (both with "cat /dev/random" and "while true; do find /; done"), too. So far I've only seen two versions of BView::PopState() stack traces (one like the attached one), though.
comment:16 by , 15 years ago
Status: | new → in-progress |
---|
comment:17 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
At least the problems I could reproduce are fixed in hrev35587. I've never seen the original stack trace, but quite a few things have been fixed since the bug was reported. So I assume that issue doesn't exist anymore.
I've tried to reproduce this by frantically resizing the window in various situations (with/without lots of output, with primary/alternative screen buffer, etc.). Without success.