You are not logged in.

#1 2015-05-15 18:20:50

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 476

[solved] Downloads with Epiphany stall or hang

Hello!

Looks like every download via HTTP hangs with Epiphany (3.16.1, WebKit 2.8.2). Can anyone confirm this issue? The good old "wget" works normal, as well as Firefox.

Thanks
Hoschi

Last edited by hoschi (2015-05-21 08:39:53)

Offline

#2 2015-05-15 22:22:49

joe_silver
Member
Registered: 2015-04-21
Posts: 27

Re: [solved] Downloads with Epiphany stall or hang

Confirmed. Since this morning.

I don't understand why.

We should check the latest packages updates.

Offline

#3 2015-05-16 09:49:27

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 476

Re: [solved] Downloads with Epiphany stall or hang

I've received updates for Epiphany and WebKit2:

[2015-05-15 19:12] [ALPM] upgraded webkit2gtk (2.8.1-1 -> 2.8.2-1)

[2015-05-15 19:12] [ALPM] upgraded epiphany (3.16.0-1 -> 3.16.1-1)

I've also have midori-gtk3 installed, which is not affected but also uses webkit2gtk, so I'm pretty sure Epiphany itself causes this problem.
I will report upstream about this issue.

// edit
Upstream bug 749464

Last edited by hoschi (2015-05-16 10:06:36)

Offline

#4 2015-05-16 13:33:34

joe_silver
Member
Registered: 2015-04-21
Posts: 27

Re: [solved] Downloads with Epiphany stall or hang

Thank you hoschi.

I must say that I'm using a patched version of webkitgtk from AUR, for high resolution screens:

https://aur.archlinux.org/packages/webkitgtk-hidpi

But downloads used to work, so there must be something wrong in the latest version.

Offline

#5 2015-05-16 18:13:42

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [solved] Downloads with Epiphany stall or hang

Downloads broke in WebKitGTK+ 2.8.2 as a side effect of a security fix. You can fix this by downgrading to 2.8.1 or upgrading to 2.8.3 (which was released yesterday; hopefully Arch gets it soon). Sorry about that.

joe_silver wrote:

Thank you hoschi.

I must say that I'm using a patched version of webkitgtk from AUR, for high resolution screens:

https://aur.archlinux.org/packages/webkitgtk-hidpi

But downloads used to work, so there must be something wrong in the latest version.

To clarify: that's a patched version of WebKitGTK+ 2.4, which is obsolete. That won't have any effect on Epiphany. Epiphany 3.16 requires WebKitGTK+ 2.8. In contrast, Midori requires WebKitGTK+ 2.4 or older because it uses the old WebKit 1 API that was removed in WebKitGTK+ 2.6. That's why Arch has multiple versions of WebKitGTK+. You can probably guess which version gets timely security updates....

Offline

#6 2015-05-16 22:27:55

joe_silver
Member
Registered: 2015-04-21
Posts: 27

Re: [solved] Downloads with Epiphany stall or hang

Michael Catanzaro wrote:

Downloads broke in WebKitGTK+ 2.8.2 as a side effect of a security fix. You can fix this by downgrading to 2.8.1 or upgrading to 2.8.3 (which was released yesterday; hopefully Arch gets it soon). Sorry about that.

joe_silver wrote:

Thank you hoschi.

I must say that I'm using a patched version of webkitgtk from AUR, for high resolution screens:

https://aur.archlinux.org/packages/webkitgtk-hidpi

But downloads used to work, so there must be something wrong in the latest version.

To clarify: that's a patched version of WebKitGTK+ 2.4, which is obsolete. That won't have any effect on Epiphany. Epiphany 3.16 requires WebKitGTK+ 2.8. In contrast, Midori requires WebKitGTK+ 2.4 or older because it uses the old WebKit 1 API that was removed in WebKitGTK+ 2.6. That's why Arch has multiple versions of WebKitGTK+. You can probably guess which version gets timely security updates....

Thank you for the clarification, Michael, but I have had the impression that the patch does work, for most websites. It seems to be a backport from the 2.6 release:  https://bugs.webkit.org/show_bug.cgi?id=131347


Unfortunately Arch does not have multiple versions of WebKitGTK

https://www.archlinux.org/packages/?sor … =&flagged=

and I really don't understand why every webkitgtk application in Arch has been built against an obsolete version such as 2.4.

