Bug 1391777

Summary: Tab crash in specific webpage
Product: [Fedora] Fedora Reporter: Diogo Campos <diogocamposwd>
Component: epiphanyAssignee: Michael Catanzaro <mcatanzaro+wrong-account-do-not-cc>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: diogocamposwd, gecko-bugs-nobody, mcatanzaro+wrong-account-do-not-cc, rob.townley, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-20 01:20:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screencast of the bug (aka "You Won't Believe What Happens Next")
none
Dialog from a 'windowless' Files (just after the tab disappeared) none

Description Diogo Campos 2016-11-04 01:48:56 UTC
Created attachment 1217195 [details]
Screencast of the bug (aka "You Won't Believe What Happens Next")

# Description:

Ok, that's weird. This webpage[1] (the whole website, actually) makes the tab to crash(?) and, wait for it, Chromium to be launched(!). See video as attachment for visual proof.

[1]: https://www.letras.mus.br/dead-fish/675366/

# Versions:

Fedora 25 Beta
epiphany 3.22.1-1
webkitgtk4 2.14.1-2
kernel 4.8.6-300
mesa 12.0.3-3
xorg-x11-server-Xorg 1.19.0-0.7.rc2
xorg-x11-drv-intel 2.99.917-26.20160929

# Web non-default configs:

Enable plugins --> OFF
Remember passwords --> OFF
~/.config/epiphany/adblock/filters.list --> "https://easylist-downloads.adblockplus.org/easylist.txt;https://easylist-downloads.adblockplus.org/easyprivacy.txt"

# More

Always happens.
Happens in both Wayland and X sessions.
GPU is a G33, from a Pentium E5700 CPU.
Does not produce an ABRT thing, I don't know why.

Comment 1 Michael Catanzaro 2016-11-04 03:57:41 UTC
I think it's not crashing, just *closing*. What happens if you have another tab open when you visit this website? I bet the browser remains open and only the tab that you used to visit this site closes, right?

Theory: I guess there is some bug in the download logic. Somehow the main resource is being improperly detected as a download, the tab closes itself, then Epiphany opens the "download" in the default URI handler (is Chromium your default browser?)

Comment 2 Diogo Campos 2016-11-04 04:44:24 UTC
(In reply to Michael Catanzaro from comment #1)
> What happens if you have another
> tab open when you visit this website? I bet the browser remains open and
> only the tab that you used to visit this site closes, right?

Yes.

> Theory: I guess there is some bug in the download logic. Somehow the main
> resource is being improperly detected as a download, the tab closes itself,
> then Epiphany opens the "download" in the default URI handler

Makes sense.

> (is Chromium your default browser?)

No. Web is the default.

Comment 3 Michael Catanzaro 2016-11-04 13:43:34 UTC
Unfortunately I can't reproduce this :/

Really excellent bug though!

Comment 4 Diogo Campos 2016-11-04 19:47:41 UTC
(In reply to Michael Catanzaro from comment #3)
> Unfortunately I can't reproduce this :/

Weird.

Anyway, I tried to:

- Delete...
~/.cache/epiphany
~/.config/epiphany
~/.local/share/epiphany
~/.cache/webkitgtk
~/.local/share/webkitgtk

- and reset everything inside 'org.gnome.epiphany' in 'dconf-editor',

- and uninstall Chromium.

The thing still happens, however. Best hint I could find is this dialog from a "windowless" Files in a X session (see next attachment).

Comment 5 Diogo Campos 2016-11-04 19:52:52 UTC
Created attachment 1217496 [details]
Dialog from a 'windowless' Files (just after the tab disappeared)

It says:

"Oops! Something went wrong.
Uncaught error message: no hostname specified"

Comment 6 Michael Catanzaro 2016-11-18 12:01:32 UTC
Can you report this bug upstream, please?

Comment 7 Diogo Campos 2016-11-20 00:19:39 UTC
Done: https://bugzilla.gnome.org/show_bug.cgi?id=774734