You are not logged in.

#1 2022-09-08 00:38:15

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 475

[SOLVED] libxft update to 2.3.5 breaks fluxbox's fbrun

Recently i noticed that fbrun tool from fluxbox started to work incorrectly: initial cursor position is not at the beginning of input field and pressing Backspace leds to segmentation fault. I started to debug it and found that something wrong happens after text width calculation with libxft functions. It seems "Heisenbug": if i set debug printfs in some places of fluxbox code or build fluxbox with '-O0' the bug is not reproduced.

I downgraded libxft to 2.3.4 and bug disappeared. Now i'm trying to figure out is it libxft bug or fluxbox bug because of incorrect usage of libxft.

Several packages depend on libxft, e.g. pango, so if update introduced new bug it should be out soon. Does anybody observe any strange behavior in text rendering after libxft update?

Last edited by dimich (2022-09-08 08:51:40)

Online

#2 2022-09-08 08:50:35

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 475

Re: [SOLVED] libxft update to 2.3.5 breaks fluxbox's fbrun

And here is the fix in libxft: https://gitlab.freedesktop.org/xorg/lib … dce3bb17ce
I've built fluxbox with workaround locally for now. With future libxft-2.3.6 the issue shoud go away.

Online

#3 2022-09-08 15:46:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] libxft update to 2.3.5 breaks fluxbox's fbrun

You should prpbably file a bug report.

Offline

#4 2022-09-08 16:20:50

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 475

Re: [SOLVED] libxft update to 2.3.5 breaks fluxbox's fbrun

Stefan Husmann wrote:

You should prpbably file a bug report.

Do you mean bug report for Arch's libxft package to include patch while 2.3.6 is not released?

UPD: https://bugs.archlinux.org/task/75857

Last edited by dimich (2022-09-09 04:14:29)

Online

#5 2022-09-09 05:31:14

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] libxft update to 2.3.5 breaks fluxbox's fbrun

Exatly, thanks. I do not know if the patch will be applied, but at least the developer this way get noticed about the issue. They most problably won't read forum posts.

Offline

Board footer

Powered by FluxBB