Re: [dev] Fix for dwm crash due to emoji in window titles

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon, 23 Jul 2018 09:31:10 +0200

On Mon, Jul 23, 2018 at 08:34:53AM +0800, Kai Hendry wrote:
> On Thu, 19 Jul 2018, at 11:41 PM, Hiltjo Posthuma wrote:
> > It is not a fix, it will just ignore the error.
>
> Shouldn't https://en.wikipedia.org/wiki/Robustness_principle apply?
>

Robustness is not ignoring errors. It should not ignore errors.

If anything:
https://en.wikipedia.org/wiki/Fail-fast

> Draconian error handling was the hallmark of XML.
>
> > The emoji crash is a bug in Xft.
>
> Do you happen to have the bug number handy so I can please track it? Guess it's on https://bugs.freedesktop.org/ but failed to find it.
>
> Thank you,
>

Its the first item when searching for: "xft emoji bug".
https://bugzilla.redhat.com/show_bug.cgi?id=1498269


I cannot reproduce it on my OpenBSD system either. It is probably patched to do
the sane thing there.

-- 
Kind regards,
Hiltjo
Received on Mon Jul 23 2018 - 09:31:10 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 23 2018 - 09:36:07 CEST