X-Spam-Check-By: sourceware.org
Message-ID: <45DB2A13.6070606@swipnet.se>
Date: Tue, 20 Feb 2007 18:04:19 +0100
From: "Jan D." <jan.h.d@swipnet.se>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: FW: Re: [emacs_user@hotmail.com: ***MEMORY-ERROR***: emacs[5172]:  GSlice: failed
References: <45D9678E.7090108@swipnet.se> <45DA98EF.6040205@swipnet.se>
In-Reply-To: <45DA98EF.6040205@swipnet.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jan Djärv wrote:
>
> Christopher Faylor wrote:
>
>> Thanks much for the details.  We do want to make things work correctly
>> but, if that just means some work in emacs source code, then someone who
>> is familiar with emacs will have to do that, i.e., someone else will
>> have to come up with the config.h.
>>
>> OTOH, if someone could debug exactly why the error was occurring from
>> one of the above calls then maybe we could make cygwin work better,
>> too.  Again, this requires someone who has access to emacs source
>> and (presumably) knows how to use a debugger.
>
> I got W32 and cygwin up on a (not so fast) spare box, so I'm looking 
> in to it now.  memalign is definitely the function failing, but 
> something more is going on here, I can't yet reduce this to a more 
> simple case.
>
> Will keep trying though.
>

It seems that when Emacs defines its own malloc and friends, memalign 
returns ENOSYS.  But emacs defines its own memalign as well.  Shouldn't 
that one be called?

    Jan D.



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