If I am wrong and there is a more modern package of webkitgtk, please point me at the right version.


EDIT:

I have checked the dependencies. Actually Epiphany does not depend on WebKitGTK+ 2.4 but other packages depend on it:

# pacman -R webkitgtk-hidpi 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: bijiben: requires webkitgtk
:: empathy: requires webkitgtk
:: evolution: requires webkitgtk
:: liferea: requires webkitgtk
:: shotwell: requires webkitgtk
:: yelp: requires webkitgtk

and in fact the epiphany executable is not dynamically linked on webkitgtk 2.4

ldd /usr/bin/epiphany | grep -i webkit
	libwebkit2gtk-4.0.so.37 => /usr/lib/libwebkit2gtk-4.0.so.37 (0x00007fd815d0a000)

pacman -Q --owns /usr/lib/libwebkit2gtk-4.0.so.37
/usr/lib/libwebkit2gtk-4.0.so.37 is owned by webkit2gtk 2.8.2-1

So my understanding is that webkit2gtk is the name of the WebKitGTK+ package on Arch, which currently corresponds to the version 2.8.2. While webkitgtk is the oldest version. Unfortunately I need to use at least evolution.

Last edited by joe_silver (2015-05-16 22:42:20)

Offline

#7 2015-05-16 23:35:56

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [solved] Downloads with Epiphany stall or hang

So my understanding is that webkit2gtk is the name of the WebKitGTK+ package on Arch, which currently corresponds to the version 2.8.2. While webkitgtk is the oldest version. Unfortunately I need to use at least evolution.

Yes. And now you  also understand why your hidpi patch affects Midori but not Epiphany. smile

Offline

#8 2015-05-17 17:25:46

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 476

Re: [solved] Downloads with Epiphany stall or hang

Michael Catanzaro wrote:

Downloads broke in WebKitGTK+ 2.8.2 as a side effect of a security fix. You can fix this by downgrading to 2.8.1 or upgrading to 2.8.3 (which was released yesterday; hopefully Arch gets it soon). Sorry about that.

joe_silver wrote:

Thank you hoschi.

I must say that I'm using a patched version of webkitgtk from AUR, for high resolution screens:

https://aur.archlinux.org/packages/webkitgtk-hidpi

But downloads used to work, so there must be something wrong in the latest version.

To clarify: that's a patched version of WebKitGTK+ 2.4, which is obsolete. That won't have any effect on Epiphany. Epiphany 3.16 requires WebKitGTK+ 2.8. In contrast, Midori requires WebKitGTK+ 2.4 or older because it uses the old WebKit 1 API that was removed in WebKitGTK+ 2.6. That's why Arch has multiple versions of WebKitGTK+. You can probably guess which version gets timely security updates....


Thanks! My mistake!
I thought midori-gtk3 uses already the new WebKit2 (webkit2gtk-2.8.2) and didn't double checked the dependencies!

Offline

#9 2015-05-18 23:52:39

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 50

Re: [solved] Downloads with Epiphany stall or hang

One more thing: the hidpi patch was just merged today for the upcoming WebKitGTK+ 2.4.9, so you won't need the patched version to get hidpi support in applications stuck on 2.4 once that's released. (This old branch is still being VERY lightly maintained since it's the last version that supports the original API.)

Offline

#10 2015-05-20 15:11:10

joe_silver
Member
Registered: 2015-04-21
Posts: 27

Re: [solved] Downloads with Epiphany stall or hang

Michael Catanzaro wrote:

One more thing: the hidpi patch was just merged today for the upcoming WebKitGTK+ 2.4.9, so you won't need the patched version to get hidpi support in applications stuck on 2.4 once that's released. (This old branch is still being VERY lightly maintained since it's the last version that supports the original API.)

Great news! Unfortunately Evolution (which I chose as my email client because it's perfectly integrated with Gnome accounts, contacts, calendar etc) is still using WebKitGtk+ 2.4.x. I hop to see Evolution based on the new version from the next release.

Now I'm looking forward to the Arch packages updates...

Offline

#11 2015-05-21 08:39:35

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 476

Re: [solved] Downloads with Epiphany stall or hang

It now should use WebKitGtk+-2.4.9.

# pacman -Syu

Offline

Board footer

Powered by FluxBB