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: Sun, 12 Oct 2003 21:36:00 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: std::ofstream causes segfault in 1.5.x Message-ID: <20031012193600.GA15633@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1041647656 DOT 20031012170712 AT huno DOT net> <3015794265 DOT 20031012210258 AT huno DOT net> <20031012190614 DOT GA4514 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031012190614.GA4514@redhat.com> User-Agent: Mutt/1.4.1i On Sun, Oct 12, 2003 at 03:06:14PM -0400, Christopher Faylor wrote: > On Sun, Oct 12, 2003 at 09:02:58PM +0200, thomas wrote: > >>> >> 28 7293919 [main] cdrdao 1576 mmap64: addr 0, len 1065811968, prot 3, flags 22, fd -1, off 0 > >>>>Can you tell me why the process tries to mmap 1065811968 bytes == > >>>>~1Gig? That won't work, nor would it under 1.3.22 on the same machine. > >>>>The cause for this is outside of the strace and very likely outside of > >>>>mmap itself. > >[...] > >Actually no, they are both "gcc version 2.95.3-10 (cygwin special)". > >However that gave me the idea to build the same source with "gcc > >version 3.3.1 (cygming special)" on 1.5.5 now, and it works flawlessly! > >No sight of mmap64 in the strace output either. > > Well, that was adequate motivation to get me to finally remove the gcc2 > package. > > Looks like the standard answer of using http://cygwin.com/problems.html > was the right one in this case. I apologize to Corinna for dragging her > into this. No worries. I'm just annoyed with myself since I was going to ask for the used gcc version in my first posting and removed that question again before sending it :-P Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/