Re: initdb crash - Mailing list pgsql-hackers-win32

From Neil Harrilall
Subject Re: initdb crash
Date
Msg-id 000801c463a6$80548440$c7dfc045@neil3gvoyfiu40
Whole thread Raw
In response to Re: initdb crash  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: initdb crash
List pgsql-hackers-win32
Is anyone getting this crash when installing on ntfs an partition or
only on fat32?  I have gotten the initdb crash installing on fat32.
Used xcacls to set permissions and got no errors!
However if an app is making use of these acls, I would assume that
it will crash.
Will try installing on ntfs partition soon.

Cheers,
Neil

----- Original Message -----
From: "Magnus Hagander" <mha@sollentuna.net>
To: "Gary Doades" <gpd@gpdnet.co.uk>; <pgsql-hackers-win32@postgresql.org>
Cc: "Merlin Moncure" <merlin.moncure@rcsonline.com>
Sent: Sunday, July 04, 2004 1:31 PM
Subject: Re: [pgsql-hackers-win32] initdb crash


>> > Hm.  Whether those macros are wrong or not, we're still
>left wondering
>> > why it would exit(5), either.
>> >
>> > The crash is apparently coming during the first attempt to
>insert a row
>> > from the postgres.bki file.  That does not seem consistent with the
>> > theory about a permissions problem; if we had no directory
>permissions
>> > I'd have expected a failure at the previous "create
>pg_proc" step.  (For
>> > that matter, how'd we have managed to create all the
>subdirectories and
>> > configuration files?  The permissions theory doesn't hold
>water at all.)
>> >
>> > regards, tom lane
>>
>
>Hmm, I've just rebuilt this from the latest source snapshot
>tarball and it works perfectly.
>Could this be a bad build of the binary on the snapshot website?

It could be. It's starting to sound more and more like it. I've tried a
whole bunch of different permission sets on dirs/parents/etc, and I'm
completley unable to reproduce the problem.

Looking at the build switches, the difference is I'm building without
zlib and without ssl, but with asserts enabled. Unfort, my mingw env is
a bit broken, so I can't try it with zlib and ssl enabled. Could you try
that (the exact commandline is on the www.hagander.net/pgsql/win32snap/
page), and see if one of those switches is what causes the problem?

Merlin - can you comment on wether that commandline used to build is
correct or if it has changed lately, and wether you see the same
problem?


//Magnus

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

pgsql-hackers-win32 by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: session time
Next
From: "Andrew Dunstan"
Date:
Subject: Re: initdb crash