Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sat Aug 30, 2014 3:20 pm

Today I ran sudo apt-get update && apt-get dist-upgrade which upgraded libwebkitgtk-3.0-0 from 1.8.1-3.4+rpi1 to 2.4.1-1rpi22rpi1 together with a bunch of dependencies.

After that, my application (using gkreidl's fantastic Minimal Kiosk Browser) stopped working properly. HTML was rendered correctly, but CSS animations where ignored. Reverting libwebkitgtk (and libjavascriptcoregtk) to the previous version fixed this.

Is anyone else having issues with the updated Webkit?
What is the right place to submit bugs like this?
Where can I find information on when and why these packages where added to the repository?

plugwash
Forum Moderator
Forum Moderator
Posts: 3476
Joined: Wed Dec 28, 2011 11:45 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sat Aug 30, 2014 7:33 pm

What is the output of

apt-cache policy libwebkitgtk-3.0-0

I suspect this is collabora's doing.

Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sat Aug 30, 2014 8:47 pm

Code: Select all

$ apt-cache policy libwebkitgtk-3.0-0
libwebkitgtk-3.0-0:
  Installed: 1.8.1-3.4+rpi1
  Candidate: 2.4.1-1rpi22rpi1
  Version table:
     2.4.1-1rpi22rpi1 0
        500 http://archive.raspberrypi.org/debian/ wheezy/main armhf Packages
 *** 1.8.1-3.4+rpi1 0
        500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
        100 /var/lib/dpkg/status

plugwash
Forum Moderator
Forum Moderator
Posts: 3476
Joined: Wed Dec 28, 2011 11:45 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sat Aug 30, 2014 9:43 pm

Ok, looks like it's the raspberry pi foundation's doing. Complain to them.

Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 9:21 am

I'd love to, but I can't find how to best reach the foundation on technical issues. Aren't they on this forum?

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 9:45 am

Muximize wrote:Today I ran sudo apt-get update && apt-get dist-upgrade which upgraded libwebkitgtk-3.0-0 from 1.8.1-3.4+rpi1 to 2.4.1-1rpi22rpi1 together with a bunch of dependencies.

After that, my application (using gkreidl's fantastic Minimal Kiosk Browser) stopped working properly. HTML was rendered correctly, but CSS animations where ignored. Reverting libwebkitgtk (and libjavascriptcoregtk) to the previous version fixed this.

Is anyone else having issues with the updated Webkit?
What is the right place to submit bugs like this?
Where can I find information on when and why these packages where added to the repository?
It seems that you have installed the experimental web = Epiphany browser. To get this to work, a lot of system libraries have to be upgraded to newer versions which may (or will) break a lot of stable Wheezy applications. I've warned about that from the beginning.

If I would install that on my current system I would not to be able to create a stable, well tested version of Minimal Kiosk Browser any more. So I have no chance to test how Kweb works with the modified webkitgtk libraries (I'm running from HD and don't want to corrupt that)..

The only secure way to do this would be to switch to Jessie first which has all the new libraries installed. I'll create a Jessie OS on a separate RPi in a while and then I'll create a version of kweb compiled for Jessie. That might work with the modified libraries from Collabora (and I'll have at least a chance to test it). One of the reasons I haven't done that yet is the unsolved issue of adding gstreamer-1.0 with OMX support for the RPi to Jessie. Then kweb may also be able to play web video (at least SD resolutions) inside the browser window without having to use omxplayer. That's the reason for the "use omxplayer" toggle button in the toolbar.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 10:07 am

Hi gkreidl Web (Epiphany 3.8.2) Web Browse Beta I have installed and it does in fact not render CSS3 and to be quite truthfu apart from a few updates it does not seem any better now than it did 8 months ago, which is a shame :o

Personally I do not feel that it is ready for prime time so we either use Minimal Kiosk or wait for an update to Midori :roll:

https://developer.cdn.mozilla.net/media ... index.html

Code: Select all

apt-cache policy libwebkitgtk-3.0-0
libwebkitgtk-3.0-0:
  Installed: 2.4.1-1rpi22rpi1
  Candidate: 2.4.1-1rpi22rpi1
  Version table:
 *** 2.4.1-1rpi22rpi1 0
        500 http://raspberrypi.collabora.com/ wheezy/web armhf Packages
        500 http://archive.raspberrypi.org/debian/ wheezy/main armhf Packages
        100 /var/lib/dpkg/status
     1.8.1-3.4+rpi1 0
        500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 10:21 am

Thanks for the explanation gkreidl.

I did not install Collabora's Web myself, it seems like someone put it in the live repo yesterday. Apt-get upgrade said "packages kept back" including webkit. That's why I ran dist-upgrade.

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 10:35 am

Muximize wrote:Thanks for the explanation gkreidl.

I did not install Collabora's Web myself, it seems like someone put it in the live repo yesterday. Apt-get upgrade said "packages kept back" including webkit. That's why I ran dist-upgrade.
That's bad news! What do you get when you run:

Code: Select all

cat /etc/apt/sources.list
?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 10:48 am

Code: Select all

$ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 11:11 am

Muximize wrote:

Code: Select all

$ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
I just also got libwebkitgtk-3.0-common_2.4.1-1rpi22rpi1_all.deb via normal upgrade (no dist-upgrade). This must be a heavily fixed version, as a normal webkitgt-3.0 2.4.1 would require lots of other upgrades. but only very few packages have been upgraded.

I'll check the webkitgtk documentation for changes. So far I have not met any problems. Can you give me a link to some page that doesn't work any more (you mentioned CSS animation)?

Update: I've just seen the large amount of upgrades you get via dist-upgrade.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 12:13 pm

Hi gkreidl I use this for CSS3 testing https://developer.mozilla.org/en-US/demos/tag/tech:css3
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

plugwash
Forum Moderator
Forum Moderator
Posts: 3476
Joined: Wed Dec 28, 2011 11:45 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 3:11 pm

gkreidl wrote:It seems that you have installed the experimental web = Epiphany browser. To get this to work, a lot of system libraries have to be upgraded to newer versions which may (or will) break a lot of stable Wheezy applications. I've warned about that from the beginning.
If you read his apt-cache policy output that version of webkit came from the main foundation repository, not from the collabora "web" repository.

My guess would be the foundation have copied the "web" stuff to their main repository.

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 3:22 pm

plugwash wrote: If you read his apt-cache policy output that version of webkit came from the main foundation repository, not from the collabora "web" repository.

My guess would be the foundation have copied the "web" stuff to their main repository.
Yes. and after running dist-upgrade the whole system is a terrible mess. Lots of applications are throwing critical errors (Lxterminal, Openbox window manager ..), true color (32 bit display) video output has complementary colors (blue is yellowish and vice versa) in the browser and Javascript has turned into pure pain (freezing the RPi for minutes) ... I'll give a more detailed report when I've had more time for testing.

This is no stable Wheezy any more, neither is it Jessie testing, it's just a mess in between.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 3:38 pm

gkreidl wrote:
plugwash wrote: If you read his apt-cache policy output that version of webkit came from the main foundation repository, not from the collabora "web" repository.

My guess would be the foundation have copied the "web" stuff to their main repository.
Yes. and after running dist-upgrade the whole system is a terrible mess. Lots of applications are throwing critical errors (Lxterminal, Openbox window manager ..), true color (32 bit display) video output has complementary colors (blue is yellowish and vice versa) in the browser and Javascript has turned into pure pain (freezing the RPi for minutes) ... I'll give a more detailed report when I've had more time for testing.

This is no stable Wheezy any more, neither is it Jessie testing, it's just a mess in between.
Updating dependencies is not ideal for sure, though needless to say we haven't encountered any of those issues in testing. I look forward to your more detailed report.

User avatar
Fidelius
Posts: 460
Joined: Wed Jan 01, 2014 8:40 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 4:09 pm

gkreidl wrote:Yes. and after running dist-upgrade the whole system is a terrible mess. Lots of applications are throwing critical errors (Lxterminal, Openbox window manager ..), true color (32 bit display) video output has complementary colors (blue is yellowish and vice versa) in the browser and Javascript has turned into pure pain (freezing the RPi for minutes) ... I'll give a more detailed report when I've had more time for testing.

This is no stable Wheezy any more, neither is it Jessie testing, it's just a mess in between.
The weekend update (apt-get update, then apt-get dist-upgrade) also broke GNOME's "mahjongg". When you start it, it crashes with some protected memory error (would have to copy message from the Pi). And this is just one of the few programs I tested.

P.S: Also the Raspberry Logo in the lightdm welcome screen is broken.

Hm....

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 5:58 pm

fruitoftheloom wrote: Apologies for asking but what relevance is this to libwebkit3 and CSS3 :roll:

Would it not be prudent to start a new post explaing your issues, so that the developers can ascertain how this situation has arisen ?
To get the new version of webkitgtk working lots of packages had to be updated to newer versions ... and breaking other, not updated programs that way. But I'll open a new thread tomorrow about problems with the new dist-upgrade. I'll have to run some more tests first.

That was my message (translated back from German):
81 updated, 46 new installed, 7 removed
That's quite a lot.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Sun Aug 31, 2014 6:21 pm

gkreidl wrote:
fruitoftheloom wrote: Apologies for asking but what relevance is this to libwebkit3 and CSS3 :roll:

Would it not be prudent to start a new post explaing your issues, so that the developers can ascertain how this situation has arisen ?
To get the new version of webkitgtk working lots of packages had to be updated to newer versions ... and breaking other, not updated programs that way. But I'll open a new thread tomorrow about problems with the new dist-upgrade. I'll have to run some more tests first.

That was my message (translated back from German):
81 updated, 46 new installed, 7 removed
That's quite a lot.
Had uninstalled Web Web Browser, libwebkit3 and all dependencies, then autoremove/autoclean, and put back sources to wheezy default.

Update, upgrade, dist-upgrade, rpi-update

Manually reinstall libwebkit3 via synaptic and ensured all packges which required additinal configuration where full installed andno issues what so ever !!!

Code: Select all

apt-cache policy libwebkitgtk-3.0-0
libwebkitgtk-3.0-0:
  Installed: 2.4.1-1rpi22rpi1
  Candidate: 2.4.1-1rpi22rpi1
  Version table:
 *** 2.4.1-1rpi22rpi1 0
        500 http://archive.raspberrypi.org/debian/ wheezy/main armhf Packages
        100 /var/lib/dpkg/status
     1.8.1-3.4+rpi1 0
        500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
The response about thread hijacking was aimed at Fidielus as he did not state he had a libwebkit error, I myself posted as after the OP posted I checked CSS3 and found same issue that I had the collabora update, but now have the RPF update.

FYI IceWeasel though slow is a fallback :shock:
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 5:51 am

I don't have the collabora repository enabled. Everything I got with dist-upgrade came from the foundation.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 10:09 am

UPDATE: have installed KWEB 1.5.1 in Jessie and CSS3 is working using this demo

https://developer.cdn.mozilla.net/media ... index.html

Code: Select all

apt-cache policy libwebkitgtk-3.0-0
libwebkitgtk-3.0-0:
  Installed: 2.4.4-2
  Candidate: 2.4.4-2
  Version table:
 *** 2.4.4-2 0
        500 http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages
        100 /var/lib/dpkg/status
     2.4.1-1rpi22rpi1 0
        500 http://raspberrypi.collabora.com/ wheezy/web armhf Packages
        500 http://archive.raspberrypi.org/debian/ wheezy/main armhf Packages
Last edited by fruitoftheloom on Mon Sep 01, 2014 10:55 am, edited 1 time in total.
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

diederik
Posts: 391
Joined: Wed Mar 26, 2014 11:17 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 10:28 am

asb wrote:Updating dependencies is not ideal for sure, though needless to say we haven't encountered any of those issues in testing. I look forward to your more detailed report.
Is it an idea to add a testing/jessie repo to raspberrypi.org wheezy repo?
When there's a new package add it to the testing repo first and when there are no (important) bugs reported then migrate it to wheezy. My guess is that quite a few users would run testing/jessie and that means that it would get tested by a lot of users before it gets migrated to stable/wheezy.

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 10:41 am

Before I'm giving any detailed report I'm busy with an emergency update of Minimal Kiosk Browser. I'm reverting back to gtk+2 and libwebkit1 and add an experimental version (kweb3) that will use the new libraries (and happily freeze and crash when visiting certain websites). I've got it running alreday; it's lots faster, supports true color (32 bit) again and doesn't crash. (all crashes I've seen so far came from openbox and Javascript, mostly critical warnings, errors, segfaults and so on from the new glib libraries).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Muximize
Posts: 14
Joined: Sat Aug 30, 2014 2:57 pm

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 2:16 pm

So, here's the reason this was put in the Repo:

http://www.raspberrypi.org/web-browser-released/

fruitoftheloom
Posts: 21080
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 2:27 pm

Muximize wrote:So, here's the reason this was put in the Repo:

http://www.raspberrypi.org/web-browser-released/
Yes quite so, though I have been using Web Epiphany Browser Beta with the latest version of libwebkit3 without issue and originally Collabora pushed out this update.


It seems the maintainers of Raspbian Wheezy thought it was stable enough, though it is not yet in Debian Wheezy Stable

https://packages.debian.org/wheezy/libwebkitgtk-3.0-0 Package: libwebkitgtk-3.0-0 (1.8.1-3.4)


As I stated above the issue is not in Raspbian Jessie Testing

https://packages.debian.org/jessie/libwebkitgtk-3.0-0 Package: libwebkitgtk-3.0-0 (2.4.4-2 and others)
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Webkit upgrade 1.8.1-3.4 > 2.4.1-1 breaks things

Mon Sep 01, 2014 2:30 pm

fruitoftheloom wrote:
Muximize wrote:So, here's the reason this was put in the Repo:

http://www.raspberrypi.org/web-browser-released/
Yes quite so, though I have been using Web Epiphany Browser Beta with the latest version of libwebkit3 without issue and originally Collabora pushed out this update.


It seems the maintainers of Raspbian Wheezy thought it was stable enough, though it is not yet in Debian Wheezy Stable

https://packages.debian.org/wheezy/libwebkitgtk-3.0-0 Package: libwebkitgtk-3.0-0 (1.8.1-3.4)


As I stated above the issue is not in Raspbian Jessie Testing

https://packages.debian.org/jessie/libwebkitgtk-3.0-0 Package: libwebkitgtk-3.0-0 (2.4.4-2 and others)
To be totally clear, there is a difference between pure Raspbian wheezy (as maintained by plugwash), and what is distributed to users in official Foundation SD Card images. It's hoped there are very few issues left due to upgrading these packages, but please do report them here or on the blog post (and NOT on the Raspbian bug tracker).

Return to “Raspbian”