From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30586 invoked by alias); 3 Aug 2005 15:19:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30495 invoked by uid 22791); 3 Aug 2005 15:19:35 -0000 Received: from lincl67.zevra.com (HELO admin.antartia.net) (194.88.15.41) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 03 Aug 2005 15:19:35 +0000 Received: (qmail 17863 invoked from network); 3 Aug 2005 15:19:33 -0000 Received: from 116.red-217-127-22.pooles.rima-tde.net (HELO novaelecserver) (217.127.22.116) by lincl67.zevra.com with SMTP; 3 Aug 2005 15:19:32 -0000 From: "Novaelec" To: Subject: Re: Postmaster core dumps Date: Wed, 03 Aug 2005 15:19:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2005-08/txt/msg00070.txt.bz2 Message-ID: <20050803151900.ZSa-22q5RSbeGdx0QzoKXuz4-4UDpwr5V3vI7vUF874@z> 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/