You are not logged in.

#1 2013-01-30 14:51:59

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 72

[Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Hallo,

Since I ran updates yesterday, Firefox and Thunderbird (versions don't matter) won't start. I get this error when attempting to open either one:

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Segmentation fault (core dumped)

I looked at the wiki (https://wiki.archlinux.org/index.php/Fo … figuration) and I know Fontconfig has changed, but I don't really know what to do to fix it, what I have to edit, and etc, since I don't know what this whole $XDG_CACHE thing is or how to get to it, since it's not a directory that I know of. And there is no .fonts files in my /home folder, either.

This is what my 50-user.conf looks like:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <!-- Load per-user customization file -->
        <include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
        <include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
        <!-- the following elements will be removed in the future -->
        <include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
        <include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
</fontconfig>

Apologies for being such a newb, and any help is appreciated.

Thanks!

Last edited by Kalinda (2013-02-01 01:40:47)


Arch Linux Plasma 5 | AMD FX 6300 3.5 GHz | 8GB DDR3 RAM | Asus M5A97 R2.0 Motherboard | nVidia GeForce GTX 750 Ti  | Creative SBLive! Audigy LS Sound Card

Offline

#2 2013-01-30 19:09:41

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

While you can comment out the last two include lines to get rid of the warning, it doesn't (or at least shouldn't) have anything to do with the crash. What did you upgrade yesterday (check /var/log/pacman.log)? Also, post the output of `strace firefox`.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2013-01-31 01:43:57

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Yes, I can confirm that the font.conf warning has nothing to do with your problem.

Last edited by hunterthomson (2013-01-31 01:44:26)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#4 2013-01-31 02:27:24

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Might be connected to this thread: https://bbs.archlinux.org/viewtopic.php … 1#p1225041


I laugh, yet the joke is on me

Offline

#5 2013-01-31 03:20:06

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 72

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

I posted the strace output to pastebin (http://pastebin.com/2vfhve6c), although I think the entire thing was too long to copy into Kwrite because it didn't keep it all. Regardless, I'm pretty sure only this last bit is relevant:

--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fb966b35004} ---
unlink("/home/kalinda/.mozilla/firefox/hcpkape7.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x7fb9666d91e0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(9887, 9887, SIGSEGV)             = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_TKILL, si_pid=9887, si_uid=1000} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

For comparison, here is the last part of the Thunderbird strace:

--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7ffe21edc004} ---
unlink("/home/kalinda/.thunderbird/gfd5gwqm.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x7ffe22c971e0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(10518, 10518, SIGSEGV)           = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_TKILL, si_pid=10518, si_uid=1000} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

I noticed it mentioned my profiles so I tried deleting my Firefox profile, but it didn't change anything so I restored it. I'm more hesitant to get rid of my Thunderbird profile because it has all my email.

Anyway I hope this is useful. Thanks again smile

ETA: I'm checking the Java thing mentioned in link in the above reply, will get back to you.

Last edited by Kalinda (2013-01-31 03:22:38)


Arch Linux Plasma 5 | AMD FX 6300 3.5 GHz | 8GB DDR3 RAM | Asus M5A97 R2.0 Motherboard | nVidia GeForce GTX 750 Ti  | Creative SBLive! Audigy LS Sound Card

Offline

#6 2013-01-31 04:17:19

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Kalinda wrote:

I noticed it mentioned my profiles so I tried deleting my Firefox profile, but it didn't change anything so I restored it. I'm more hesitant to get rid of my Thunderbird profile because it has all my email.

I think this is still on the right track.  Instead of deleting your profile (for Firefox or Thunderbird), you could just move them to a different directory and then restore them when done.  In addition to your profile, on Firefox I would try clearing out history and cookies as well.  Basically make it like a new install.  Also, which build are you running, i686 or x86_64?


I laugh, yet the joke is on me

Offline

#7 2013-01-31 05:00:48

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 72

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

I'm not sure how to clear my cookies or history since Firefox itself won't open. I tried deleting the entire .mozilla folder, but it still seg faults before it even manages to open.

I'm running 64 bit.


Arch Linux Plasma 5 | AMD FX 6300 3.5 GHz | 8GB DDR3 RAM | Asus M5A97 R2.0 Motherboard | nVidia GeForce GTX 750 Ti  | Creative SBLive! Audigy LS Sound Card

Offline

#8 2013-01-31 05:57:40

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Kalinda wrote:

I'm not sure how to clear my cookies or history since Firefox itself won't open. I tried deleting the entire .mozilla folder, but it still seg faults before it even manages to open.

I'm running 64 bit.

Well, that does it for me (only other idea is to just ininstall and reinstall Firefox).  A i686 bug or a bad profile were my only two ideas, and you shot down both.

You said that Midori crashes as well?  The only thing I can think of that those two are sharing is flash (and gtk2?).  Perhaps you could uninstall flash (or delete/move it's profile folder .macromedia)?

Last edited by the sad clown (2013-01-31 05:59:59)


I laugh, yet the joke is on me

Offline

#9 2013-01-31 07:59:39

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 72

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Sadly that didn't work, either. And I'm not using Midori, it's Thunderbird (the other Mozilla program) that's also crashing in the same way. Flash works fine in other browsers, though.

I tried uninstalling and reinstalling, but that did nothing. Nor did downgrading to an older version.

Here's a list of all the updates I ran (after which Firefox and Thunderbird stopped working): http://pastebin.com/RiFwr8HR (Yes, LibreOffice not working is another pain I need to deal with, but that's a lot easier)


Arch Linux Plasma 5 | AMD FX 6300 3.5 GHz | 8GB DDR3 RAM | Asus M5A97 R2.0 Motherboard | nVidia GeForce GTX 750 Ti  | Creative SBLive! Audigy LS Sound Card

Offline

#10 2013-01-31 19:45:19

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 72

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Alright, now I feel silly. Once I solved my LibreOffice problem and got updates to run properly (the kernel and nvidia drivers were updated, too), everything works fine again.

Sorry for all the trouble, and thanks everyone!


Arch Linux Plasma 5 | AMD FX 6300 3.5 GHz | 8GB DDR3 RAM | Asus M5A97 R2.0 Motherboard | nVidia GeForce GTX 750 Ti  | Creative SBLive! Audigy LS Sound Card

Offline

#11 2013-01-31 20:54:24

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: [Solved] Firefox, Thunderbird seg fault, give fontconfig warning

Glad to here it.  Don't forget to mark the op [Solved].


I laugh, yet the joke is on me

Offline

Board footer

Powered by FluxBB