> 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;
}
> and starting a new job,
Congrats.
Cheers,
Claudio
---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>