From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 872 invoked by alias); 27 Feb 2012 15:24:18 -0000 Received: (qmail 860 invoked by uid 22791); 27 Feb 2012 15:24:17 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from gaia.sthlm.prover.com (HELO gaia.sthlm.prover.com) (192.71.47.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Feb 2012 15:24:04 +0000 Received: from [192.71.47.207] (192.71.47.207) by gaia.sthlm.prover.com (192.71.47.2) with Microsoft SMTP Server (TLS) id 14.0.722.0; Mon, 27 Feb 2012 16:21:28 +0100 Message-ID: <4F4BA00E.2020806@prover.com> Date: Mon, 27 Feb 2012 16:54:00 -0000 From: Andres Martinelli User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Subject: 1.7.10/1.7.11: .Net programs started from a cygwin console may fail. Content-Type: multipart/mixed; boundary="------------090207050106050306050100" Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-02/txt/msg00804.txt.bz2 --------------090207050106050306050100 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit Content-length: 989 Hi Cygwin, Many .Net programs that use to run correctly from a cygwin 1.7.9 console started throwing exceptions after updating to versions 1.7.10/1.7.11. I have noticed this problem on machines running Windows XP and Vista (32bits). I attach a very small example that triggers the bug. The example is written in C#, and requires the .Net framework versions 2.0 or 3.5. How to reproduce: 1) Compile the example with csc bug.cs The c# compiler (csc), can be usually found in C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe or C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe 2) Run the resulting bug.exe from a cygwin 1.7.10/1.7.11 console. It throws an exception. 3) Run bug.exe from a native windows console (or a cygwin 1.7.9 console). It runs without producing any output, and without throwing any exceptions. Be aware that the bug is not triggered if the example is compiled with the .Net framework 4.0. Best regards, Andrés Martinelli --------------090207050106050306050100 Content-Type: text/plain; charset="UTF-8"; name="bug.cs" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bug.cs" Content-length: 606 77u/dXNpbmcgU3lzdGVtLlhtbDsNCnVzaW5nIFN5c3RlbS5YbWwuU2NoZW1h Ow0KdXNpbmcgU3lzdGVtLlhtbC5TZXJpYWxpemF0aW9uOw0KDQpjbGFzcyBQ cm9ncmFtIHsNCiAgc3RhdGljIHZvaWQgTWFpbihzdHJpbmdbXSBhcmdzKSB7 DQogICAgWG1sU2VyaWFsaXplciBzZXJpYWxpemVyID0gbmV3IFhtbFNlcmlh bGl6ZXIodHlwZW9mKFNpbXBsZSkpOw0KICB9DQp9DQoNCnB1YmxpYyBjbGFz cyBTaW1wbGUgOiBJWG1sU2VyaWFsaXphYmxlIHsNCiAgI3JlZ2lvbiBJWG1s U2VyaWFsaXphYmxlIE1lbWJlcnMNCiAgcHVibGljIFhtbFNjaGVtYSBHZXRT Y2hlbWEoKSB7IHJldHVybiBudWxsOyB9DQogIHB1YmxpYyB2b2lkIFJlYWRY bWwoWG1sUmVhZGVyIHJlYWRlcikgeyB9DQogIHB1YmxpYyB2b2lkIFdyaXRl WG1sKFhtbFdyaXRlciB3cml0ZXIpIHsgfQ0KICAjZW5kcmVnaW9uDQp9 --------------090207050106050306050100 Content-Type: text/plain; charset=us-ascii Content-length: 218 -- 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 --------------090207050106050306050100--