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 Date: Tue, 2 Dec 2003 07:17:34 -0500 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: ecpg in postgresql 7.4 generates: cygheap_fixup_in_child: Couldn't reserve space for cygwin's heap Message-ID: <20031202121733.GA1660@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20031201200555 DOT GA15214 AT ping DOT be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031201200555.GA15214@ping.be> User-Agent: Mutt/1.4i Kurt, On Mon, Dec 01, 2003 at 09:05:55PM +0100, Kurt Roeckx wrote: > I recently upgraded to postgresql 7.4-1. Now when I try to run my > program linked with ecpg.dll I get: > > 12 [unknown (0x2A4)] ? 456 cygheap_fixup_in_child: Couldn't > reserve space for cygwin's heap (0x61600000 <0x470000>) in child, > Win32 error 487 > C:\cygwin\home\kurt\tst.exe: *** m.AllocationBase 0x0, > m.BaseAddress 0x61600000, m.RegionSize 0x80000, m.State 0x10000 Rebasing my system fixed the above problem: $ rebaseall ... $ ecpg tst.pgc $ gcc tst.c -o tst -lecpg $ ./tst $ Please read the rebase README: http://www.tishler.net/jason/software/rebase/rebase-2.2.README Does rebaseall work for you too? Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/