Both of these files compress nicely with upx -i node.exe
http://nodejs.org/dist/v0.10.26/node.exe
http://nodejs.org/dist/v0.10.26/x64/node.exe
However when I run upx -d node.exe on the resulting exe it crashes when run, I'm not sure how typical this is. Also I've tried compiling the source with vs2010 express and with vs2013 express, in both cases the same problem occurs.
Which version of UPX did you use? I was unable to reproduce the crash using v3.91 under linux+wine.
I'm using UPX 3.91w and i'm running on windows 8.1 64bit UK locale
upx -i node.exe -v
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2013
UPX 3.91w Markus Oberhumer, Laszlo Molnar & John Reiser Sep 30th
2013
-------------------- ------ ----------- -----------
[Processing node.exe, format win32/pe, 5 sections]
Copying original stub: 248 bytes
Found overlay: 2920 bytes
Processing imports: 7 DLLs
Imports: original size: 6275 bytes, preprocessed size: 3949 bytes
Resources: compressed 5 (7028 bytes), not compressed 8 (100812 bytes)
[WARNING] exports compressed, --compress-exports=0 might be needed
[Writing compressed file]
Writing loader: 1024 bytes
Writing compressed data: 1961344 bytes
Copying overlay: 2920 bytes
5789544 -> 2068328 35.73% win32/pe node.exe
Packed 1 file.
upx -d node.exe -v
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2013
UPX 3.91w Markus Oberhumer, Laszlo Molnar & John Reiser Sep 30th
2013
-------------------- ------ ----------- -----------
5789544 <- 2068328 35.73% win32/pe node.exe
Unpacked 1 file.
node.exe[Window Title]
Evented I/O for V8 JavaScript
[Main Instruction]
Evented I/O for V8 JavaScript has stopped working
[Content]
Windows can check online for a solution to the problem.
[^] Hide problem details [Check online for a solution and close the
program] [Close the program]
Problem signature:
Problem Event Name: APPCRASH
Application Name: node.exe
Application Version: 0.10.26.0
Application Timestamp: 5303f033
Fault Module Name: node.exe
Fault Module Version: 0.10.26.0
Fault Module Timestamp: 5303f033
Exception Code: c0000005
Exception Offset: 00321fbf
OS Version: 6.3.9600.2.0.0.256.48
Locale ID: 2057
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 80a7
Additional Information 4: 80a7ccd5015bce3d41120fe057d4f98f
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262
If the online privacy statement is not available, please read our privacy
statement offline:
C:\windows\system32\en-US\erofflps.txt
On 18 March 2014 21:32, "László Molnár" ml1050@users.sf.net wrote:
Related
Bugs: #231
here is the decompressed output 7-zipped
On 18 March 2014 21:41, Andrew Challen andrew@challen.info wrote:
Related
Bugs: #231
Last edit: Andrew Challen 2014-03-19
Unfortunately I'm still unable to reproduce the crash. Now I used UPX 3.91w to compress and uncompress your test file, but there is no crash under wine :-/
And I'm not sure how to interpret the APPCRASH stuff.
Maybe you could try adding some command line options like:
--compress-exports=0 and --strip-relocs=0 ...
The exe i sent you crashes in window 8.1 x64 and window 7 x64
this exe was produced with
upx -i node.exethenupx -d node.exeI've tried turning off options in compression and it does not work.
The compressed version is always working fine, the decompressed version
always crashes. I'm not sure how to work out what the appcrash means either.
On 18 March 2014 23:00, "László Molnár" ml1050@users.sf.net wrote:
Related
Bugs: #231