Fri 06 Apr 2012 01:22:11 PM UTC, comment #5:
And one with just Perl loaded:
Steps to reproduce above crashes:
- Terminal window of 50x15 (Lucida Console 8-point font so the same amount of text should be visible)
- /window splith
- /iset blaat
- /window zoom
- /window zoom
- /buffer close
- resize terminal window to be bigger
Result: crash
Reproduceable: 100%
|
Fri 06 Apr 2012 11:23:19 AM UTC, comment #4:
And with latest git:
|
Fri 06 Apr 2012 11:10:10 AM UTC, comment #3:
|
Fri 06 Apr 2012 12:31:59 AM UTC, original submission:
For quite some time now I've been having random issues with iset and zooming, often leaving my WeeChat either in an unusable state (all windows displaying the iset buffer and no way to get rid of it) or even crashing my WeeChat.
I've finally been able to reproduce it for myself on 2 different remote Ubuntu hosts, connected via MinTTY (though I've experienced the bug with PuTTY as SSH/Terminal client too), using a clean WeeChat environment.
Basically this happens when zooming in and out of the iset.pl buffer while it is in a very small WeeChat window.
Steps to reproduce:
1. Resize your terminal window to a small size (for instance 50 columns by 15 rows) (see notes)
2. Start a clean WeeChat which only has the iset.pl script loaded
3. /window splith
4. /iset foobar
(at this point iset should be in 1 window and the weechat core buffer in the other)
5. /window zoom
6. /window zoom
Now you should see the iset buffer in both windows. Also, trying to switch buffers (/buffer 1) will lead to nothing.
Closing the iset buffer (/close) will most likely also not work and /quit is the only way out.
Occasionally, when this occurs in my general setup, it will even crash.
I took screenshots along the way: http://fixato.org/screenshots/isetbug/
Notes:
1. I've used a very small terminal window here as it makes it easier to reproduce. In my normal setup I use a much larger terminal window (160 Columns by 75 Rows), but with many more /window splits and I found it usually only occurs in a small WeeChat window.
2. While I use iset.pl to show this bug, my gut feeling says it could possibly happen with any 'free' window.
3. Probably a different bug, but when resizing the terminal window, WeeChat occasionally also gets a SIGSEGV.
4. When all windows are showing the iset.pl buffer as a result of this bugged state, I've tried resetting the window layout, closing the iset buffer, unloading the iset script, merging windows and changing the /buffer, but all without any result.
|