public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.7.12 breaks stdout of upx packed executables
@ 2012-04-04 10:21 Roland Schwingel
  2012-04-04 11:12 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Schwingel @ 2012-04-04 10:21 UTC (permalink / raw)
  To: cygwin

Hi...

Just updated to 1.7.12 and found one regression. If you have upx packed 
executables (upx from cygwin distribution) the stdout of the packed 
executable is broken now.

Try the following from mintty:
upx --best /usr/bin/tar.exe -o /tmp/tar.exe
/tmp/tar.exe

You will notice that when you invoke the compressed /tmp/tar.exe that no 
output will be sent to the mintty console, while it works if you just 
invoke /usr/bin/tar.exe

It works just fine with 1.7.11. When you decompress the executable using 
upx -d it will start to work again.

This is not specific to tar, but to any exe I have seen right now.

Strange,

Roland

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: 1.7.12 breaks stdout of upx packed executables
@ 2012-04-04 13:30 Roland Schwingel
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Schwingel @ 2012-04-04 13:30 UTC (permalink / raw)
  To: cygwin

Hi Corinna,

 > > Thanks for the report.  It's not so much breaking stdout, but rather
 > > that the executable is not recognized as Cygwin executable due to a 
dumb
 > > mistake I made when computing the size of a section.  Fixed in CVS.
 >
 > ...and in the latest snapshot.  Would you mind to test the latest
 > snapshot from http://cygwin.com/snapshots/ ASAP?
Just tested it appears to work! Thanks for the fast fix!!!

Roland

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-04 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04 10:21 1.7.12 breaks stdout of upx packed executables Roland Schwingel
2012-04-04 11:12 ` Corinna Vinschen
2012-04-04 13:04   ` Corinna Vinschen
2012-04-04 13:30 Roland Schwingel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).