Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Webkit browsers stopped working  (Read 3103 times)

programmador

  • Guest
[EN] Webkit browsers stopped working
« on: 2016/11/29, 16:55:49 »
All of webkit browsers (chromium, chrome, opera, yandex-browser) freeze in few seconds after start or while opening/closing some tabs.

It started happening some days ago, I think after some dist-upgrade and reboot between 25.11.2016 and 27.11.2016.
I've attached my /var/log/apt/history.log.

This is what strace shows for all webkit browsers:
Code: [Select]
poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=16, events=POLLIN}, {fd=72, events=POLLIN}], 5, 0) = 1 ([{fd=16, revents=POLLIN}])
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
read(16, "!", 2)                        = 1
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=16, events=POLLIN}, {fd=72, events=POLLIN}], 5, 0) = 0 (Timeout)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=16, events=POLLIN}, {fd=72, events=POLLIN}], 5, 3) = 0 (Timeout)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=16, events=POLLIN}, {fd=72, events=POLLIN}], 5, 0) = 0 (Timeout)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=16, events=POLLIN}, {fd=72, events=POLLIN}], 5, 2) = 0 (Timeout)
recvmsg(13, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)
gettid()                                = 12467
gettid()                                = 12467
read(33, "d\215\267\23;`a\265\37\347\267\205'\252\\\240", 16) = 16
read(33, "\3015l\267\313\322\337\220\214\352L\337\202 ,P", 16) = 16
read(33, "\3329\254\215\251(\363\264", 8) = 8
futex(0x7ffcd8b00204, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
+++ killed by SIGKILL +++

<unfinished ...> is shown after killing the browser.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Webkit browsers stopped working
« Reply #1 on: 2016/11/29, 22:54:09 »
Your description of the issue is a bit general and random.  Can you isolate the freeze to a particular website, a particular sequence of tab opening/closing, or any other repeatable operation?


I'm a SRWare Iron user, which is a chromium derivative, and I'm not seeing the issue on anything like a regular basis.  Once in awhile, with 10 or 15 tabs open, mine will just freeze and hang and I have to close it.  But that is only very occasionally and not repeatable at all.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: Webkit browsers stopped working
« Reply #2 on: 2016/11/29, 23:00:28 »
I have right now 7 instances of chrome with ~ 300 open tabs and I keep it like that for weeks. Nothing freezes ever.

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #3 on: 2016/11/30, 08:18:59 »
Your description of the issue is a bit general and random.  Can you isolate the freeze to a particular website, a particular sequence of tab opening/closing, or any other repeatable operation?
No, it can't be isolated. It happens in any webkit browser while opening (or even closing) any site in any tab.

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #4 on: 2016/11/30, 08:24:07 »
Tried deleting ~/.config/chromium.
After that chromium starts with two tabs: current empty and the second one with google opened.
And immediately freezes.
It looks like any CPU action in >=2 tabs simultaneously causes freeze after few moments.

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #5 on: 2016/11/30, 08:41:04 »
Oh, I've found out smth.
There's an error message in a terminal while launching browser:
Code: [Select]
[1130/093311:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process.
Googling gave me a link:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1563184
And a solution:
Code: [Select]
--disable-gpu
So it looks like another radeon bug. But now it causes freeze instead of crashing.
I think it started happening after the latest xorg update some days ago.

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #6 on: 2016/11/30, 08:49:14 »
It's even more interesting.
If I run a browser normally, with integrated APU videocard (AMD SUMO) - it freezes.
If I run it with discrete card (AMD CAICOS) using DRI_PRIME=1 - it doesn't freeze.

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #7 on: 2016/11/30, 08:50:41 »
Oh, sorry, I gave the wrong link before. That's where I found info about --disable-gpu:
https://bugs.chromium.org/p/chromium/issues/detail?id=383314

programmador

  • Guest
Re: Webkit browsers stopped working
« Reply #8 on: 2016/11/30, 08:52:07 »
BTW I see error message "InitializeSandbox() called with multiple threads in process gpu-process." even with DRI_PRIME=1 though browser doesn't freeze this way.

Offline TheGarage

  • User
  • Posts: 9
Re: Webkit browsers stopped working
« Reply #9 on: 2016/12/01, 01:14:04 »
Same problem here. I too think it's a Radeon problem. Run glxgears & they lock up after a few seconds.... Kodi locks up after a few seconds too. Guess I'll need to load the proprietary blob.

Offline TheGarage

  • User
  • Posts: 9
Re: Webkit browsers stopped working
« Reply #10 on: 2016/12/01, 05:59:32 »
Fixed!


Added
[/code]DRI_PRIME=1
Code: [Select]


To:    /etc/default/locale


and all is well again!


Damn AMD cards!