delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/16:09:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <000601c4a660$104cb3f0$210443d4@home>
From: "Alex Alexandrov" <alex_alexandrov AT fromru DOT com>
To: <cygwin AT cygwin DOT com>
References: <20040929092001 DOT GL14978 AT cygbert DOT vinschen DOT de>
Subject: Re: Problems on Itanium: Found the Cause, What's Next?
Date: Thu, 30 Sep 2004 00:06:11 +0400
MIME-Version: 1.0
FL-Build: Fidolook 2002 (SL) 6.0.2800.85 - 28/1/2003 19:07:30

Hi, Corinna Vinschen, you wrote

> It also works fine on a x86_64 machine in 32 bit mode.

Yes, I've checked it too - it really works on Intel EM64T (didn't test it on 
AMD64).

> No, because this would also exclude x86_64 machines.

Probably, a better approach is needed. It is possible to check 
PROCESSOR_ARCHITECTURE envvar but it looks a little clumsy.

> Actually I'm somewhat in doubt that CreateFileMapping/MapVieOfFile
> functionality should actually be so broken on the ia64 platform.
> Are you really sure that the culprit isn't somewhere else?
> Your test application uses a very common idiom, so I'd guess that
> a lot more applications would fail miserably on ia64 in 32 bit mode.

Belieive it or not, it is! I've double checked it (I mean I've done that on 
2 computers :-) ). It is easily reproducible with cygwin - any malloc for a 
big memory chunk causes segmentation fault (if I understand correctly malloc 
requests for big memory areas lead to mmap call).

I've posted the bug report to public.win32.programming.kernel and 
private.windowsserver_64bit msft mailing lists - no answer so far...

With best regards, Alex Alexandrov.  E-mail: alex1_alexandrov2 AT fromru3 DOT com4 
(remove numbers before e-mailing me) 


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