Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox and upower, wait, what?[Solved?]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1774

PostPosted: Thu Apr 10, 2014 6:38 am    Post subject: Firefox and upower, wait, what?[Solved?] Reply with quote

Firefox has been locking up lately. I ran it from the terminal and I found this

Code:
(process:3822): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: The name org.freedesktop.UPower was not provided by any .service files
Error: The name org.freedesktop.UPower was not provided by any .service files
Error: The name org.freedesktop.UPower was not provided by any .service files
Error: The name org.freedesktop.UPower was not provided by any .service files
Error: The name org.freedesktop.UPower was not provided by any .service files
NOTE: child process received `Goodbye', closing down
Error: The name org.freedesktop.UPower was not provided by any .service files
^C


Wait, what is Firefox doing depending on upower? Why is it looking for .service files from systemd?! and how do I stop it?!

This isn't a rant. This is an honest question.emerge output

EDIT:
I disabled dbus and firefox seems to be working, however since there I can't be sure what was causing the lock ups I can't be sure it is fixed.
_________________
First things first, but not necessarily in that order.


Last edited by The Doctor on Thu Apr 10, 2014 11:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 10, 2014 10:37 am    Post subject: Reply with quote

Introduced with https://hg.mozilla.org/mozilla-central/rev/72357a8f0d89 where you'll note this uses DBus; from there on, you'll note that this is a typical DBus.Error.ServiceUnknown error which happens periodically as it might try to read out the power status. To be able to determine if this is indeed causing it to lock; you can monitor whether these messages come when Firefox isn't locking up, if that's the case the problem lies elsewhere (the assertion perhaps?). Reverting that patch or compiling Firefox with USE="-dbus" are another two possible attempts to see if this is the cause.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2644
Location: Dallas area

PostPosted: Thu Apr 10, 2014 10:58 am    Post subject: Re: Firefox and upower, wait, what? Reply with quote

The Doctor wrote:
Firefox has been locking up lately. I ran it from the terminal and I found this

Code:
(process:3822): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed


I've been getting those messages for the last several firefox packages, never had a lockup because of it.
I think it started several revs back in a glib update.

As Tom says I would disable dbus, if you have it enabled. I've never needed it for FF.

Code:
 - - dbus                 : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)


I also run mine with the libnotify flag unset.

Edit to add: if none of this helps you might try downgrading to the last stable release.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1774

PostPosted: Thu Apr 10, 2014 10:08 pm    Post subject: Reply with quote

Hmm, it seems that the dbus error isn't causing the crash. I have a 16 tabs open and I have the dbus error but no crash so far.

It seems this is a rather annoying gremlin. I'll try disabling dbus to see if that works, however since it seems I can't reliably repeat the problem this may take some time.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum