From: SourceForge.net <no...@so...> - 2009-10-01 11:27:48
|
Bugs item #2812241, was opened at 2009-06-25 15:57 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=2812241&group_id=22049 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build System Group: 2.0 Series Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jeremy Shaver (jshaver) Assigned to: Amir Szekely (kichik) Summary: long strings version 2.45 crashes with EnvVarUpdate.nsh Initial Comment: A particular but simple series of includes causes the Long String build of NSIS Version 2.45 to CRASH (see crash notes below from my VISTA system) when including the EnvVarUpdate.nsh ( http://nsis.sourceforge.net/Path_Manipulation ) but ONLY when it is called from an included .nsh file. This is reproducible on Win Vista and Win 2K on 2.40, 2.44, and 2.45. This does NOT happen on 2.05. It also works fine with the standard (1024-length-string) build. Create the following files, then do: makensis file1.nsh file1.nsh ------------ ;;; !include "EnvVarUpdate.nsh" ;if included here, it works OK but comment this out !include file2.nsh file2.nsh ------------ !include "EnvVarUpdate.nsh" ;included here crashes !include "MUI2.nsh" CRASH GIVES: Problem signature: Problem Event Name: APPCRASH Application Name: makensis.exe Application Version: 0.0.0.0 Application Timestamp: 4a2ae2d9 Fault Module Name: makensis.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 4a2ae2d9 Exception Code: c00000fd Exception Offset: 0004f8f7 OS Version: 6.0.6001.2.1.0.256.6 Locale ID: 1033 Additional Information 1: f509 Additional Information 2: df26dd7229b907994e6475142dc3cfce Additional Information 3: 69b5 Additional Information 4: f72317715476163f9e43efc8afd115f4 ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-10-01 11:27 Message: 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. We resolved that problem by compile our own version of NSIS with APPEND_LINKFLAGS=/STACK:8388608 to set the stack size of 8MB. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-06-25 16:05 Message: Note the: !include "MUI2.nsh" line in file2 can be omitted and the problem still occurs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=2812241&group_id=22049 |