Subject: bug#18438: 24.4.50; assertion failed in bidi.c

From: Ken Brown <[email-masked]>
Date: Sat, 11 Oct 2014 09:58:07 -0400

On 10/11/2014 3:11 AM, Eli Zaretskii wrote:
> But I think any idea is worth trying at this time, certainly including
> yours.  Thanks.

OK, here's one more.  I just remembered a thread on emacs-devel in 
August 2013 involving mysterious crashes on 64-bit Cygwin, and you 
finally diagnosed the problem: The stack was too small. 
(http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00515.html)

Aidan, what happens if you give emacs a larger stack, say 8MB?  (The 
default on Cygwin is 2MB.)  You can do that at build time by adding

   LDFLAGS=-Wl,--stack,0x800000

to your 'configure' invocation.  Or you can do it after the build with 
the 'peflags' command:

    peflags -x0x800000 emacs.exe

Ken