Closed muellerjoel closed 1 year ago
It appears that this issue is caused by ${font :size=12}
. We call pango_fc_font_description_from_pattern
, which expects there to be a font family specified in the FcPattern
it gets passed, which is parsed from the string in ${font}
.
The crash itself can be avoided if we add an empty FAMILY
object to the FcPattern
; PR incoming.
Thanks for your work!
The Conky works now with latest git. The Processor-bars are shown but not how much percentage are used. Why?
Got a
Thread 1 "conky" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d2b9d4 in wl_proxy_get_version () from /usr/lib/libwayland-client.so.0
with almost the same environment
conky 1.19.3_pre compiled 2023-06-21 for Linux x86_64
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
General:
* math
* hddtemp
* portmon
* IPv6
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* builtin default configuration
* old configuration syntax
* Imlib2
* OSS mixer support
* apcupsd
* iostats
* ncurses
* Internationalization support
* PulseAudio
Lua bindings:
* Cairo
* RSVG
X11:
* Xdamage extension
* Xinerama extension (virtual display)
* Xshape extension (click through)
* XDBE (double buffer extension)
* Xft
* ARGB visual
* Own window
* Mouse evenets
Music detection:
* CMUS
* MPD
* MOC
Default values:
* Netdevice: eno1
* Local configfile: $HOME/.conkyrc
* Localedir: /usr/share/locale
* Maximum netdevices: 256
* Maximum text size: 16384
* Size text buffer: 256
What happened?
Maintainer: mrdotx klassiker@gmx.de
Contributor: Hendrik Schick hendrik@hndrkk.sh
Contributor: Mark Wagie
Contributor: Amanoel Dawod
Contributor: Beini bane@iki.fi
Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
Contributor: Gaetan Bisson bisson@archlinux.org
Contributor: Giovanni Scafora giovanni@archlinux.org
Contributor: James Rayner james@archlinux.org
Contributor: Partha Chowdhury kira.laucas@gmail.com
_pkgname=conky pkgname=conky-git pkgver=1.19.0.r3.gdf16eeab pkgrel=1 pkgdesc='Lightweight system monitor for X' url='https://github.com/brndnmtthws/conky' license=('BSD' 'GPL') arch=('x86_64') makedepends=( 'cmake' 'docbook2x' 'docbook-xsl' 'man-db' 'git' 'catch2' 'pandoc' 'python-yaml' 'python-jinja' )env -u DISPLAY conky -c /home/morta/.conkyrc --display=:0 & [1] 84842 [morta@lapt0p conky-git]$ conky: desktop window (49f) is root window conky: window type - desktop conky: drawing to created window (0xa00002) conky: drawing to double buffer conky: unknown variable '$' sh: line 1: checkupdates: command not found sh: line 1: auracle: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 36 100 36 0 0 730 0 --:--:-- --:--:-- --:--:-- 734 ** Pango:ERROR:../pango/pango/pangofc-fontmap.c:2801:font_description_from_pattern: assertion failed: (res == FcResultMatch) Bail out! Pango:ERROR:../pango/pango/pangofc-fontmap.c:2801:font_description_from_pattern: assertion failed: (res == FcResultMatch) depends=( 'glibc' 'glib2' 'lua' 'wireless_tools' 'libxdamage' 'libxinerama' 'libxft' 'imlib2' 'libxml2' 'libpulse' 'libxnvctrl' 'systemd-libs' 'ncurses' 'curl' 'libncursesw.so' 'libXNVCtrl.so' 'libsystemd.so' 'libpulse.so' 'libcurl.so' ) provides=('conky') conflicts=('conky') source=('git+https://github.com/brndnmtthws/conky.git') sha256sums=('SKIP')
pkgver() { cd "$_pkgname" git describe --long --tags | sed 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' }
prepare() { cd "$_pkgname"
}
build() { cd "$_pkgname"
package() { cd "$_pkgname" make -C build DESTDIR="$pkgdir" install install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$_pkgname" install -Dm644 extras/vim/syntax/conkyrc.vim.j2 -t \ "$pkgdir"/usr/share/vim/vimfiles/syntax/ install -Dm644 extras/vim/ftdetect/conkyrc.vim -t \ "$pkgdir"/usr/share/vim/vimfiles/ftdetect/ }
3.[morta@lapt0p conky-git]$ env -u DISPLAY conky -c /home/morta/.conkyrc --display=:0 & [1] 85189 [morta@lapt0p conky-git]$ conky: desktop window (49f) is root window conky: window type - desktop conky: drawing to created window (0xa00002) conky: drawing to double buffer conky: unknown variable '$' sh: line 1: checkupdates: command not found sh: line 1: auracle: command not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 36 100 36 0 0 629 0 --:--:-- --:--:-- --:--:-- 642 ** Pango:ERROR:../pango/pango/pangofc-fontmap.c:2801:font_description_from_pattern: assertion failed: (res == FcResultMatch) Bail out! Pango:ERROR:../pango/pango/pangofc-fontmap.c:2801:font_description_from_pattern: assertion failed: (res == FcResultMatch)
Version
conky 1.19.1_pre compiled 2023-04-10 for Linux x86_64
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
Stack trace
Relevant log output
No response