From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23491 invoked by alias); 1 May 2015 18:19:57 -0000 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 Received: (qmail 23480 invoked by uid 89); 1 May 2015 18:19:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 01 May 2015 18:19:55 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2DE4E207E1 for ; Fri, 1 May 2015 14:19:53 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 01 May 2015 14:19:53 -0400 Received: from [192.168.1.102] (unknown [86.179.113.23]) by mail.messagingengine.com (Postfix) with ESMTPA id B50EEC00013; Fri, 1 May 2015 14:19:52 -0400 (EDT) Message-ID: <5543C3C5.1060003@dronecode.org.uk> Date: Fri, 01 May 2015 18:51:00 -0000 From: Jon TURNEY Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ken Brown , cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: xorg-server-1.17.1-3 References: <5542AA7E.5070504@cornell.edu> <55436A0A.2010603@dronecode.org.uk> <554374FF.7060708@cornell.edu> In-Reply-To: <554374FF.7060708@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-05/txt/msg00013.txt.bz2 On 01/05/2015 13:43, Ken Brown wrote: > On 5/1/2015 7:56 AM, Jon TURNEY wrote: >> On 30/04/2015 23:19, Ken Brown wrote: >>> On 4/29/2015 1:26 PM, Jon TURNEY wrote: >>>> >>>> The following packages have been updated in the Cygwin distribution: >>>> >>>> *** xorg-server-*1.17.1-3 >>> >>> I'm finding, on three different 64-bit Cygwin systems, that the server >>> dies shortly after starting. I'm attaching XWin.0.log from one of them. >>> The log from a 32-bit Cygwin install on the same machine starts the >>> same but then continues with >>> >>> [440201.140] winPointerWarpCursor - Discarding first warp: 640 512 >>> [440201.140] (--) 8 mouse buttons found >>> [440201.140] (--) Setting autorepeat to delay=500, rate=31 >>> [...] >>> >>> The problem goes away if I revert to 1.17.1-2. Let me know if there's >>> further information that I can provide. >> >> That is rather mysterious and disappointing. I can't reproduce this. >> >> Does this occur if you run XWin directly? > > Yes. > >> If so, could you perhaps upload a strace somewhere, please? > > http://sanibeltranquility.com/cygwin/xwin.trace.xz Thanks. This ends with ... --- Process 2996, exception c0000005 at 0000000180155C82 and... $ addr2line -e /usr/lib/debug/usr/bin/cygwin1.dbg 0x0000000180155C82 /usr/src/debug/cygwin-2.0.1-1/winsup/cygwin/malloc.cc:4753 ... which is somewhere inside free(). I don't quite understand why cygwin's exception processing doesn't then catch that exception and raise a SIGSEGV. However, I did a bit more staring at the changes in 1.17.1-3 and I did find a nasty bug in some code which uses the heap. I've uploaded a snapshot [1] with a possible fix, please test that if you can. [1] ftp://cygwin.com/pub/cygwinx/x86_64/XWin.20150501-git-b17931db63a48948.exe.bz2 -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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