Bug 184391 - [GTK] Web pages become blank/white
Summary: [GTK] Web pages become blank/white
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-07 19:25 PDT by antoyo
Modified: 2018-05-16 06:00 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antoyo 2018-04-07 19:25:34 PDT
Hi.
Since a few weeks, web pages can become randomly blank/white without any trigger that I can think.
If you need more info to debug this issue, please ask which.
Thanks to fix this issue.
Comment 1 Michael Catanzaro 2018-04-08 08:28:51 PDT
It's probably a network process crash. We need to see a backtrace for that.

Might be related to bug #183348
Comment 2 li 2018-05-08 07:10:41 PDT
I've been affected by this bug since I upgraded webkitgtk from 2.18.6 to 2.20.0, and I can confirm that it hasn't been fixed. I tried to generate a core dump, but it seems there isn't any crash. Maybe I'm wrong, I attached one gdb to each webkit process with gdb -p PID, and tried to reproduce the bug, when a webview became blank, all webkit processes were still running.  

Some steps that I found that may reproduce this bug: open more than one webviews/tabs all sharing one origin (in my case, they were all opened with javascript window.open), when closing one view, one of the other view that gets focus becomes blank.

I've been watching bug #183348, and tried that patch on version 2.20.1 (by replacing CRASH() with exit(0) ) , it didn't solve this issue.
Comment 3 Michael Catanzaro 2018-05-08 08:07:53 PDT
(In reply to li from comment #2)
> I've been affected by this bug since I upgraded webkitgtk from 2.18.6 to
> 2.20.0, and I can confirm that it hasn't been fixed.

Oh wow, I thought this was a regression in 2.21.1, since I don't remember seeing this issue until very recently, after I upgraded from 2.20.0.

(In reply to li from comment #2)
> I tried to generate a
> core dump, but it seems there isn't any crash. Maybe I'm wrong, I attached
> one gdb to each webkit process with gdb -p PID, and tried to reproduce the
> bug, when a webview became blank, all webkit processes were still running.  

Good job, then you know there's indeed no crash. (Of course, it's much easier to just check coredumpctl if you use a distro where that's enabled.)

I don't have any network process crashes either, so my original guess was wrong.

> Some steps that I found that may reproduce this bug: open more than one
> webviews/tabs all sharing one origin (in my case, they were all opened with
> javascript window.open), when closing one view, one of the other view that
> gets focus becomes blank.

Those are "related" views, then (two views that share the same web process). That seems really similar to bug #183199. But that's marked as a duplicate of bug #184040, which is a crash, and you've already determined there's no crash here. Furthermore, the crash fixed in bug #184040 occurs only "when using single shared process model or when the process limit is reached in multiple process model." I'm experiencing this bug in multiple secondary process mode without any process count limit.

There's one more issue: I see web pages becoming white *after* they had previously loaded content. That seems different than bug #183199.
Comment 4 Michael Catanzaro 2018-05-16 06:00:47 PDT
Yesterday I was in a state where I could reproduce this problem 100% of the time when opening external links on reddit. But the problem went away and I can't reproduce it anymore, with the same software versions.