Message-Id: <200508031519.j73FJsjR010494@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Novaelec" To: Subject: Re: Postmaster core dumps Date: Wed, 3 Aug 2005 17:17:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/