delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/12/13:13:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [150.101.116.207]
X-Originating-Email: [tilps AT hotmail DOT com]
From: "Gareth Pearce" <tilps AT hotmail DOT com>
To: "'thomas'" <tom AT huno DOT net>, "'Corinna Vinschen'" <cygwin AT cygwin DOT com>
Subject: RE: std::ofstream causes segfault in 1.5.x
Date: Mon, 13 Oct 2003 03:13:47 +1000
MIME-Version: 1.0
In-Reply-To: <1041647656.20031012170712@huno.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <BAY2-DAV7ecSjDEwHme000014f7@hotmail.com>
X-OriginalArrivalTime: 12 Oct 2003 17:13:48.0771 (UTC) FILETIME=[33839330:01C390E4]


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
> Of thomas
> Sent: Monday, 13 October 2003 1:07 AM
> To: Corinna Vinschen
> Subject: Re: std::ofstream causes segfault in 1.5.x
> 
> On Sonntag, 12. Oktober 2003 at 10:34:02, Corinna Vinschen 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.
> 
> Hmmm that is certainly most interesting. It's just opening a simple file
> to
> write ~10 lines to it. The exact same source code compiled in a 1.3.18
> environment works perfectly. I'm gonna debug it some more and see if i can
> find what makes the difference.

The 1.3.22 environment wouldn't be using a different gcc version by any
chance?

Gareth

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