Created attachment 528508 [details] emerge --info I get often segfault while exiting full screen on youtube and firefox get crash. I had same issue few months ago, but It suddenly stopped getting segfaults without finding reason of that problem. Since yesterday I have same issue. I think it's after I updated something. [ 786.696413] Chrome_~dThread[15235]: segfault at 0 ip 00007f63ed70f653 sp 00007f63e7bd0ad0 error 6 in libxul.so[7f63ed30b000+4a5d000] [ 786.696464] Chrome_~dThread[12650]: segfault at 0 ip 00007f457950f653 sp 00007f45739d0ad0 error 6 in libxul.so[7f457910b000+4a5d000] [ 786.700263] Chrome_~dThread[15421]: segfault at 0 ip 00007f2b6e60f653 sp 00007f2b68ad0ad0 error 6 in libxul.so[7f2b6e20b000+4a5d000] [ 786.700805] Chrome_~dThread[12557]: segfault at 0 ip 00007f2bb710f653 sp 00007f2bb15d0ad0 error 6 in libxul.so[7f2bb6d0b000+4a5d000] [ 2145.813324] Chrome_~dThread[32523]: segfault at 0 ip 00007fb225c0f653 sp 00007fb2200d0ad0 error 6 in libxul.so[7fb22580b000+4a5d000] [ 2145.813415] Chrome_~dThread[22755]: segfault at 0 ip 00007ff65960f653 sp 00007ff653ad0ad0 error 6 in libxul.so[7ff65920b000+4a5d000] [ 2145.822307] Chrome_~dThread[30816]: segfault at 0 ip 00007ff259e0f653 sp 00007ff2542d0ad0 error 6 in libxul.so[7ff259a0b000+4a5d000] [ 2145.822508] Chrome_~dThread[22665]: segfault at 0 ip 00007ff0f940f653 sp 00007ff0f38d0ad0 error 6 in libxul.so[7ff0f900b000+4a5d000] Sat Apr 21 12:11:23 2018 >>> dev-libs/vala-common-0.36.13 Sat Apr 21 12:11:44 2018 >>> dev-libs/libgpg-error-1.29 Sat Apr 21 12:12:53 2018 >>> sys-kernel/gentoo-sources-4.16.3 Sat Apr 21 12:14:50 2018 >>> net-dns/bind-tools-9.12.1 Sat Apr 21 16:03:36 2018 >>> net-wireless/wpa_supplicant-2.6-r6 Sat Apr 21 16:16:08 2018 >>> media-libs/mesa-18.0.1 Sat Apr 21 16:17:21 2018 >>> media-libs/libsdl2-2.0.8-r1 Sat Apr 21 16:18:03 2018 >>> app-crypt/gpgme-1.11.1 Sat Apr 21 16:18:28 2018 >>> sys-apps/portage-2.3.31 Sun Apr 22 15:51:54 2018 >>> dev-embedded/gputils-1.5.0 Sun Apr 22 15:53:11 2018 >>> dev-embedded/sdcc-3.5.0 Mon Apr 23 09:48:59 2018 >>> dev-libs/boehm-gc-7.6.4 Mon Apr 23 09:51:30 2018 >>> dev-lang/python-2.7.14-r2 Mon Apr 23 09:54:15 2018 >>> dev-lang/python-3.5.5-r1 Mon Apr 23 09:55:45 2018 >>> dev-libs/libxml2-2.9.8 Mon Apr 23 09:55:53 2018 >>> dev-python/pyxdg-0.26 Mon Apr 23 09:56:28 2018 >>> dev-libs/libxslt-1.1.32 Mon Apr 23 09:56:42 2018 >>> dev-libs/libinput-1.10.5 Mon Apr 23 09:56:52 2018 >>> dev-python/certifi-2018.1.18 Mon Apr 23 09:57:20 2018 >>> app-crypt/libsecret-0.18.6 Mon Apr 23 09:58:27 2018 >>> net-misc/openssh-7.7_p1-r2 Mon Apr 23 10:01:08 2018 >>> media-libs/gegl-0.3.34 Mon Apr 23 10:08:48 2018 >>> media-libs/mesa-18.1.0_rc1 [ebuild R ] www-client/firefox-58.0.1::gentoo USE="dbus eme-free hwaccel screenshot system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -gmp-autoupdate -hardened -jack (-neon) -pulseaudio (-selinux) -startup-notification {-test} -wifi" L10N="en-GB -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB
Can you try it with multiprocess mode disabled and see if it still happens? You might need to add these in about:config to get it to do that, the UI option doesn't seem to be enough: browser.tabs.remote.autostart: false browser.tabs.remote.autostart.2: false (FWIW, Firefox was crashing constantly for me on multiple computers, until I tried the above)
Check the size of your /dev/shm: https://www.reddit.com/r/firefox/comments/7onaci/firefox_crashes_frequently_on_linux_you_need_to/
(In reply to Ștefan Talpalaru from comment #2) > Check the size of your /dev/shm: > https://www.reddit.com/r/firefox/comments/7onaci/ > firefox_crashes_frequently_on_linux_you_need_to/ Thanks for going through the pain of figuring this out; can't speak for the OP, but it solved it for me (my /dev/shm was set to 256MB).
I am seeing the same thing after upgrading to www-client/firefox-60.0 and my /dev/shm is 17G and barely used... (I do wonder if it is somehow consuming towards 17G just before crashing though - but the crashes are frequent, sometimes after just a few minutes of running.) $ df -H /dev/shm Filesystem Size Used Avail Use% Mounted on none 17G 48M 17G 1% /dev/shm ========== [334150.064133] Chrome_~dThread[6400]: segfault at 0 ip 00007f269d734f8e sp 00007f269ab93ad0 error 6 in libxul.so[7f269d226000+56d3000] ========== www-client/firefox-60.0::gentoo was built with the following: USE="dbus eme-free hwaccel screenshot -bindist -custom-cflags -custom-optimization -debug -gmp-autoupdate -hardened -jack (-neon) -pulseaudio (-selinux) -startup-notification -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -test -wifi" ABI_X86="(64)" L10N="en-GB -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" CFLAGS="-march=skylake -pipe" CXXFLAGS="-march=skylake -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns -fno-schedule-insns2" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
After set browser.tabs.remote.autostart and browser.tabs.remote.autostart.2 to false, firefox still get crashed, but more less frequently and without segfaults. After add: >tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=2G 0 0 to /etc/fstab firefox get crashed even lesser frequently. Finally update to 60.0 completely solved the problem.
This is an opengl regression I believe in mesa-18.1* if you can duplicate it with 18.0.4 let us know. If it is not crashing with the former package version we will reassign to x11 project.
I am getting the crash with media-libs/mesa-17.3.9. If relevant, I use x11-drivers/nvidia-drivers-396.24 for OpenGL.
I continued to see this with firefox-60.0.1 and firefox-60.0.2, but it seems to have gone away with firefox-61.0. No crashes for three days since upgrading.
Thanks for the update, closing as obsolete because we didn't change anything and error went away with newer versions.