Package: nsis
Version: 2.19-1
Severity: grave

Note: I'm now using 2.19 with patch from #383336, but I hit this segfault under
similar conditions in 2.18 as well.

$ makensis /dev/null
MakeNSIS v2.19-1 - Copyright 1999-2006 Nullsoft, Inc.

[...]
Processing config:
Processing plugin dlls: "/usr/share/nsis/Plugins/*.dll"
ViolaciĆ³ de segment

gdb backtrace is fubarred and useless, but strace reveals interesting stuff:

$ strace makensis /dev/null
[...]
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ab27892f000
[...]
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ab27892f000
[...]

Looks like a lack of error check issue.  open fails and returns -1, which 
remains
unchecked, then mmap is called with -1 as argument and also remains unchecked.
Eventualy something accesses 0x2ab27892f000 which is believed to be allocated
but in fact isn't.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ca_AD.UTF-8)

Versions of packages nsis depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-19  GCC support library
ii  libstdc++6                   4.1.1-19    The GNU Standard C++ Library v3

nsis recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to