You are not logged in.

#1 2013-12-05 05:50:14

brettski
Member
Registered: 2013-06-21
Posts: 18
Website

[Solved] fc-cache segfault during font install.

Let me start by saying that I am a little shocked at how crippled my system has become as a result of a font installation from the community repos. I am not sure what the problem is but I am hoping that I might be able to get some help in troubleshooting and hopefully fixing it. This is the first problem I have had that seems to be beyond my ability to hammer out on my own, so any help is appreciated.

How it happened:

$sudo pacman -S ttf-liberation
...
(1/1) installing ttf-liberation
Updating font cache... /tmp/alpm_jtzqUI/.INSTALL: line1: 1241 Segmentation fault    (core dumped) fc-cache -f /dev/null
done.

The screen then flickered, all of my icons disappeared and returned a second later in the default theme. All fonts on my panel changed and although I still had a responsive mouse, nothing I clicked did anything. I uninstalled the ttf-liberation package (sudo pacman -Rns ...) and received the same message... "Updating... Seg... /dev/null." My desktop's functionality did not return so I rebooted.

When I rebooted, slim did not launch and instead I was greeted with the terminal. I ran startxfce4 and when it launched the background image appeared and the panel appeared for a moment and quickly disappeared. The panel would appear and disappear for as long as I let it sit, the mouse never appeared and the desktop was completely unresponsive.

I tried re installing xfce4 and now that won't even launch... I feel as if I may be looking at a full reinstall of arch unless I can get a little guidance with this.

Thanks in advance!

My Gear:
I am running arch x86_64 on a laptop with an i7 processor.

Last edited by brettski (2013-12-05 22:35:13)

Offline

#2 2013-12-05 05:55:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] fc-cache segfault during font install.

Edit your thread title to include the core issue: pacman segfaulting.

I'll move this to the pacman forum where it is more likely to be seen by a dev. You should also try and gather as much relevant information about your system and pacman so that, if it is a bug, you can open an issue on the tracker.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-12-05 12:25:23

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: [Solved] fc-cache segfault during font install.

I've been having similar issues when installing fonts from the infinality bundle, KDE here though unlike you I've yet to see any ill effects from the error messages received (see below):

