Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 12 Oct 2003 17:07:12 +0200
From: thomas <tom@huno.net>
Reply-To: thomas <tom@huno.net>
X-Priority: 3 (Normal)
Message-ID: <1041647656.20031012170712@huno.net>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: std::ofstream causes segfault in 1.5.x
In-Reply-To: <20031012083402.GB10908@cygbert.vinschen.de>
References: <9525451343.20031010223436@huno.net>
 <20031012083402.GB10908@cygbert.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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.

thomas




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

