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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 11 Oct 2014 17:24:55 +0300

> Date: Sat, 11 Oct 2014 09:58:07 -0400
> From: Ken Brown <[email-masked]>
> CC: [email-masked], [email-masked]
> 
> 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

Thanks, this is indeed worth pursuing.  The MinGW build already
specifies a 8MB stack at link time, see configure.ac.