public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
@ 2018-04-19 21:15 Gilles Detillieux
  2018-04-24 21:30 ` Gilles Detillieux
  2018-04-26 14:03 ` Jon Turney
  0 siblings, 2 replies; 10+ messages in thread
From: Gilles Detillieux @ 2018-04-19 21:15 UTC (permalink / raw)
  To: cygwin

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

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Rady Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-04-19 21:15 libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash Gilles Detillieux
@ 2018-04-24 21:30 ` Gilles Detillieux
  2018-04-26 14:03 ` Jon Turney
  1 sibling, 0 replies; 10+ messages in thread
From: Gilles Detillieux @ 2018-04-24 21:30 UTC (permalink / raw)
  To: cygwin

I just ran into this bug on a third Windows 10 1709 64-bit system, only 
this time it was a little worse. Both xwin-xdg-menu.exe and xterm.exe 
would crash. An strace on xterm.exe showed the crash occurring after 
reading that same font, but it happened even when I reverted 
libharfbuzz0 to the 1.7.4-1 version. On this system, I also had to 
revert libfreetype6 from 2.8.1-1 to 2.6.5-1 to get xterm and 
xwin-xdg-menu to run reliably. Something in the font handling in these 
two libraries broke on a recent update.

On 04/19/2018 04:15 PM, 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,
> Gilles
>

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Rady Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-04-19 21:15 libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash Gilles Detillieux
  2018-04-24 21:30 ` Gilles Detillieux
@ 2018-04-26 14:03 ` Jon Turney
  2018-04-26 15:40   ` Gilles Detillieux
  2018-05-14 21:38   ` Brian Inglis
  1 sibling, 2 replies; 10+ messages in thread
From: Jon Turney @ 2018-04-26 14:03 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Gilles Detillieux

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.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-04-26 14:03 ` Jon Turney
@ 2018-04-26 15:40   ` Gilles Detillieux
  2018-05-12 14:27     ` Jon Turney
  2018-05-14 21:38   ` Brian Inglis
  1 sibling, 1 reply; 10+ messages in thread
From: Gilles Detillieux @ 2018-04-26 15:40 UTC (permalink / raw)
  To: The Cygwin Mailing List

On 2018-04-26 09: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.

Thanks for the follow-up and narrowing down the problem, Jon. 
Interesting that rebuilding fontconfig clears up the issue. Although, if 
it's a memory corruption issue, it could just be that the new toolchain 
lays things out differently enough that the bug doesn't manifest itself 
the same way. It could also be that the new gcc fixes a compiler or 
optimizer bug that led to the problem. Perhaps you and Yaakov could 
touch base on which toolchain versions you're using and see if an update 
to his toolchain may be in order.

Are you using the test version of gcc (7.3.0-1) announced April 11, or 
the older release. I've got gcc-core-6.4.0-5 on mine, which I assume is 
the latest stable release.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-04-26 15:40   ` Gilles Detillieux
@ 2018-05-12 14:27     ` Jon Turney
  2018-05-14 19:29       ` Gilles Detillieux
  0 siblings, 1 reply; 10+ messages in thread
From: Jon Turney @ 2018-05-12 14:27 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Gilles Detillieux

On 26/04/2018 16:40, Gilles Detillieux wrote:
> On 2018-04-26 09: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.

Another possible workaround seems to be to blacklist this particular 
font, e.g.:

create a /etc/fonts/conf.d/local.conf containing:

<selectfont>
     <rejectfont>
         <glob>/usr/share/fonts/microsoft/bahnschrift.ttf</glob>
     </rejectfont>
</selectfont>

>> 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.
> 
> Thanks for the follow-up and narrowing down the problem, Jon. 
> Interesting that rebuilding fontconfig clears up the issue. Although, if 
> it's a memory corruption issue, it could just be that the new toolchain 
> lays things out differently enough that the bug doesn't manifest itself 
> the same way. It could also be that the new gcc fixes a compiler or 
> optimizer bug that led to the problem. Perhaps you and Yaakov could 
> touch base on which toolchain versions you're using and see if an update 
> to his toolchain may be in order.
> 
> Are you using the test version of gcc (7.3.0-1) announced April 11, or 
> the older release. I've got gcc-core-6.4.0-5 on mine, which I assume is 
> the latest stable release.

The latest stable release, 6.4.0-5.



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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-05-12 14:27     ` Jon Turney
@ 2018-05-14 19:29       ` Gilles Detillieux
  2018-05-14 21:44         ` Jon Turney
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Detillieux @ 2018-05-14 19:29 UTC (permalink / raw)
  To: Jon Turney, The Cygwin Mailing List

Thanks, Jon. The local.conf blacklist rule worked like a charm!

It's odd that the fontconfig packages appear not to have been built with 
the latest stable gcc release, but so long as it's just this one 
(unneeded) font that's causing the headaches I'll just keep blacklisting 
it on our systems.