(1/1) removing t1-opensans-ib                                                                                                                                      [#####################################################################################################] 100%
Updating font cache... /tmp/alpm_zkNfzk/.INSTALL: line 2:  3472 Segmentation fault      (core dumped) fc-cache -f > /dev/null
Done.
( 1/13) upgrading dosfstools                                                                                                                                       [#####################################################################################################] 100%
( 2/13) installing otf-lato-ib                                                                                                                                     [#####################################################################################################] 100%
Updating font cache... /tmp/alpm_nSmSeu/.INSTALL: line 2:  3502 Segmentation fault      (core dumped) fc-cache -f > /dev/null
Done.
( 3/13) installing ttf-opensans-ib                                                                                                                                 [#####################################################################################################] 100%
Updating font cache... /tmp/alpm_ZS0ymT/.INSTALL: line 2:  3530 Segmentation fault      (core dumped) fc-cache -f > /dev/null
Done.
└─(~)─(256 files, 1:15Gb)─> tail -30 /var/log/pacman.log 
[2013-12-03 10:46] [PACMAN] upgraded mariadb-clients (5.5.34-2 -> 5.5.34-3)
[2013-12-03 10:46] [PACMAN] upgraded mariadb (5.5.34-2 -> 5.5.34-3)
[2013-12-03 10:46] [PACMAN] upgraded ruby (2.0.0_p247-3 -> 2.0.0_p353-1)
[2013-12-03 10:46] [PACMAN] upgraded xterm (298-1 -> 299-1)
[2013-12-04 08:14] [PACMAN] Running 'pacman -S -y -u'
[2013-12-04 08:14] [PACMAN] synchronizing package lists
[2013-12-04 08:14] [PACMAN] starting full system upgrade
[2013-12-04 08:15] [ALPM-SCRIPTLET] Updating font cache... /tmp/alpm_zkNfzk/.INSTALL: line 2:  3472 Segmentation fault      (core dumped) fc-cache -f > /dev/null
[2013-12-04 08:15] [ALPM-SCRIPTLET] Done.
[2013-12-04 08:15] [PACMAN] removed t1-opensans-ib (1.2-7)
[2013-12-04 08:15] [PACMAN] upgraded dosfstools (3.0.23-1 -> 3.0.24-1)
[2013-12-04 08:15] [ALPM-SCRIPTLET] Updating font cache... /tmp/alpm_nSmSeu/.INSTALL: line 2:  3502 Segmentation fault      (core dumped) fc-cache -f > /dev/null
[2013-12-04 08:15] [ALPM-SCRIPTLET] Done.
[2013-12-04 08:15] [PACMAN] installed otf-lato-ib (2.2-4)
[2013-12-04 08:16] [ALPM-SCRIPTLET] Updating font cache... /tmp/alpm_ZS0ymT/.INSTALL: line 2:  3530 Segmentation fault      (core dumped) fc-cache -f > /dev/null
[2013-12-04 08:16] [ALPM-SCRIPTLET] Done.
[2013-12-04 08:16] [PACMAN] installed ttf-opensans-ib (1.2-7)
[2013-12-04 08:16] [PACMAN] upgraded ibfonts-meta-extended (1-2 -> 1-3)
[2013-12-04 08:16] [PACMAN] upgraded inxi (1.9.16-1 -> 1.9.17-1)
[2013-12-04 08:16] [PACMAN] upgraded libdrm (2.4.49-1 -> 2.4.50-1)
[2013-12-04 08:16] [PACMAN] upgraded lib32-libdrm (2.4.49-1 -> 2.4.50-1)
[2013-12-04 08:16] [PACMAN] upgraded lib32-libpng (1.6.6-1 -> 1.6.7-1)
[2013-12-04 08:16] [PACMAN] upgraded lib32-pixman (0.32.2-1 -> 0.32.4-1)
[2013-12-04 08:16] [PACMAN] upgraded libftdi (0.20-2 -> 1.0-2)
[2013-12-04 08:16] [PACMAN] installed libftdi-compat (0.20-1)
[2013-12-04 08:16] [PACMAN] upgraded lirc-utils (1:0.9.0-65 -> 1:0.9.0-66)
[2013-12-04 08:16] [PACMAN] upgraded python2-setuptools (1.3-1 -> 1.3.2-1)
[2013-12-04 21:07] [PACMAN] Running 'pacman -S -y -u namcap'
[2013-12-04 21:07] [PACMAN] synchronizing package lists
[2013-12-04 21:07] [PACMAN] starting full system upgrade
└─(~)─(256 files, 1:15Gb)─> journalctl |grep fc-cache
3674:Nov 29 09:15:11 Arch_x64_ssd kernel: fc-cache[22544]: segfault at 2b0 ip 00007fb2c6085f78 sp 00007fff52d20dc0 error 4 in libfreetype.so.6.11.0[7fb2c6061000+b5000]
3675:Nov 29 09:15:12 Arch_x64_ssd systemd-coredump[22574]: Process 22544 (fc-cache) dumped core.
3676:Nov 29 09:15:55 Arch_x64_ssd kernel: fc-cache[22576]: segfault at 2b0 ip 00007fd2fd675f78 sp 00007fff8dd92610 error 4 in libfreetype.so.6.11.0[7fd2fd651000+b5000]
3677:Nov 29 09:15:55 Arch_x64_ssd systemd-coredump[22606]: Process 22576 (fc-cache) dumped core.
4997:Dec 04 08:15:18 Arch_x64_ssd kernel: fc-cache[3472]: segfault at 2b0 ip 00007ff7175baf78 sp 00007fffea880150 error 4 in libfreetype.so.6.11.0[7ff717596000+b5000]
4998:Dec 04 08:15:18 Arch_x64_ssd systemd-coredump[3500]: Process 3472 (fc-cache) dumped core.
4999:Dec 04 08:15:58 Arch_x64_ssd kernel: fc-cache[3502]: segfault at 2b0 ip 00007f4f31986f78 sp 00007fff27999e90 error 4 in libfreetype.so.6.11.0[7f4f31962000+b5000]
5000:Dec 04 08:15:58 Arch_x64_ssd systemd-coredump[3528]: Process 3502 (fc-cache) dumped core.
5001:Dec 04 08:16:37 Arch_x64_ssd kernel: fc-cache[3530]: segfault at 2b0 ip 00007fef1a51bf78 sp 00007fffa13b58d0 error 4 in libfreetype.so.6.11.0[7fef1a4f7000+b5000]
5002:Dec 04 08:16:38 Arch_x64_ssd systemd-coredump[3555]: Process 3530 (fc-cache) dumped core.
└─(~)─(256 files, 1:15Gb)─> pacaur -Qo /usr/lib/libfreetype.so.6.11.0
/usr/lib/libfreetype.so.6.11.0 is owned by freetype2-infinality-ultimate 2.5.1-2
└─(~)─(256 files, 1:15Gb)─> uname -a
Linux Arch_x64_ssd 3.12.1-3-ARCH #1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013 x86_64 GNU/Linux

Last edited by CarbonChauvinist (2013-12-05 12:35:42)


"the wind-blown way, wanna win? don't play"

Offline

#4 2013-12-05 13:19:12

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] fc-cache segfault during font install.

jasonwryan wrote:

Edit your thread title to include the core issue: pacman segfaulting.

I'll move this to the pacman forum where it is more likely to be seen by a dev. You should also try and gather as much relevant information about your system and pacman so that, if it is a bug, you can open an issue on the tracker.

This isn't pacman segfaulting, it's fc-cache.

Offline

#5 2013-12-05 16:06:05

brettski
Member
Registered: 2013-06-21
Posts: 18
Website

Re: [Solved] fc-cache segfault during font install.

falconindy wrote:

This isn't pacman segfaulting, it's fc-cache.

Thread title edited.

Offline

#6 2013-12-05 16:13:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] fc-cache segfault during font install.

falconindy: thanks for clarifying.

brettski: have you opened a bug report?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-12-05 16:29:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: [Solved] fc-cache segfault during font install.

brettski, are you also using the freetype2-infinality-ultimate package that CarbonChauvinist is using? If so, we have a common culprit. Try recompiling that package. If not, post the output of

pacman -Qo fc-cache

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2013-12-05 20:29:10

brettski
Member
Registered: 2013-06-21
Posts: 18
Website

Re: [Solved] fc-cache segfault during font install.

jasonwryan, I have not yet opened a bug report. I thought I'd try and get a better idea of what the problem was before filing anything.

WorMzy, I do have freetype2 installed but do not have freetype2-infinality-ultimate.

pacman -Qo fc-cache
/usr/bin/fc-cache is owned by fontconfig 2.11.0-1

Offline

#9 2013-12-05 21:11:45

ajkxyz
Member
Registered: 2013-12-05
Posts: 1

Re: [Solved] fc-cache segfault during font install.

It may be freetype-2.5.1 bug, downgrading to freetype-2.5.0.1 helped me.

Offline

#10 2013-12-05 22:18:26

brettski
Member
Registered: 2013-06-21
Posts: 18
Website

Re: [Solved] fc-cache segfault during font install.

ajkxyz wrote:

It may be freetype-2.5.1 bug, downgrading to freetype-2.5.0.1 helped me.

That seems to solve the segfault issue but my system is still thrashed.

sudo pacman -U freetype-2.5.0.1-2-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): freetype2-2.5.0.1-2

Total Installed Size:   1.70 MiB
Net Upgrade Size:       0.00 MiB

checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
reinstalling freetype2...
ldconfig: File /usr/lib/libgarcon-1.so.0 is empty, not checked.
ldconfig: File /usr/lib/libxfce4panel-1.0.so.4 is empty, not checked.
ldconfig: File /usr/lib/libexo-1.so.0.1.0 is empty, not checked.
ldconfig: File /usr/lib/libgarcon-1.so is empty, not checked.
ldconfig: File /usr/lib/libexo-1.so.0 is empty, not checked.
ldconfig: File /usr/lib/libthunarx-2.so is empty, not checked.
ldconfig: File /usr/lib/libxfsm-4.6.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libtumbler-1.so is empty, not checked.
ldconfig: File /usr/lib/libxfce4panel-1.0.so.4.0.0 is empty, not checked.
ldconfig: File /usr/lib/libtumbler-1.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libthunarx-2.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxfsm-4.6.so.0 is empty, not checked.
ldconfig: File /usr/lib/libxfconf-0.so is empty, not checked.
ldconfig: File /usr/lib/libexo-1.so is empty, not checked.
ldconfig: File /usr/lib/libtumbler-1.so.0 is empty, not checked.
ldconfig: File /usr/lib/libgarcon-1.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libxfsm-4.6.so is empty, not checked.
ldconfig: File /usr/lib/libthunarx-2.so.0 is empty, not checked.
ldconfig: File /usr/lib/libxfce4panel-1.0.so is empty, not checked.
ldconfig: File /usr/lib/libxfconf-0.so.2 is empty, not checked.
ldconfig: File /usr/lib/libxfconf-0.so.2.0.0 is empty, not checked.

startxfce now gets absolutely zero response and trying to reinstal xfce4 results in:

:: There are 18 members in group xfce4:
:: Repository extra
   1) exo  2) garcon  3) gtk2-xfce-engine  4) gtk3-xfce-engine  5) thunar  6) thunar-volman  7) tumbler  8) xfce4-appfinder  9) xfce4-mixer  10) xfce4-panel  11) xfce4-power-manager  12) xfce4-session  13) xfce4-settings  14) xfce4-terminal  15) xfconf  16) xfdesktop  17) xfwm4  18) xfwm4-themes
