AppArmor is causing Firefox segfaults

I realise this is probably a bad question but I'm stuck. After a lot of googling I'm struggling to fix the problem. I've been trying to get AppArmor to work on Debian. I've been following the instructions from

Part of the instruction told me to do

sudo perl -pi -e 's,GRUB_CMDLINE_LINUX="(.*)"$,GRUB_CMDLINE_LINUX="$1 apparmor=1 security=apparmor",' /etc/default/grub 

and then

sudo update-grub 

Because I didn't understand the perl command I did this in my VM and now I can't use Firefox, not even in safemode. I get a segfault.

Fontconfig error: Cannot load default config file  (firefox:3875): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common' Crash Annotation GraphicsCriticalError: |[0][GFX1]: no fonts - init: 1 fonts: 0 loader: 0 (t=0.206719) [GFX1]: no fonts - init: 1 fonts: 0 loader: 0 [3875] ###!!! ABORT: unable to find a usable font (Sans): file /tmp/buildd/firefox-47.0.1/gfx/thebes/gfxTextRun.cpp, line 1875 [3875] ###!!! ABORT: unable to find a usable font (Sans): file /tmp/buildd/firefox-47.0.1/gfx/thebes/gfxTextRun.cpp, line 1875 Segmentation fault  apt-cache policy apparmor  apparmor:   Installed: 2.9.0-3   Candidate: 2.9.0-3   Version table:      2.10.95-4~bpo8+2 0         100 jessie-backports/main amd64 Packages  *** 2.9.0-3 0         500 jessie/main amd64 Packages         500 jessie/main amd64 Packages         100 /var/lib/dpkg/status 

I know this is looking for a font that doesn't exist because I checked the path but now I'm at an impasse, out of ideas and can't find anymore help from Google.


Category: linux Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.260 (s). 12 q(s)