Fresh install of openbox 3.6_14 and obconf 2.0.4_7. obconf starts up. When clicking on a theme, it segfaults with: (obconf:2933): Pango-WARNING **: 17:06:55.829: Invalid UTF-8 string passed to pango_layout_set_text() Segmentation fault (core dumped) obconf Running FreeBSD 16.0-CURRENT #3 main-n286229-3118f1b99f23
Created attachment 271618 [details] proposed patch Hi, Could you create a files directory in the x11-wm/obconf port, drop in the attached patch there, rebuild and check if it fixes the issue?
(In reply to Roman Bogorodskiy from comment #1) Yep! This works :-) Thanks! P.S: Will you upstream this?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0654a3fb62625e87dae24308ebdfebda6e088a8 commit d0654a3fb62625e87dae24308ebdfebda6e088a8 Author: Roman Bogorodskiy <novel@FreeBSD.org> AuthorDate: 2026-06-09 07:58:59 +0000 Commit: Roman Bogorodskiy <novel@FreeBSD.org> CommitDate: 2026-06-09 08:02:18 +0000 x11-wm/obconf: fix crash on theme change Fix crashing on theme change caused by incorrect error handling. PR: 295921 Reported by: fernape x11-wm/obconf/Makefile | 2 +- x11-wm/obconf/files/patch-src_tree.c (new) | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-)
(In reply to Fernando Apesteguía from comment #2) Great, thanks for testing! I have opened a pull request: https://github.com/danakj/obconf/pull/13, but I'm not really sure if anything is going to happen. The latest release was 2013.
A commit in branch 2026Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=436f729ca814b5780fda5a417eb38d89e0b9aecb commit 436f729ca814b5780fda5a417eb38d89e0b9aecb Author: Roman Bogorodskiy <novel@FreeBSD.org> AuthorDate: 2026-06-09 07:58:59 +0000 Commit: Roman Bogorodskiy <novel@FreeBSD.org> CommitDate: 2026-06-13 11:20:17 +0000 x11-wm/obconf: fix crash on theme change Fix crashing on theme change caused by incorrect error handling. PR: 295921 Reported by: fernape (cherry picked from commit d0654a3fb62625e87dae24308ebdfebda6e088a8) x11-wm/obconf/Makefile | 2 +- x11-wm/obconf/files/patch-src_tree.c (new) | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-)