X-Recipient: archive-cygwin@delorie.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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=dPMQinQdoIp48Gim
	wTxfaTGjZ5G3DuLWyLqKCZYTCJnOUDhOZNRtMSb3hE8IxL175IF+cU9ZV7HT1a15
	75d3Gc5+m6cTAnrQ6F+iMVfyIyvEl9r4AKpaeyxJva12cZG/68iCcj+lVQZA3U68
	R/EFxefepFq7wFDKb3xagWOFux4=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=4wjx6/9EDIL7ZHWl05LP2r
	FMxOs=; b=Y8Qq7pLg6NF4z1M091bCsmeNbrTZ0PORhiTHKooeRVv5cEUlBGzspS
	Ix81u2IaMhPcvopM17n5L7PzLpZ4ivmvhQvMf1HQ0l7cGPsIygoxCaXkwcGqYI6X
	A0Dv2qcMbeHINtRuV+q3vBp8JfHPkhLtyHKEdQv+QJnlaM66rgzJ4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=licensed, Roboto, din, roboto
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=GopsBH9C c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=lwk0ZyOBC6brI4ksNA8A:9 a=QEXdDO2ut3YA:10
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
To: cygwin@cygwin.com
References: <30aa068b-574f-8770-d8f3-eb037c038709@scrc.umanitoba.ca> <63a969f7-00eb-2067-7dbe-f141bfecbaae@dronecode.org.uk>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <7a60e967-6861-5e5c-f0ee-5ebb6bf14e23@SystematicSw.ab.ca>
Date: Mon, 14 May 2018 13:30:51 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <63a969f7-00eb-2067-7dbe-f141bfecbaae@dronecode.org.uk>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfGFrZK9Jow+evqxw38e3hqA3M4TouKgXYrufFVgtx5cpTfnhq0d9Vog1DTFn6WHN0EzZHpY24mWyR6Jk2GMfy3zO1ZQmywlL+tBP291+6Sqss57UxbEe XTU1q6kgjtaM1Srk7y/2mwVgPQ7HO5rjsnv/+qyU8m3ryo9gThiwkoGXrgiaCGxkU+qIyjdxxlqCpw==
X-IsSubscribed: yes

On 2018-04-26 08:03, Jon Turney wrote:
> On 19/04/2018 22:15, Gilles Detillieux wrote:
>> Has anybody else run into this problem? I've done two installations of
>> Cygwin/X on Windows 10 systems this week, and they both had problems with the
>> XWin Server dying just a few seconds after starting up. I traced the problem
>> back to xwin-xdg-menu.exe getting a Segmentation fault, which then causes XWin
>> Server to exit. I hacked an alternate .startxwinrc file to prevent XWin Server
>> from dying (it ends with a "sleep infinity"), so I could debug it further.
>>
>> With the XWin Server running reliably, I then ran "strace xwin-xdg-menu.exe"
>> and saw that it got a segmentation fault just after reading a TTF font from
>> the Windows Font directory (bahnschrift.ttf if it matters). I noticed there
>> were two recent library updates related to font handling, so I tried back out
>> to the previous version for each. It turns out that when I reverted to version
>> 1.7.4-1 of libharfbuzz0, xwin-xdg-menu.exe stopped crashing.
>>
>> If it matters, both these systems are the Fall Creator's Update (1709) of
>> Windows 10 64-bit, and I'm running the 32-bit version of Cygwin.
>>
>> Hopefully someone can track down and fix this recent bug!
> 
> Thanks for reporting this.
> 
> I can reproduce this problem, but it only seems to occur with 32-bit cygwin.
> 
> (Obviously you also need a recent enough Windows 10 to have the Bahnschrift font)
> 
> The actual crash seems to be in fontconfig, e.g. 'fc-query
> /usr/share/fonts/microsoft/bahnschrift.ttf' fails in the same way.
> 
> I didn't get very far investigating the problem, as rebuilding the fontconfig
> package with the current toolchain seems to be enough to make the problem go away.

I haven't noticed any problems with Bahnschrift, but as it is a DE DIN 1451
Schrift (typeface), based on the original URW Fette Mittelschrift (bold
regular), Engschrift (condensed), Breitschrift (expanded), it could be
substituted by similar free fonts such as the Google Fonts Roboto family or SIL
OFL licensed equivalents.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

