emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows 9X crash


From: Jussi Lahdenniemi
Subject: Re: Windows 9X crash
Date: Fri, 15 Jan 2016 11:56:34 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 15.1.2016 11.47, Fabrice Popineau wrote:
Strange that HeapAlloc() returns 4-byte aligned blocks and that is not
documented.
I used to have MSDN cdroms from that time
I would write a small program doing random allocation
and checking the alignment of the blocks returned.
Just to make sure that the problem does not lie elsewhere (?)

Emacs served well as the "small" program, and yes, HeapAlloc returned addresses that were 4-byte-aligned but not 8-byte-aligned. Fixing the alignment did make Emacs run smoothly, so alignment was indeed the problem.

I have now also tested the --with-wide-int build and it seems to work correctly as well.

--
Jussi Lahdenniemi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]