Archive: special build with long strings (8192) crashes


special build with long strings (8192) crashes
Hi,

if I compile my NSIS scripts with v2.45 (standard string length) there are no warnings and no errors. But using the special build nsis-2.45-strlen_8192.zip the compiler crashes. I just replaced makensis.exe and the Stubs directory of v2.45 standard by the files provided with the special build. Are there any other steps required to get it running?

Best regards


We have the same problem with the long string variant.
The problem is a stack overflow in makensis.exe.
Windows applications have a default stack size of 1MB.
The long string variant exceeds that size.

We resolved that problem by compile our own version of NSIS with
APPEND_LINKFLAGS=/STACK:8388608 to set the stack size of 8MB.