From: | Patrick Samson <p_samson(at)yahoo(dot)com> |
---|---|
To: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: CVS HEAD |
Date: | 2004-04-14 07:57:09 |
Message-ID: | 20040414075709.81934.qmail@web60310.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
FYI, similar problem reported, 21 mar 2004, in
"How many fds can *you* open?"
http://cygwin.com/ml/cygwin/2004-03/msg00984.html
But cfg terminated the thread with rudeness. :(
--- Claudio Natoli <> wrote:
>
>
> > I'm seeing PostgreSQL 7.4.2's postmaster SEGV on
> startup under 1.5.9-1
> > too. AFAICT, the stackdump indicates the problem
> is in the
> > Cygwin DLL.
>
> Well, that confirms things. 7.4.2 includes a
> repeated call to dup(0) to get
> an estimate for the max number of fds, whilst 7.4.1
> does not.
>
> Code like that below should not SEGV, IMNSHO. Want
> me to push this over to
> the cygwin list?
>
>
> #include <errno.h>
>
> int main(void)
> {
> int i;
> for (i = 0; ; i++)
> {
> printf("i = %d\n",i);
> if (dup(0) < 0)
> {
> printf("dup failed\n");
> return -1;
> }
> }
> return 0;
> }
>
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
From | Date | Subject | |
---|---|---|---|
Next Message | Meikel Bisping | 2004-04-14 08:12:48 | initdb failed due to missing textutils |
Previous Message | Leeuw van der, Tim | 2004-04-14 07:09:42 | Re: shutting down ipc-daemon2? |