Bug 1014858

Summary: GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed (on startup)
Product: [Fedora] Fedora Reporter: D. Wagner <daw-redhatbugzilla>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: antoine, collura, eblake, gecko-bugs-nobody, ilya.gradina, jones.peter.busi, nix.sasl, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-05 13:47:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch none

Description D. Wagner 2013-10-02 23:39:56 UTC
Description of problem:

When starting Firefox, I get the following error message from glib:

(process:1489): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

It looks like this is being tracked upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=833117

It looks like it is related to glib2


Version-Release number of selected component (if applicable):

$ rpm -q glib glib2 firefox
glib-1.2.10-39.fc19.x86_64
glib2-2.36.3-3.fc19.x86_64
firefox-24.0-1.fc19.x86_64


How reproducible:

100% reproducible - just start Firefox.

Comment 1 Martin Stransky 2013-10-15 15:04:58 UTC
Related Bug - https://bugzilla.gnome.org/show_bug.cgi?id=687763

Comment 2 Martin Stransky 2013-10-15 15:11:14 UTC
Does anyone see the crashes reported upstream? Or is that a just an error message?

Comment 3 Martin Stransky 2013-10-16 11:07:28 UTC
Anyway, this bug should cause Thunderdbird crash which I don't see...

Comment 4 Antoine Martin 2013-10-30 03:37:07 UTC
I applied the Fedora 19 updates today and I get this exact error with both Thunderbird and Firefox.

Can you please tell me what I need to downgrade to make my desktop usable again?

Comment 5 Antoine Martin 2013-10-30 03:58:15 UTC
Apologies for wrongly blaming it on this bug.
I normally do not run Thunderbird or Firefox from the command line, this warning is still present so it was not the cause of the crashes.

My problem is in fact a this one with the ibus update that came in today:
https://retrace.fedoraproject.org/faf/reports/256967/

And since there is no place for me to post the solution on that retrace page, here it is for those hitting the same issue:

yum downgrade ibus-gtk2 ibus-libs ibus ibus-gtk3 ibus-setup

Comment 6 Nix\ 2014-02-11 06:38:29 UTC
Same bug here:

Fedora 19 x86_64 KDE. Sometimes Firefox does not start and crash with a little window that content this:

'Error de parseo XML: entidad indefinida
Lugar: chrome://browser/content/browser.xul
LĂ­nea 239, Columna 5:    <broadcaster id="devtoolsMenuBroadcaster_DevAppMgr"
----^'

In english some like "Parsing error, unidefined entity..:"

Always the message error is in terminal:

(process:10610): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

Comment 7 Eric Blake 2014-04-22 14:52:54 UTC
I'm seeing this message every time I start firefox from the command line:

$ firefox http://google.com&
[2] 25624
$ 
(process:25624): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

Comment 8 Eric Blake 2014-04-22 14:56:15 UTC
(In reply to Eric Blake from comment #7)
> I'm seeing this message every time I start firefox from the command line:
> 
> $ firefox http://google.com&
> [2] 25624
> $ 
> (process:25624): GLib-CRITICAL **: g_slice_set_config: assertion
> 'sys_page_size == 0' failed

$ rpm -qf `which firefox`
firefox-28.0-3.fc20.x86_64

Comment 9 Martin Stransky 2015-01-05 13:24:44 UTC
see https://bugzilla.mozilla.org/show_bug.cgi?id=833117#c88

Comment 10 Martin Stransky 2015-01-05 13:44:57 UTC
Created attachment 976434 [details]
patch

Comment 11 Martin Stransky 2015-01-05 13:47:07 UTC
Added to firefox-34.0-12