resolving dependencies...
looking for inter-conflicts...

Packages (18): exo-0.10.2-2  garcon-0.2.1-1  gtk2-xfce-engine-3.0.1-1  gtk3-xfce-engine-3.0.1-1  thunar-1.6.3-1  thunar-volman-0.8.0-1  tumbler-0.1.29-1  xfce4-appfinder-4.10.1-1  xfce4-mixer-4.10.0-2  xfce4-panel-4.10.1-1  xfce4-power-manager-1.2.0-6  xfce4-session-4.10.1-3  xfce4-settings-4.10.1-1  xfce4-terminal-0.6.2-1  xfconf-4.10.0-3  xfdesktop-4.10.2-1  xfwm4-4.10.1-1  xfwm4-themes-4.10.0-1

Total Installed Size:   44.53 MiB

checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
exo: /etc/xdg/xfce4/helpers.rc exists in filesystem
exo: /usr/bin/exo-csource exists in filesystem
exo: /usr/bin/exo-desktop-item-edit exists in filesystem
exo: /usr/bin/exo-open exists in filesystem
...
some 7 thousand lines later
...
xfwm4-themes: /usr/share/themes/Xfce/xfwm4/top-left-active.xpm exists in filesystem
xfwm4-themes: /usr/share/themes/Xfce/xfwm4/top-left-inactive.xpm exists in filesystem
xfwm4-themes: /usr/share/themes/Xfce/xfwm4/top-right-active.xpm exists in filesystem
xfwm4-themes: /usr/share/themes/Xfce/xfwm4/top-right-inactive.xpm exists in filesystem
Errors occurred, no packages were upgraded.

