Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-09 Thread Nicholas Marriott
I'd be inclined to go with 3 too, it would be nice if all were consistent as can be in the long run to avoid similar problems later. It looks like NetBSD has returned EBADF here (sys_pipe.c:pipe_kqfilter) since 2002 but it's a pretty easy change, maybe they'd like to make it consistent. It sort of

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-09 Thread Nick Mathewson
On Thu, Feb 9, 2012 at 3:37 PM, Frank Denis wrote: > Le Thu, Feb 09, 2012 at 03:23:32PM -0500, Nick Mathewson ecrivait : >> On Thu, Feb 9, 2012 at 4:32 AM, Nicholas Marriott >> I'm asking around; I'll let you know if anybody tells me they can test >> NetBSD. > > $ ./a > pipefd[0] = {4,5} > pipefd

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-09 Thread Frank Denis
Le Thu, Feb 09, 2012 at 03:23:32PM -0500, Nick Mathewson ecrivait : > On Thu, Feb 9, 2012 at 4:32 AM, Nicholas Marriott > I'm asking around; I'll let you know if anybody tells me they can test NetBSD. $ ./a pipefd[0] = {4,5} pipefd[1] = {6,7} pipefd[2] = {8,9} pipefd[3] = {10,11} 1 events: 9: fi

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-09 Thread Nick Mathewson
On Thu, Feb 9, 2012 at 4:32 AM, Nicholas Marriott wrote: > Ah, hmm... I've checked FreeBSD and it is the same, EPIPE, I don't have > a NetBSD box but I might be able to set one up tomorrow night if nobody > with one speaks up. I'm asking around; I'll let you know if anybody tells me they can test

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-09 Thread Nicholas Marriott
Ah, hmm... I've checked FreeBSD and it is the same, EPIPE, I don't have a NetBSD box but I might be able to set one up tomorrow night if nobody with one speaks up. On Wed, Feb 08, 2012 at 09:16:41PM -0500, Nick Mathewson wrote: > On Wed, Feb 8, 2012 at 12:19 PM, Nicholas Marriott > wrote: > >

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Nick Mathewson
On Wed, Feb 8, 2012 at 12:19 PM, Nicholas Marriott wrote: > On Wed, Feb 08, 2012 at 11:37:45AM -0500, Nick Mathewson wrote: >> On Tue, Feb 7, 2012 at 1:47 PM, Nicholas Marriott >> wrote: >> > Forwarding this message to ML at Nick's request... >> > >> > Hi >> > >> > You may remember a few months a

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Nicholas Marriott
On Wed, Feb 08, 2012 at 11:37:45AM -0500, Nick Mathewson wrote: > On Tue, Feb 7, 2012 at 1:47 PM, Nicholas Marriott > wrote: > > Forwarding this message to ML at Nick's request... > > > > Hi > > > > You may remember a few months ago you fixed a problem with kqueue and > > EPIPE on pipes - I backpo

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Nicholas Marriott
On Wed, Feb 08, 2012 at 11:37:45AM -0500, Nick Mathewson wrote: > On Tue, Feb 7, 2012 at 1:47 PM, Nicholas Marriott > wrote: > > Forwarding this message to ML at Nick's request... > > > > Hi > > > > You may remember a few months ago you fixed a problem with kqueue and > > EPIPE on pipes - I backpo

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Nicholas Marriott
Well, fix libevent because we can't debug Google Chrome. Pretty sure libevent should try to be consistent here in what it does. Chrome is so big it makes our gdb freak out when built with symbols so it gets a little tricky... feel free to give it a go :-). On Wed, Feb 08, 2012 at 08:42:32AM -08

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Adrian Chadd
.. wait, you mean "fix the OS because you can't debug google chrome" ? :-) Adrian *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

Re: [Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-08 Thread Nick Mathewson
On Tue, Feb 7, 2012 at 1:47 PM, Nicholas Marriott wrote: > Forwarding this message to ML at Nick's request... > > Hi > > You may remember a few months ago you fixed a problem with kqueue and > EPIPE on pipes - I backported this fix to 1.4 and recently applied it to > OpenBSD. > > However, this is

[Libevent-users] [nicholas.marri...@gmail.com: libevent and invalid fds]

2012-02-07 Thread Nicholas Marriott
Forwarding this message to ML at Nick's request... Hi You may remember a few months ago you fixed a problem with kqueue and EPIPE on pipes - I backported this fix to 1.4 and recently applied it to OpenBSD. However, this is causing problems with Google Chrome. From what we can gather it appears t