Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541720 - Firefox 36 crashes when opening a new tab
Summary: Firefox 36 crashes when opening a new tab
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-02-28 21:18 UTC by Herbert Wantesh
Modified: 2015-11-22 05:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Wantesh 2015-02-28 21:18:28 UTC
I ran into this bug https://bugs.gentoo.org/show_bug.cgi?id=541534 and was able to build firefox with "jit" enabled. But now firefox crashes when opening a new tab by clicking the "+" symbol or pressing "crtl + t". Although right clicking on a url and selecting "open in new tab" is working.

[ebuild   R   ~] www-client/firefox-36.0  USE="custom-optimization gstreamer hardened jit minimal pulseaudio startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite wifi -bindist -custom-cflags -dbus -debug (-gmp-autoupdate) (-pgo) (-selinux) {-test}" LINGUAS="en_GB -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 0 KiB


Reproducible: Always

Steps to Reproduce:
1. open firefox
2. press the "+" symbol or press "crtl + t"
3. firefox crashes
Comment 1 Herbert Wantesh 2015-02-28 21:20:48 UTC
LANG=C firefox -ProfileManager

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

(process:25734): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[25734] ###!!! ABORT: X_PutImage: BadLength (poly request too large or internal Xlib length error); 9 requests ago: file /tmp/tmerge/portage/www-client/firefox-36.0/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
[25734] ###!!! ABORT: X_PutImage: BadLength (poly request too large or internal Xlib length error); 9 requests ago: file /tmp/tmerge/portage/www-client/firefox-36.0/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
Speicherzugriffsfehler
Comment 2 Samuel Bauer 2015-03-02 22:46:02 UTC
This bug has been described there:
https://bugzilla.mozilla.org/show_bug.cgi?id=1136417

The workaround associated with the bug works fine:
browser.newtab.url about:blank
Comment 3 Herbert Wantesh 2015-03-02 23:37:47 UTC
thanks, it works here too.

but this is no fix just a workaround
Comment 4 Paul Thompson 2015-03-13 05:22:55 UTC
(In reply to Herbert Wantesh from comment #3)
> thanks, it works here too.
> 
> but this is no fix just a workaround

The mozilla bug has progressed and indicates the trouble is in cairo.
Two solutions are to build firefox with "-system-cairo" or to build
cairo with "-xlib-xcb"
Comment 5 Herbert Wantesh 2015-03-13 11:23:48 UTC
Thanks for the info. I compiled cairo with "-xlib-xcb" and now it works without a problem. This useflag dependencies should be added to firefox to fix this problem for all users.
Comment 6 Matthew Dawson 2015-11-22 04:00:20 UTC
I was researching this bug to find the issue, and I noticed that my window manager of choice seemed to affect whether this occurred in Firefox 42.  As a quick poll, what window manager where you using when you noticed this?  And if the window manager allowed it, was compositing enabled, and using what rendering technology (XRender or OpenGL)?
Comment 7 Jory A. Pratt gentoo-dev 2015-11-22 05:14:16 UTC
Has already been addressed the fix will move to tree tomorrow afternoon.