Mail Archives: cygwin/2005/08/03/11:19:54
Hello Corinna,
I think the problem is in cygserver because the bug is related to semaphores
when I use gdb.
Here you have a case where you get the error:
First, you must install postgresql (ver. 7) with Cygwin installation. Later,
configure the database:
$ /usr/sbin/cygserver&
$ export CYGWIN=server
$ initdb -D /usr/local/pgsql/data -W -E LATIN1
And now comes the problem:
$ postmaster -D /usr/local/pgsql/data
It returns "segmentation fault (core dumped)".
Any idea?
Thanks for your answer ;)
On Aug 1 16:20 Corinna Vinschen wrote:
>On Jul 18 22:06, Reini Urban wrote:
>> Novaelec schrieb:
>> >I run gdb with postmaster, the last process necessary to complete the
>> >PostgreSQL installation and which makes memory faults.
>> >
>> >I got then a little text about semaphores, the 'semget' function and a
>> >little tip to configure /usr/local/data/postgresql.conf, but I've been
>> >trying to make postmaster works helped for that info and another one
from
>> >internet without get any result.
>> >
>> >Any idea? Now I know the problem is related to semaphores, but I don't
get
>> >any progress in that sense.
>>
>> Most likely it's not semget() but earlier in the initial IPC setup in
>> CreateSharedMemoryAndSemaphores() with parallel connections.
>> I always get IsBadWritePtr() in shminit() since 8.0-beta3.
>
>Does that mean it's a bug in postgresql or in cygserver? If the latter,
>can you prepare a minimal testcase, please?
>
>
>Thanks,
>Corinna
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -