delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/09/09:57:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41B8679F.2030902@x-ray.at>
Date: Thu, 09 Dec 2004 15:56:31 +0100
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: PostgreSQL: Bad system call
References: <1102602847 DOT 41b8625f63844 AT www DOT domainfactory-webmail DOT de>
In-Reply-To: <1102602847.41b8625f63844@www.domainfactory-webmail.de>
X-IsSubscribed: yes

Markus Hoenicka schrieb:
  once again I've hosed my PostgreSQL installation. I've more or less 
accidentally
> upgraded PostgreSQL to the latest version and it would start no more. I've
> perused the archives and collected all remedies I've found. Most notably:
> 
> - I had fixed the / and /bin permissions previously and made sure they're still
> ok
> - I made my postgres user account own the binary
> - I've removed the cygipc and cygipc2 services
> - I've installed cygserver and made sure it is actually started
> - Needless to say, I've rebooted the box too
> 
> No matter what I do, I'm now stuck with the following error. For test purposes I
> logged in to my postgres account and started postmaster manually with
> postmaster -d5 -D /usr/share/postgresql/data
> 
> [lots of DEBUG messages]
> DEBUG:  invoking IpcMemoryCreate(size=10461184)
> Bad system call
> 
> As I got stuck here I desperately tried various things, among them removing
> cygserver and starting cygipc2 again and downgrading to the previous PostgreSQL
> version. All this does not help a bit. I've not yet tried to downgrade
> cygwin1.dll to the previous version (1.5.11 vs. 1.5.12).
> 
> Can anyone throw me a ring here?

So finally someone else got the same cygserver problem as me!

The cause is that the internal cygserver msg buffer is allocated 
read-only. (IsBadWritePtr() fails)
Reason unknown. gcc? cygwin?
Solution pending.

Szteps to reproduce:
cygserver &
ipcs
=> Bad system call
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019