Subject: pkg/19355: BitchX 1.0c18 randomly gets into loop when changing servers with Select failed with [bad file descriptor]
To: None <gnats-bugs@gnats.netbsd.org>
From: None <t1345@hopi.dtcc.edu>
List: netbsd-bugs
Date: 12/11/2002 12:07:35
>Number:         19355
>Category:       pkg
>Synopsis:       BitchX 1.0c18 randomly gets into loop when changing servers with Select failed with [bad file descriptor]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 11 12:08:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chris Tribo
>Release:        1.6K
>Organization:
>Environment:
NetBSD atlantis.dtcc.edu 1.6K NetBSD 1.6K (atlantis) #0: Wed Nov 20 12:10:40 EST 2002     root@atlantis.dtcc.edu:/usr/src/sys/arch/i386/compile/atlantis i386
>Description:
BitchX randomly gets into an infinite loop when attempting to change servers, then infinitely scrolls: Select failed with [bad file descriptor] in the main window. I have taken core files of both scr-bx and BitchX while this is happening, though I don't really know what to do with gdb to help disagnose this.
>How-To-Repeat:
This is, as far as I know what goes on:

client has been up for a long time (e.g. 17 days in the latest case)
IRC Server gets desynced, I do a /disconnect. BitchX then says
use /server to connect to a server twice in a row. I type /disconnect again and it only says it once. Now I type /server some.irc.server, it begins to connect, then just sits there. Now if I type /disconnect again my screen fills up with Select failed with [Bad file descriptor].

I'll try to figure out whats going on, but I'm not much of a programmer.
>Fix:
Not known yet, not really sure where to go with the core files from here.
>Release-Note:
>Audit-Trail:
>Unformatted: