Re: pty FIONREAD returning zero breaks emacs in 3.11rc3
From: Andi Kleen
Date: Tue Aug 13 2013 - 18:03:22 EST
On Mon, Aug 12, 2013 at 09:43:43PM -0400, Peter Hurley wrote:
> On 08/09/2013 05:11 PM, Andi Kleen wrote:
> >
> >When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key
> >strokes. I first thought the system was busy or so, but when
> >stracing the emacs it was not blocked.
>
> Andi,
>
> More information might help me narrow this down since I can't
> reproduce this.
>
> Is the ssh session remote?
Yes.
> Can you reproduce this on a local ssh session?
Yes.
> What version of emacs is this? Is it the nox flavor?
emacs-24.3-6.11.x86_64
It's emacs-gtk
> What distribution/version?
Current Tumbleweed
> What platform?
x86_64 2S Westmere
>
> >Here's a typical sequence. select/SIGIO wakes it up, but then
> >FIONREAD returns 0.
> >
> >I'm not fully sure when it started.
>
> In the 3.11 cycle? or could have started back on 3.9 or earlier?
Ok I tried and it actually happens on 3.9 too. For some reason
I didn't notice it earlier (or blamed my bad typing)
Haven't tried earlier
>
> Could you try to reproduce this on linux-next?
Happens on linux-next too.
>
> Would you please attach the full strace of emacs from this session?
Attached (from a different session)
-Andi
Attachment:
log.xz
Description: Binary data