Closed AndriyDmytrenko closed 4 years ago
Thanks for reporting this issue - I'm taking a look at it now and will see what I can do.
Issue #3 was also a segfault-on-manjaro - @sergiusens have you by any chance used Manjaro again recently or tested the 27.1 version in the beta/candidate channels?
FYI I am unable to reproduce this on a clean install of Manjaro 20.0.3 - but I notice you said Manjaro testing, so I will try enabling the testing repos and report back.
Ok I can reproduce it on Manjaro testing - now to see about actually root-causing it...
Alex Murray notifications@github.com writes:
Issue #3 was also a segfault-on-manjaro - @sergiusens have you by any chance used Manjaro again recently or tested the 27.1 version in the beta/candidate channels?
I have a /physical/ machine setup with Manjaro and another with Fedora 32 for next time (as I see you already setup a reproducer).
FWIW, I believe I see a similar behavior on Fedora 32. I will log something as soon as I can.
Thanks @sergiusens - I can 'fix' this at the moment by making emacs ignore the system fontconfig configuration but then this means it does not see any fonts that are not shipped inside the emacs snap itself. I am trying to see if I can come up with a compromise to avoid the segfault but also see system installed fonts.
Ah ok so it is enough to just redirect the fontconfig cache dir to avoid using the system cache (since the format of this will not match the fontconfig version used in the emacs snap) - I'll try and get a fix in place to do this automatically - stay tuned :)
Ok with some minimal testing I believe the commit above should fix this issue - I have triggered rebuilds of the snap for all architectures and these should be available in the beta channel within the next hour or so - I'm going EOD now but will leave this issue open and check for any feedback in the morning.
The update of snap has just arrived and the issue is not reproducible now. Thanks.
Excellent - I will close this issue then :)
this most recent snap errors upon startup in ubuntu 20.04 desktop (emacs -nw
works without a hitch)
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
$ snap install emacs --beta --classic
Automatically connect eligible plugs and slots of snap "emacs"
emacs (beta) 27.1 from Alex Murray (alexmurray) installed
$ which emacs
/snap/bin/emacs
$ emacs
Fontconfig warning: "/home/dpc/snap/emacs/common/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/home/dpc/snap/emacs/common/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/home/dpc/snap/emacs/common/fonts.conf", line 6: invalid attribute 'translate'
...
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /home/dpc/snap/emacs/common/fonts.conf
Backtrace:
/snap/emacs/754/usr/bin/emacs(+0x256048)[0x559c933bb048]
...
Oh that sucks - I am not able to reproduce it myself but perhaps you can help debug this - could you try running the following and see if that helps:
sed "s|/var|/home/dpc/snap/emacs/common|" /snap/emacs/current/etc/fonts/fonts.conf > /home/dpc/snap/emacs/common/fonts.conf
If that still does not resolve it, could you also try the following:
rm -rf /home/dpc/snap/emacs/common/.cache/fontconfig
And let me know if either helps at all.
Just installed a fresh 27.1 release from snap $ sudo snap install emacs --beta --classic on manjaro testing.
Running emacs throws an error:
emacs -nw runs fine.