X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=maitSrbNm+2Iex2Thv+2qSzM+fP2oCFeW9oIQquIDf0 zfHo2zdV3satvh9VXdKTh+dvOF75P7Rlufo6V4r/82qDLKXNJK8qwXfcVAXgqGx8 Gn0ikRHOCzfoa+LH0mXvmwZYR61UFKbEJJhDhcY2hXur0+SF/ojhTyQhmjcJzEOk = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=SCjuXyC5jRwFCPweF4aYZLI6jNc=; b=B+VPw+LFv5kOfZBLB 8ofX2BqYP9v6cg27mKpUy62DvNzuPIDvTtViutrPsrX4xVAhykmWIUsRgB7eTMAb DhGLFYD6Ygx1ibXa7IEHJa4TbRsz7KzmNV1RvzN9vdAG2vSP6n6YAfW5xp11pTt5 71pFFP9iHOLemGHZA8ElsOByVk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Message-ID: <51ADCCA2.9000501@trackitsystems.de> Date: Tue, 04 Jun 2013 13:16:50 +0200 From: "Ralf Glaser, track IT" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: CppUTest generated executables hangs after cygwin auto-update References: <519E0450 DOT 60704 AT trackitsystems DOT de> <20130523122928 DOT GA23537 AT calimero DOT vinschen DOT de> <20130523150319 DOT GB7647 AT ednor DOT casa DOT cgf DOT cx> <519F2657 DOT 9040103 AT trackitsystems DOT de> <20130524090407 DOT GB5852 AT calimero DOT vinschen DOT de> <519F831B DOT 1010204 AT trackitsystems DOT de> <20130524213126 DOT GA29494 AT calimero DOT vinschen DOT de> In-Reply-To: <20130524213126.GA29494@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 2013-05-24 and 2013-06-03 snapshots are working fine. Thanks and best regards, Ralf Am 24.05.2013 23:31, schrieb Corinna Vinschen: > On May 24 17:11, Ralf Glaser, track IT wrote: >> I attached strace log: >> 2. failed when called from /cygdrive/c/Tools/... with 2012-11-23 DLL >> >> Hope that helps. > Actually the straces didn't really help, but that's not your fault. > I grabbed CppUTest, built it and could immediately reproduce the > problem. It's a Cygwin DLL build problem which has been introduced > between 1.7.17 and 1.7.18 when we made a pretty invasive changed to the > build system after switching from using Mingw-w64 instead of Mingw.org. > > What happens is that the Cygwin DLL uses the wrong entry points for the > new and delete functions. In theory the DLL is supposed to use its own > internal implementations, but accidentally it uses the external new and > delete entry points which are supposed to be used by the application. > > The hang is not really the problem, rather it's just a followup effect > of that build time misbehaviour, combined with the fact that CppUTest > defines its own new and delete functions. > > The actual bug is a gcc flag which has accidentally been used when > compiling object files, rather than when linking the DLL, where it > belonged. I fixed that in CVS and I just generated a 2012-05-24 > snapshot, which you can download from http://cygwin.com/snapshots/ > Please give it a try. > > For those already running the 64 bit Cygwin, I'm also generating a > 1.7.19-6 64 bit cygwin package right now, which should be available > in half an hour at the latest, too. The 64 bit Cygwin suffered the > same problem, I just couldn't test CppUTest because it doesn't build > cleanly on 64 bit Cygwin. > > > Corinna > -- 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