Debian Bug report logs - #393704
interactive client dies on ill-timed SIGWINCH

version graph

Package: openssh-client; Maintainer for openssh-client is Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>; Source for openssh-client is src:openssh (PTS, buildd, popcon).

Reported by: Ian Jackson <ian@davenant.greenend.org.uk>

Date: Tue, 17 Oct 2006 13:35:31 UTC

Severity: normal

Found in version openssh/1:4.3p2-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#393704; Package openssh-client. (full text, mbox, link).


Acknowledgement sent to Ian Jackson <ian@davenant.greenend.org.uk>:
New Bug report received and forwarded. Copy sent to Matthew Vernon <matthew@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ian Jackson <ian@davenant.greenend.org.uk>
To: submit@bugs.debian.org
Subject: interactive client dies on ill-timed SIGWINCH
Date: Tue, 17 Oct 2006 14:30:15 +0100
Package: openssh-client
Version: 1:4.3p2-3

I often ask my window manager to bring up `xterm -e ssh somehost'.  I
have the wm configured to allow me to interactively place resize the
window.  Sometimes, when I do this, the xterm and ssh vanish.  Process
accounting shows ssh dying with exit status 255.

I've spoken to other users and they report that this happens to them
sometimes too.

I suspect that the SIGWINCH arrives at a time when ssh is buggily
unable to cope with EINTR.

I realise that this report isn't particularly informative.  Please let
me know what additional tests/diagnostics you'd like me to do.
Unfortunately I can't reproduce the symptoms on demand; it happens to
me spontaneously about once every few weeks.  Any instrumentation
you want me to do would have to be reasonable to do for all of my ssh
sessions until the bug recurs, and would have to not affect the
timings significantly.

Ian.



Information forwarded to debian-bugs-dist@lists.debian.org, Matthew Vernon <matthew@debian.org>:
Bug#393704; Package openssh-client. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthew Vernon <matthew@debian.org>. (full text, mbox, link).


Message #10 received at 393704@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Ian Jackson <ian@davenant.greenend.org.uk>, 393704@bugs.debian.org
Subject: Re: Bug#393704: interactive client dies on ill-timed SIGWINCH
Date: Tue, 17 Oct 2006 15:28:08 +0100
On Tue, Oct 17, 2006 at 02:30:15PM +0100, Ian Jackson wrote:
> I often ask my window manager to bring up `xterm -e ssh somehost'.  I
> have the wm configured to allow me to interactively place resize the
> window.  Sometimes, when I do this, the xterm and ssh vanish.  Process
> accounting shows ssh dying with exit status 255.
> 
> I've spoken to other users and they report that this happens to them
> sometimes too.
> 
> I suspect that the SIGWINCH arrives at a time when ssh is buggily
> unable to cope with EINTR.

This would not especially surprise me.

> I realise that this report isn't particularly informative.  Please let
> me know what additional tests/diagnostics you'd like me to do.
> Unfortunately I can't reproduce the symptoms on demand; it happens to
> me spontaneously about once every few weeks.  Any instrumentation
> you want me to do would have to be reasonable to do for all of my ssh
> sessions until the bug recurs, and would have to not affect the
> timings significantly.

Could you redirect ssh's stderr to a file (if it isn't already going to
~/.xsession-errors or similar) and find out if it emits any error
messages before exiting? The general style of OpenSSH code is such that
I would expect there to be an error message to identify the failing
system call.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 13:11:51 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.