All current versions of makensis (which is part of the nsis package) crash when the total size of the installed files exceeds 2 GiB and compression option /SOLID is set. I tested both the nsis package which is part of Debian bullseye and a newer locally built version. The crash is caused by an 32 bit integer overflow, at least in Source/mmap.cpp. I observer SIGBUS, SIGSEGV and mmap related error messages, depending on the files which were to be installed. The bug can be avoided by removing /SOLID, so instead of whole file compression only the single installed files get compressed, but that results in a larger installer. Fixing the bug would require lots of code changes, mainly replacing "int" by "unsigned int" (which would have a limit at 4 GiB) or "size_t". A check for integer overflow and aborting with an reasonable error message would be easier to implement.