From: Robert McGovern Date: 2002-09-28T03:03:29+09:00 Subject: Re: Still having problems with SMTP send - help! Patrick Bennett wrote: > I'm periodically getting these [BUG] errors (not catchable) and I never > received a reply to my last post. > Is this a known problem, and is there a fix available? > This is with 1.7.2 on W2k (WindowsInstaller build) > > Failed: Bad file descriptor > ERROR P4NotifyD: Caught Errno::EBADF: Bad file descriptor > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:501:in `sysread' > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:501:in `rbuf_fill' > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:477:in `readuntil' > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:488:in `readline' > D:/P4Scripts/lib/ruby/1.7/net/smtp.rb:425:in `read_reply' > D:/P4Scripts/lib/ruby/1.7/net/smtp.rb:403:in `get_reply' > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:320:in `check_reply' > D:/P4Scripts/lib/ruby/1.7/net/protocol.rb:576: [BUG] rb_sys_fail() - > errno == 0 ruby 1.7.2 (2002-07-02) [i386-mswin32] You are getting a the same error I was getting (checkout the thread: don't understand cause of `sysread': Bad file descriptor (Errno::EBADF)). Can you try your program out under cygwin and see if it gives out the same error? Rob