On 2018-05-12 09:23, Jon Turney wrote:
> On 26/04/2018 16:40, Gilles Detillieux wrote:
>> On 2018-04-26 09: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.
>
> Another possible workaround seems to be to blacklist this particular 
> font, e.g.:
>
> create a /etc/fonts/conf.d/local.conf containing:
>
> <selectfont>
>     <rejectfont>
> <glob>/usr/share/fonts/microsoft/bahnschrift.ttf</glob>
>     </rejectfont>
> </selectfont>
>
>>> 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.
>>
>> Thanks for the follow-up and narrowing down the problem, Jon. 
>> Interesting that rebuilding fontconfig clears up the issue. Although, 
>> if it's a memory corruption issue, it could just be that the new 
>> toolchain lays things out differently enough that the bug doesn't 
>> manifest itself the same way. It could also be that the new gcc fixes 
>> a compiler or optimizer bug that led to the problem. Perhaps you and 
>> Yaakov could touch base on which toolchain versions you're using and 
>> see if an update to his toolchain may be in order.
>>
>> Are you using the test version of gcc (7.3.0-1) announced April 11, 
>> or the older release. I've got gcc-core-6.4.0-5 on mine, which I 
>> assume is the latest stable release.
>
> The latest stable release, 6.4.0-5.
>

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-04-26 14:03 ` Jon Turney
  2018-04-26 15:40   ` Gilles Detillieux
@ 2018-05-14 21:38   ` Brian Inglis
  2018-05-14 21:47     ` Jon Turney
  1 sibling, 1 reply; 10+ messages in thread
From: Brian Inglis @ 2018-05-14 21:38 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-05-14 19:29       ` Gilles Detillieux
@ 2018-05-14 21:44         ` Jon Turney
  2018-05-15 15:01           ` Gilles Detillieux
  0 siblings, 1 reply; 10+ messages in thread
From: Jon Turney @ 2018-05-14 21:44 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Gilles Detillieux

On 14/05/2018 18:05, Gilles Detillieux wrote:
> Thanks, Jon. The local.conf blacklist rule worked like a charm!
> 
> It's odd that the fontconfig packages appear not to have been built with 
> the latest stable gcc release, but so long as it's just this one 

I don't know if that's the case or not.  More things than just the 
compiler can effect the resulting binary.

> (unneeded) font that's causing the headaches I'll just keep blacklisting 
> it on our systems.

Yaakov has rebuilt and uploaded the fontconfig 2.12.6-2, which doesn't 
seem to suffer from this problem in my testing.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-05-14 21:38   ` Brian Inglis
@ 2018-05-14 21:47     ` Jon Turney
  0 siblings, 0 replies; 10+ messages in thread
From: Jon Turney @ 2018-05-14 21:47 UTC (permalink / raw)
  To: The Cygwin Mailing List

On 14/05/2018 20:30, Brian Inglis wrote:
> 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

Note that this problem only effects 32-bit Cygwin.

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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash
  2018-05-14 21:44         ` Jon Turney
@ 2018-05-15 15:01           ` Gilles Detillieux
  0 siblings, 0 replies; 10+ messages in thread
From: Gilles Detillieux @ 2018-05-15 15:01 UTC (permalink / raw)
  To: The Cygwin Mailing List

On 05/14/2018 04:43 PM, Jon Turney wrote:
> On 14/05/2018 18:05, Gilles Detillieux wrote:
>> Thanks, Jon. The local.conf blacklist rule worked like a charm!
>>
>> It's odd that the fontconfig packages appear not to have been built 
>> with the latest stable gcc release, but so long as it's just this one 
>
> I don't know if that's the case or not.  More things than just the 
> compiler can effect the resulting binary.
>
>> (unneeded) font that's causing the headaches I'll just keep 
>> blacklisting it on our systems.
>
> Yaakov has rebuilt and uploaded the fontconfig 2.12.6-2, which doesn't 
> seem to suffer from this problem in my testing.

Awesome. Upgrading to the new libfontconfig packages did indeed fix the 
problem. Thanks, Yaakov & Jon!

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. of Physiology and Pathophysiology, Rady Faculty of Health Sciences,
Univ. of Manitoba  Winnipeg, MB  R3E 0J9  (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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-15 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 21:15 libharfbuzz0 1.7.6-1 update causing xwin-xdg-menu.exe to crash Gilles Detillieux
2018-04-24 21:30 ` Gilles Detillieux
2018-04-26 14:03 ` Jon Turney
2018-04-26 15:40   ` Gilles Detillieux
2018-05-12 14:27     ` Jon Turney
2018-05-14 19:29       ` Gilles Detillieux
2018-05-14 21:44         ` Jon Turney
2018-05-15 15:01           ` Gilles Detillieux
2018-05-14 21:38   ` Brian Inglis
2018-05-14 21:47     ` Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).