Debian bug report logs - #887 xarchie barfs when ftp closes unexpectedly Package: xarchieR6 ; Reported by: dgregor@coil.com; 168 days old . ----------------------------------------------------------------------- Message received at debian-bugs: From cosy.sbg.ac.at!chris Fri May 26 09:50:21 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0sF2ab-0007iFC; Fri, 26 May 95 09:50 PDT Received: from zebra.cosy.sbg.ac.at by pixar.com with SMTP id AA28960 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 26 May 1995 09:48:56 -0700 Received: from dackel.cosy.sbg.ac.at (dackel.cosy.sbg.ac.at [141.201.2.58]) by zebra.cosy.sbg.ac.at (8.6.11/8.6.11) with ESMTP id SAA02875; Fri, 26 May 1995 18:43:42 +0200 From: Christian Linhart Received: (chris@localhost) by dackel.cosy.sbg.ac.at (8.6.10/8.6.11) id SAA01389; Fri, 26 May 1995 18:53:47 +0200 Message-Id: <199505261653.SAA01389@dackel.cosy.sbg.ac.at> Subject: Re: Bug#887: xarchie barfs when ftp closes unexpectedly To: dgregor@coil.com, debian-bugs@Pixar.com Date: Fri, 26 May 1995 18:53:46 +0200 (MET DST) In-Reply-To: <199505162033.QAA12161@gregor.com> from "D.J. Gregor" at May 16, 95 04:33:15 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2409 > Package: xarchieR6 > Version: 2.0.10-0 I've uploaded a package which has some debug statements enabled. It's currently in Incoming/xarchieR6_debug-2.0.10-1.* [I don't know where this debug package should be moved on the ftp-server because there is no directory for debug versions] Please can you do some tests with this package and mail me the error output if the below mentioned problem occurs. Neither D.J. Gregor (the submitter of the bug report) nor I could reproduce it. :-( > When using xarchie to get a ftp file, the remote machine closed the > connection. I got a few error windows from Xarchie saying that the > connection was closed, it couldn't read from a connection, and that > it failed to get the file. After the last window, the xterm that I > ran xarchie from scrolled with this: > > Warning: Select failed; error code 9 > Warning: Select failed; error code 9 > Warning: Select failed; error code 9 > Warning: Select failed; error code 9 > Warning: Select failed; error code 9 > Warning: Select failed; error code 9 > > It looks like the FTP connection closed unexpectedly, but xarchie > stayed in a loop trying to read from an invalid socket (no longer > connected). It probably does not check select for certain error > values. This seems to be a known problem with xarchie. I've appended the relevant section of the PROBLEMS file to this mail. Unfortunately I didn't include this file in the binary packages but I'll do so in future revisions. -Chris The following is the relevant part of the PROBLEMS file: ----------------------------------------------------------------------- 15. I get what seems to be an endless stream of "select failed" messages. These messages are coming from the heart of the X11 event dispatch loop. What it probably means is that one of the various file descriptors registered with the server for asynchronous notification (for Prospero or FTP) is no longer valid but hasn't been cleared from X's select mask. Unfortunately, the X code simply prints a message and loops, which means that select() will fail again, etc., ad nauseam. Please do not report this problem without the following information! You should add a line `#define DEBUG' before the `#include "debug.h"' in files ftp.c and ftp-actions.c, then rebuild xarchie. Include the resulting trace (from stderr) with your bug report. ----------------------------------------------------------------------- Acknowledgement sent to Christian Linhart : Extra info received and forwarded. Full text available. ----------------------------------------------------------------------- Information forwarded to debian-devel@pixar.com : Bug#887 ; Package xarchieR6 . Full text available. ----------------------------------------------------------------------- Message received at debian-bugs: From gregor.com!dgregor Tue May 16 13:28:22 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0sBTE6-00063gC; Tue, 16 May 95 13:28 PDT Received: from bronze.coil.com by pixar.com with SMTP id AA19645 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 16 May 1995 13:26:57 -0700 Received: from gregor.com (dgregor@gregor.coil.com [198.4.94.41]) by bronze.coil.com (8.6.4/8.6.12) with ESMTP id QAA28651 for ; Tue, 16 May 1995 16:30:31 -0400 Received: (from dgregor@localhost) by gregor.com (8.6.10/8.6.10) id QAA12161 for debian-bugs@pixar.com; Tue, 16 May 1995 16:33:20 -0400 From: "D.J. Gregor" Message-Id: <199505162033.QAA12161@gregor.com> Subject: xarchie barfs when ftp closes unexpectedly To: debian-bugs@pixar.com Date: Tue, 16 May 1995 16:33:15 -0400 (EDT) Reply-To: dgregor@coil.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 818 Package: xarchieR6 Version: 2.0.10-0 When using xarchie to get a ftp file, the remote machine closed the connection. I got a few error windows from Xarchie saying that the connection was closed, it couldn't read from a connection, and that it failed to get the file. After the last window, the xterm that I ran xarchie from scrolled with this: Warning: Select failed; error code 9 Warning: Select failed; error code 9 Warning: Select failed; error code 9 Warning: Select failed; error code 9 Warning: Select failed; error code 9 Warning: Select failed; error code 9 It looks like the FTP connection closed unexpectedly, but xarchie stayed in a loop trying to read from an invalid socket (no longer connected). It probably does not check select for certain error values. -D.J. Gregor, N8QLB, ----------------------------------------------------------------------- Acknowledgement sent to dgregor@coil.com : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#887 ; Package xarchieR6 . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov