emacs-devel
[Top][All Lists]
Advanced

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

Re: 64-bit emacs crashes a lot


From: Eli Zaretskii
Subject: Re: 64-bit emacs crashes a lot
Date: Sat, 17 Aug 2013 10:01:39 +0300

> Date: Fri, 16 Aug 2013 16:33:51 -0400
> From: Ken Brown <address@hidden>
> CC: address@hidden, address@hidden
> 
> > Is it possible that the stack of the 64-bit Cygwin binary is too
> > small?  Can you try building Emacs with a larger stack?
> 
> You are brilliant!

I wish this were true.  I'm just a guy with a lot of gray hair.  But
thanks anyway.

> I added LDFLAGS='-Wl,--stack,4194304' to the compilation, and the
> bug is gone.  Thank you.

So what size of stack was Emacs using before that?

FWIW, even the 32-bit native Windows build uses twice that number
(8MB), so perhaps enlarge the parameter even more.

Also please note that Ryan couldn't build with --enable-checking=all
because the value of STATIC_HEAP_SIZE in sheap.c was too small.  I
suggest to enlarge it as needed.

Thanks.



reply via email to

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