You are not logged in.

#1 2018-01-24 17:02:54

vadas
Member
Registered: 2018-01-24
Posts: 3

Firefox/Gnome/Freeze/Crash

Just installed Arch linux for the first time (with Gnome DE) on my Dell Latitude E6230 (128GB SSD, 8GB RAM + 8GB swap partition + 4GB swapfile).
When i am using firefox (only when using firefox, other browsers/apps does not cause this bug) for a few hours my browser freezes for a while (like 10-15 seconds). I never open more then 6 tabs at the same time, so this should not be a problem. 1 out of 5 times when my browser hangs I also get logged out from my user account.
I am pretty sure this bug is related to some kind of memory problem but i am not sure why. My swap partition is encrypted (LVM, so is my /home and /root (~30GB) partition), this could be a reason but I never had any problem with encrypted swap partitions on other distros so I have no idea how to solve this kind of problem.

Any help would be appreciated!

Journalctl:

Jan 24 16:28:19 forensics gnome-shell[816]: gmem.c:130: failed to allocate 18446744072098939136 bytes
Jan 24 16:28:24 forensics gnome-session-binary[784]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 24 16:28:25 forensics systemd-coredump[6580]: Process 840 (Xwayland) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 840:
                                                  #0  0x00007fb61d16d860 raise (libc.so.6)
                                                  #1  0x00007fb61d16eec9 abort (libc.so.6)
                                                  #2  0x000056398ef52e4a OsAbort (Xwayland)
                                                  #3  0x000056398ef58963 n/a (Xwayland)
                                                  #4  0x000056398ef59785 FatalError (Xwayland)
                                                  #5  0x000056398ede4c0f n/a (Xwayland)
                                                  #6  0x000056398ef509c1 n/a (Xwayland)
                                                  #7  0x000056398ef4986b WaitForSomething (Xwayland)
                                                  #8  0x000056398ef15673 n/a (Xwayland)
                                                  #9  0x000056398ef19910 n/a (Xwayland)
                                                  #10 0x00007fb61d159f4a __libc_start_main (libc.so.6)
                                                  #11 0x000056398ede426a _start (Xwayland)
                                                  
                                                  Stack trace of thread 842:
                                                  #0  0x00007fb61d4fd39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007fb616dcf514 n/a (swrast_dri.so)
                                                  #2  0x00007fb616dcf368 n/a (swrast_dri.so)
                                                  #3  0x00007fb61d4f708c start_thread (libpthread.so.0)
                                                  #4  0x00007fb61d22ee1f __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 843:
                                                  #0  0x00007fb61d4fd39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007fb616dcf514 n/a (swrast_dri.so)
                                                  #2  0x00007fb616dcf368 n/a (swrast_dri.so)
                                                  #3  0x00007fb61d4f708c start_thread (libpthread.so.0)
                                                  #4  0x00007fb61d22ee1f __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 841:
                                                  #0  0x00007fb61d4fd39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007fb616dcf514 n/a (swrast_dri.so)
                                                  #2  0x00007fb616dcf368 n/a (swrast_dri.so)
                                                  #3  0x00007fb61d4f708c start_thread (libpthread.so.0)
                                                  #4  0x00007fb61d22ee1f __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 844:
                                                  #0  0x00007fb61d4fd39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007fb616dcf514 n/a (swrast_dri.so)
                                                  #2  0x00007fb616dcf368 n/a (swrast_dri.so)
                                                  #3  0x00007fb61d4f708c start_thread (libpthread.so.0)
                                                  #4  0x00007fb61d22ee1f __clone (libc.so.6)
-- Subject: Process 840 (Xwayland) dumped core
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 840 (Xwayland) crashed and dumped core.

Last edited by vadas (2018-01-24 17:09:44)

Offline

#2 2018-01-24 17:07:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,711

Re: Firefox/Gnome/Freeze/Crash

Please wrap output in [ code ] tags.

Reads like some compatibility problem with XWayland, to rule that out, can you try in a Xorg session? Choose "Gnome on Xorg" in GDM if you use that.

Last edited by V1del (2018-01-24 17:09:56)

Offline

#3 2018-01-24 17:35:42

vadas
Member
Registered: 2018-01-24
Posts: 3

Re: Firefox/Gnome/Freeze/Crash

Thanks for pointing out the code tags, I totally forgot those!

So I tried the Gnome on Xorg option, fired up firefox and I opened 8 tabs to speed up process (including some heavy ones like fb and yt).
After like 1-2 minutes firefox got frozen once again. I was using the System Monitor and found out that memory usage was at 40-45% the whole time but CPU4 was at 100% when the hang of firefox occured. Firefox went half way transparent (as I was maximizing the window when the hang occured). As soon as firefox got back to working my CPU went back to 15-20%. Checked journalctl, it didnt show anything suspicios this time.

Offline

#4 2018-01-24 17:39:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,711

Re: Firefox/Gnome/Freeze/Crash

I have two additional things you might check, one is making sure that your microcode updates are properly applied https://wiki.archlinux.org/index.php/Microcode

The other is that there were a few threads lately that mentioned issues with swap on LVM, llok at https://bbs.archlinux.org/viewtopic.php?id=231083 for more info

Offline

#5 2018-01-26 10:38:11

vadas
Member
Registered: 2018-01-24
Posts: 3

Re: Firefox/Gnome/Freeze/Crash

Thanks for the advice!
I managed to work around this issue by setting firefox multiprocessing to false in about:config.
Since I did that the hangs and crashes disappeared.

Offline

#6 2018-02-08 15:01:28

Vlad3
Member
Registered: 2018-02-02
Posts: 9

Re: Firefox/Gnome/Freeze/Crash

I have the same issues. Very sad about it.

https://bbs.archlinux.org/viewtopic.php?id=234127

Offline

Board footer

Powered by FluxBB