delorie.com/archives/browse.cgi | search |
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 |
Date: | Sun, 12 Oct 2003 21:02:58 +0200 |
From: | thomas <tom AT huno DOT net> |
Reply-To: | thomas <tom AT huno DOT net> |
X-Priority: | 3 (Normal) |
Message-ID: | <3015794265.20031012210258@huno.net> |
To: | Cygwin AT cygwin DOT com |
Subject: | Re: std::ofstream causes segfault in 1.5.x |
In-Reply-To: | <BAY2-DAV7ecSjDEwHme000014f7@hotmail.com> |
References: | <1041647656 DOT 20031012170712 AT huno DOT net> |
<BAY2-DAV7ecSjDEwHme000014f7 AT hotmail DOT com> | |
MIME-Version: | 1.0 |
>> >> 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. > The 1.3.22 environment wouldn't be using a different gcc version by any > chance? 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. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |