Re: Child panics on OpenSolaris

2010-02-17 Thread Poul-Henning Kamp
In message <282e72051002170852g532cd8acqb570e6db4b829...@mail.gmail.com>, Paul Wright writes: >(The cookie header ensures the request is passed through to the >backend. Curl will respond with "Failure when receiving data from the >peer".) How on earth did you get the Range header to be passed th

Re: Child panics on OpenSolaris

2010-02-17 Thread Paul Wright
On 17 February 2010 11:14, Poul-Henning Kamp wrote: > In message <282e72051002170310g565a26d8s98170fcebb9b2...@mail.gmail.com>, Paul > Wright writes: >>On 17 February 2010 10:57, Poul-Henning Kamp wrote: > >>I have pulled the latest revision and can confirm that unlink("/") >>failed as expected.

Re: Child panics on OpenSolaris

2010-02-17 Thread Poul-Henning Kamp
In message <282e72051002170310g565a26d8s98170fcebb9b2...@mail.gmail.com>, Paul Wright writes: >On 17 February 2010 10:57, Poul-Henning Kamp wrote: >I have pulled the latest revision and can confirm that unlink("/") >failed as expected. I ran it briefly and saw this panic: > >Child (28554) died

Re: Child panics on OpenSolaris

2010-02-17 Thread Paul Wright
On 17 February 2010 10:57, Poul-Henning Kamp wrote: > In message <282e72051002170230k7ae8e0c8hc2d5226ca9288...@mail.gmail.com>, Paul > Wright writes: > >>I've compiled with the additional -mt flag, here's my current >>compilation process: > > Please pull a brand new -trunk, I have added a check fo

Re: Child panics on OpenSolaris

2010-02-17 Thread Poul-Henning Kamp
In message <282e72051002170230k7ae8e0c8hc2d5226ca9288...@mail.gmail.com>, Paul Wright writes: >I've compiled with the additional -mt flag, here's my current >compilation process: Please pull a brand new -trunk, I have added a check for errno working and I would like to make sure that passes for

Re: Child panics on OpenSolaris

2010-02-17 Thread Poul-Henning Kamp
In message <4b7bc0d5.7080...@schokola.de>, Nils Goroll writes: >> That's another piece of autocrap stuff that needs fixed... > >Do you want me to do it? Send patches! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

Re: Child panics on OpenSolaris

2010-02-17 Thread Paul Wright
On 16 February 2010 20:48, Poul-Henning Kamp wrote: > > OK, > > It took me a day to liberate a machine to install OpenSolaris on. > > Then it took most of a day to remember why I really like FreeBSD > over Solaris. > > Then I got distracted by the failing non-blocking connect to backends > and ran

Re: Child panics on OpenSolaris

2010-02-17 Thread Nils Goroll
Hi Poul-Henning, > Yeah, we clearly need to improve the autocrap magic a bit to get stuff > like this right. Yes. I'm sorry for not having documented this a year ago. Would have saved a lot of pain and effort... > I have added a runtime test now, which panics the child process if the > errno v

Re: Child panics on OpenSolaris

2010-02-17 Thread Poul-Henning Kamp
In message <4b7bbdfa.7080...@schokola.de>, Nils Goroll writes: >Hi Poul-Henning and all, > >> We need CFLAGS to contain -mt on solaris, otherwise errno does not >> get macro-fied to be per-thread. >> >> That's where the: EBADF comes from, some entirely different >> filedescriptor a long time ago,

Re: Child panics on OpenSolaris

2010-02-17 Thread Nils Goroll
Hi Poul-Henning and all, > We need CFLAGS to contain -mt on solaris, otherwise errno does not > get macro-fied to be per-thread. > > That's where the: EBADF comes from, some entirely different > filedescriptor a long time ago, in the master process... Fantastic. Thank you for putting so much eff