Any ideas at all?

Offline

#11 2013-12-05 22:34:32

brettski
Member
Registered: 2013-06-21
Posts: 18
Website

Re: [Solved] fc-cache segfault during font install.

Great News!!!

I am writing this from my laptop!

All I needed to do was run:

pacman -S --force xfce4

Now everything is back to normal.

Wow, that was quite a trip... and all over a font too.

Thanks a bunch for all of your help!

Last edited by brettski (2013-12-05 22:38:25)

Offline

#12 2013-12-08 21:55:39

kongeor
Member
Registered: 2013-12-08
Posts: 4

Re: [Solved] fc-cache segfault during font install.

I run into the same issue and it completely paralized my box. After a lot if tweaking I manage to prevent the segfault by downgrading the fontconfig-infinality-ultimate. Upgrading it to the last version didn't result to the segfault.

Strange ...

Offline

#13 2013-12-08 22:09:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: [Solved] fc-cache segfault during font install.

I find it alarming that so many people are having problems with this package. It's not just the font cache that's affected, I distinctly remember there being a number of users that are getting segfaults and hangs in urxvtd as well, and the problem traced back to infinality packages. Perhaps something about the infinality patchset is inherently unstable?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2013-12-09 13:14:43

mock
Member
Registered: 2013-12-09
Posts: 1

Re: [Solved] fc-cache segfault during font install.

ajkxyz wrote:

It may be freetype-2.5.1 bug, downgrading to freetype-2.5.0.1 helped me.

I think this is the bug in question (from http://sourceforge.net/projects/freetyp … pe2/2.5.2/):

CHANGES BETWEEN 2.5.1 and 2.5.2

  I. IMPORTANT BUG FIXES

    - Improving the display of some broken TrueType fonts introduced a
      bug  that made  FreeType crash  on some  popular (but  not fully
      conformant) fonts like `ahronbd.ttf'.

Offline

Board footer

Powered by FluxBB