delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/01/16:26:06

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=h1bmdIvDMIkaZmS/39SZCg3+0WLiHv75yuhB0r/uKUV
VtsYhEPmZzhtV5f6gYkmOUUCTBKz64ouHFPITvaZb9xntJBH/V9uplMfbED3h5Aa
JYBWSqrImm0MIhxbraZUwund72T0DXS7jRLfXiIzCmWQ9Aej4fCKNPVNVMKgZjn0
=
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=2RxPbCGApABkxGpUu1YvYwHHvzM=; b=xVy8TjMACiNsN8bVA
veGZGHX9V3qJd4obMsrCZ9SEI8O7TZVsdmyIIa/5Np5gIInzF4ut4Amzr9jJcG8J
186tBuMPdHuzMJTMrC6LqIUMRtHZrokav5dq1b+BVFwRGo0VSNhF9V379MntGmtl
9GR+3T1GZ+g499oAWowDtsTkbM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <5543E14A.1010802@cornell.edu>
Date: Fri, 01 May 2015 16:25:46 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: xorg-server-1.17.1-3
References: <announce DOT 55411449 DOT 7020106 AT dronecode DOT org DOT uk> <5542AA7E DOT 5070504 AT cornell DOT edu> <55436A0A DOT 2010603 AT dronecode DOT org DOT uk> <554374FF DOT 7060708 AT cornell DOT edu> <5543C3C5 DOT 1060003 AT dronecode DOT org DOT uk>
In-Reply-To: <5543C3C5.1060003@dronecode.org.uk>
X-IsSubscribed: yes

On 5/1/2015 2:19 PM, Jon TURNEY wrote:
> 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.

That fixes it.  Thanks.

Ken


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019