[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495435: xterm: Window resize race condition



Alexander E. Patrakov wrote:
> Thomas Dickey wrote:
> 
> > On Sun, Aug 17, 2008 at 02:30:15PM +0200, Tobias Diedrich wrote:
> >> Package: xterm
> >> Version: 235-1
> >> Severity: normal
> >> 
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >> 
> >> 
> >> When I resize xterm while vim oder mutt or some other program is running
> >> in it (probably also bash, but it's not that visible there), the program
> >> does not resize to the new window size, but to the last window size.
> >> I.e. I start xterm and it's 80x24. I then start mutt and resize to
> >> 90x24, but mutt stays at 80x24. I resize again to 100x24 and mutt goes
> >> to 90x24. Again to 60x24 and mutt goes to 100x24. And so on.
> >> 
> >> Unfortunately this seems to be a rather sporadic bug.
> > 
> > :-(
> > 
> >> It looks like when the program gets SIGWINCH and queries the new window
> >> size it still gets the old size from xterm. (race condition?)
> > 
> > any other clues would be helpful.  Usually I'm using fvwm and tcsh (and
> > don't see any problems).  Both the window manager and the shell have some
> > influence.
> 
> Looks exactly like this kernel problem: http://lkml.org/lkml/2008/8/11/538 -
> please confirm my testing under different kernel versions

That sounds exactly like what I'm seeing (running 2.6.27-rc3 here).
I'll test with an older kernel in the evening...

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de
このメールは十割再利用されたビットで作られています。



Reply to: