cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: select() returned with errno = 9 (EBADF), msg = Bad file descriptor

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Nov 2009 22:52:12 +0100 (CET)

On Wed, 11 Nov 2009, Stefan Krause wrote:

> 15045:277 curlSelect(): errno = 9, msg = Bad file descriptor
> curlSelect(): errno = 9, msg = Bad file descriptor [repeated 300
> times]

> OS was QNX 6.3.2. libCurl version=7.19.3.
> The select error occured during an endurance test.
> The timestamps left are of format seconds:milliseconds.
>
> select() returned -1 and the errno was 9 / EBADF / "Bad file descriptor"

> What might be the reason for that error ?

Well, call me crazy but I would guess that one possible reason is that
select() considered one or more of the file descriptors in use to be bad.

> Maybe it is a problem of the OS and has nothing to do with libCurl ?

Could be. It's not easy to tell for us, but we've never seen this problem
reported before.

> How severe is that problem in general? Can it destabilize the whole system
> (->crash) ?

I have no idea.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-12

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET