Re: select() setting ERESTARTNOHAND (514).

From: bert hubert
Date: Thu Jan 11 2007 - 17:23:11 EST


On Thu, Jan 11, 2007 at 01:25:16AM -0700, Sean Reifschneider wrote:

> Nope, I haven't looked in strace at all. It's definitely making it to
> user-space. The code in question is (abbreviated):
>
> if (select(0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &t) != 0) {
> PyErr_SetFromErrno(PyExc_IOError);
> return -1;
> }

Anything else relevant? Do you know which signal interrupted select? Is this
a single or multithreaded application? And where did the signal come from?

I tried to reproduce your problem in various ways on 2.6.20-rc4, but it
didn't appear.

Thanks.

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/