[GH-ISSUE #692] Fontconfig warning: FcPattern object weight does not accept value #550

Open
opened 2026-05-05 06:39:55 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @mbarkhau on GitHub (May 25, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/692

Operating Systems

Server: Ubuntu 20.04

$ uname -a
Linux mb-thinkpad 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Barrier Version

2.3.2-snapshot-9080ce45

Steps to reproduce bug

run command barrier

mbarkhau@mb-thinkpad:~
$ barrier
Qt: Session management error: None of the authentication protocols specified are supported
Fontconfig warning: FcPattern object weight does not accept value [0 200)
Segmentation fault (core dumped)

Other info

I can't say when this started, at some point I rebooted and barrier was not working. I assume I installed some font or changed some font settings and barrier could not be started from that point, but since I was running it all the while I didn't notice right away.

Work around: Looking for the error message I found another projects where this was suggested:

$ sudo fc-cache -fv
$ sudo fc-cache -rs

One of those worked, I think the latter.

  • Does this bug prevent you from using Barrier entirely? Yes/No

Works for me again now, I'm mainly adding this issue so people can find the issue and the work around. Feel free to close the issue if this isn't something that can be fixed with barrier.

Originally created by @mbarkhau on GitHub (May 25, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/692 ### Operating Systems ### Server: Ubuntu 20.04 ``` $ uname -a Linux mb-thinkpad 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux ``` ### Barrier Version ### 2.3.2-snapshot-9080ce45 ### Steps to reproduce bug ### run command `barrier` ``` mbarkhau@mb-thinkpad:~ $ barrier Qt: Session management error: None of the authentication protocols specified are supported Fontconfig warning: FcPattern object weight does not accept value [0 200) Segmentation fault (core dumped) ``` ### Other info ### I can't say when this started, at some point I rebooted and barrier was not working. I assume I installed some font or changed some font settings and barrier could not be started from that point, but since I was running it all the while I didn't notice right away. Work around: Looking for the error message I found [another projects](https://gitlab.kitware.com/paraview/paraview/issues/19346) where this was suggested: ``` $ sudo fc-cache -fv $ sudo fc-cache -rs ``` One of those worked, I think the latter. * Does this bug prevent you from using Barrier entirely? Yes/No Works for me again now, I'm mainly adding this issue so people can find the issue and the work around. Feel free to close the issue if this isn't something that can be fixed with barrier.
gitea-mirror added the
bug
linux
labels 2026-05-05 06:39:55 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 21, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:695867504 --> @github-actions[bot] commented on GitHub (Sep 21, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

Let's not close valid bug reports.

<!-- gh-comment-id:757535684 --> @p12tic commented on GitHub (Jan 10, 2021): Let's not close valid bug reports.
Author
Owner

@loxK commented on GitHub (Jun 27, 2021):

Got the bug on a 21.04 computer, but not on another. The workaround doesn't work. I am stuck, it cannot be used.

<!-- gh-comment-id:869085254 --> @loxK commented on GitHub (Jun 27, 2021): Got the bug on a 21.04 computer, but not on another. The workaround doesn't work. I am stuck, it cannot be used.
Author
Owner

@designbybeck commented on GitHub (Jan 13, 2023):

I'm getting similar errors myself. Had some updates and rebooted, now Barrier doesn't run for me and gets a segfault, but has a bunch of Font Errors it seems?

Distributor ID: Neon
Description: KDE neon 5.26
Release: 22.04
Codename: jammy

5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

When trying to launch the GUI nothing happens, it just doesn't open.

❯ barrier
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"

....

Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig warning: FcPattern object weight does not accept value [80 210)
[1] 30405 segmentation fault barrier

<!-- gh-comment-id:1381910839 --> @designbybeck commented on GitHub (Jan 13, 2023): I'm getting similar errors myself. Had some updates and rebooted, now Barrier doesn't run for me and gets a segfault, but has a bunch of Font Errors it seems? Distributor ID: Neon Description: KDE neon 5.26 Release: 22.04 Codename: jammy 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux When trying to launch the GUI nothing happens, it just doesn't open. ❯ barrier Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description" .... Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version' Fontconfig warning: FcPattern object weight does not accept value [80 210) [1] 30405 segmentation fault barrier
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#550
No description provided.