Please update to latest libsoup 2.39.2

Bug #1011473 reported by dino99
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Webkit
Fix Released
Undecided
Unassigned
libsoup2.4 (Ubuntu)
Fix Released
Wishlist
Unassigned
webkit (Ubuntu)
Fix Released
High
Unassigned

Bug Description

i'm a midori user, and continously get this error logged, as it flooding xsession-errors:

(midori:5132): libsoup-WARNING **: (soup-uri.c:1023):soup_uri_set_path: runtime check failed: (path != NULL)

Quantal package is 2.38-1.2 , but the 2.39 serie exist and have many fixes:

http://ftp.acc.umu.se/pub/gnome/sources/libsoup/2.39/
http://ftp.acc.umu.se/pub/gnome/sources/libsoup/2.39/libsoup-2.39.1.news
http://ftp.acc.umu.se/pub/gnome/sources/libsoup/2.39/libsoup-2.39.2.news

so hopes to see this new release packaged asap.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libsoup2.4-1 2.38.1-2
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.1.1-0ubuntu2
Architecture: i386
Date: Mon Jun 11 10:17:18 2012
SourcePackage: libsoup2.4
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
Jeremy Bícha (jbicha)
tags: added: desktop-upgrade
Revision history for this message
dino99 (9d9) wrote :

feedback testing:

got rid of that error reported above:
 (midori:5132): libsoup-WARNING **: (soup-uri.c:1023):soup_uri_set_path: runtime check failed: (path != NULL)

by installing both midori-dev & webkit-team ppas packages: 1.8.1-0ubuntu2 (webkit) & 0.46-r4934 (midori)

Hope to see these packages updated too into Quantal soon.

Changed in libsoup2.4 (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
summary: - Please update to latest libsoup2.39-2
+ Please update to latest libsoup2.39.2
summary: - Please update to latest libsoup2.39.2
+ Please update to latest libsoup 2.39.2
Revision history for this message
Robert Ancell (robert-ancell) wrote :

They've removed API so I've asked them to bump version:
https://bugzilla.gnome.org/show_bug.cgi?id=678827

I've updated the packaging in lp:~robert-ancell/libsoup2.4/update-2.39.2, and will wait to see what upstream says.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Packaging branch is actually lp:~robert-ancell/libsoup/update-2.39.2

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Upstream pointed out that the removed symbols weren't in any headers, so it's safe to keep the same version.

Revision history for this message
dino99 (9d9) wrote :

Thanks for the upgrade pushed into quantal-proposed. Seems working fine, excepting this warning flooding xsession-errors:

warning: ignoring zlib error: incorrect data check

by the way i does not know if its related to libsoup 2.39.2 or the newer midori daily built.

Revision history for this message
dino99 (9d9) wrote :

Feedback:

for testing the previous zlib error, i've downgraded midori from 0.4.6 (actual daily built) to 0.43 (actual quantal package)

result:
- zlib error still exist
- and i get back the initial error: (soup-uri.c:1023):soup_uri_set_path: runtime check failed: (path != NULL)

so better to move back to midori 0.4.6 again.

Revision history for this message
dino99 (9d9) wrote :

the latest gnome-menus 3.5.3 update seems have fixed this zlib error (* debian/patches/forgotten-gmenu-separator-api:)
so now xsession-errors log is clean again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsoup2.4 - 2.39.3-0ubuntu1

---------------
libsoup2.4 (2.39.3-0ubuntu1) quantal-proposed; urgency=low

  * New upstream release
  * debian/libsoup2.4-1.symbols:
    - Updated
 -- Robert Ancell <email address hidden> Thu, 28 Jun 2012 17:42:46 +1200

Changed in libsoup2.4 (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Fabien Tassin (fta) wrote :

This upgrade to 2.39.* made evolution 3.5.* unusable.

lots of libsoup-CRITICAL **: soup_session_send_request_async: assertion `use_thread_context' failed
when displaying HTML content, freezing evolution for good.

I had to downgrade it to the last 2.38 and it's fine again.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Same here, using gnome instrospection with python for webkit, it makes unusable display a webpage.

$ dpkg -l libsoup2* | grep ii
ii libsoup2.4-1:i386 2.39.3-0ubuntu1 i386 HTTP library implementation in C -- Shared library
ii libsoup2.4-dev 2.39.3-0ubuntu1 i386 HTTP library implementation in C -- Development files

This error is triggered with a only a few lines of code on python:
(webkit_test.py:13732): libsoup-CRITICAL **: soup_session_send_request_async: assertion `use_thread_context' failed

For example:

#!/usr/bin/env python
from gi.repository import Gtk, GObject, WebKit

web_view = WebKit.WebView()
web_view.load_uri('http://www.google.com')

window = Gtk.Window()
window.add(web_view)
window.show_all()

Gtk.main()

Revision history for this message
Dan Winship (danw-gnome) wrote :

webkit uses an unstable API in libsoup, which changed slightly in 2.39. you can't use stable webkit with unstable libsoup. the current unstable webkit release will work

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Hi Dan, I just use the default packages shipped with Ubuntu 12.10 Quantal.

Then maybe it needs a upstream bug for syncing on ubuntu a package a more recent version of webkit or backport the stable thing for make it this work. This report WebKitGTK 1.8.0 based on webkit 3.0

$ dpkg -l *webkit* | grep ii
ii gir1.2-webkit-1.0 1.8.0-0ubuntu2 i386 GObject introspection data for the WebKit library
ii gir1.2-webkit-3.0 1.8.0-0ubuntu2 i386 GObject introspection data for the WebKit library
ii libkdewebkit5 4:4.8.90-0ubuntu1 i386 KDE WebKit Library
ii libqt4-webkit 4:4.8.2-0ubuntu2 i386 transitional package for Qt 4 WebKit module
ii libqtwebkit4:i386 2.2.1-1ubuntu4 i386 Web content engine library for Qt
ii libswt-webkit-gtk-3-jni 3.8.0~rc4-1 i386 Standard Widget Toolkit for GTK+ WebKit JNI library
ii libwebkitgtk-1.0-0 1.8.0-0ubuntu2 i386 Web content engine library for GTK+
ii libwebkitgtk-1.0-common 1.8.0-0ubuntu2 all Web content engine library for GTK+ - data files
ii libwebkitgtk-3.0-0 1.8.0-0ubuntu2 i386 Web content engine library for GTK+
ii libwebkitgtk-3.0-common 1.8.0-0ubuntu2 all Web content engine library for GTK+ - data files
ii libwebkitgtk-3.0-dev 1.8.0-0ubuntu2 i386 Web content engine library for GTK+ - Development files
ii python-webkit 1.1.8-2ubuntu2 i386 WebKit/Gtk Python bindings
ii python-webkit-dev 1.1.8-2ubuntu2 all WebKit/Gtk Python bindings: development files

Revision history for this message
dino99 (9d9) wrote :

on Quantal i386, using webkit 1.8.1~0ubuntu2 from webkit-team ppa (precise), i can use evolution without trouble or warning/error.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

I can confirm the fix with gir1.2-webkit-3.0 (1.8.1-0ubuntu2~ppwkt1) from webkit-team ppa (precise).

A workaround with easy step by step:
sudo add-apt-repository ppa:webkit-team
sudo sed -i 's/quantal/precise/g' /etc/apt/sources.list.d/webkit-team-ppa-quantal.list
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webkit (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Bisch (josephbisch) wrote :

I am having problems with gir1.2-webkit-3.0 (1.8.1-0ubuntu2~ppwkt1) from webkit-team ppa. The following is what I get.

(webkittest.py:6664): libsoup-CRITICAL **: soup_session_send_request_async: assertion `use_thread_context' failed

Revision history for this message
dino99 (9d9) wrote :

hi Joseph,

i does not have this error, with the installed packages:
- libwebkitgtk-3.0-0 (+ -common)
- libwebkitgtk-1.0-0 (+ -common)
- gir1.2~webkit-3.0

they all are 1.8.1-0ubuntu2~ppwkt1 from webkit-team/precise ppa

and its with quantal i386 logged as gnome-classic.

Revision history for this message
Joseph Bisch (josephbisch) wrote :

dino99,

Thanks so much I had gir1.2~webkit-3.0, but not libwebkitgtk-3.0-0 or libwebkitgtk-1.0-0. Installing both of those packages fixed the problem.

I'm running quantal i386 logged in as unity.

Changed in webkit (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
Changed in webkit (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in quantal-proposed and built on amd64 and i386, it should be copied over to quantal when other archs are built later today

Revision history for this message
dino99 (9d9) wrote :

webkit 1.9.2 has been upgraded here on quantal i386 running midori, and it seems working for the best.

Changed in webkit (Ubuntu):
status: Fix Committed → Fix Released
Changed in webkit:
status: New → Fix Released
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Confirmed. It works great in Ubuntu with WebKit 1.9.2 536.10

Revision history for this message
Karen Dolan (karendolan) wrote :

Is there any way to download/build the new libsoup2.4 (2.39.2) into Pangolin, or is the update to Quantal a required prerequisite?

Shakaran's workaround just retrieves libsoup2.4 (2.38.1-1) in Pangolin.
I'm hoping to use WebKit in a semi stable Ubuntu. Webkit is requiring the libsoup2.4 (2.39.2). So, I'm just wondering if I must upgrade the Ubuntu.

Thanks!

Revision history for this message
dani (f-launchpad-dpinol-com) wrote :

I'd also like to build latest webkit with Ubuntu 12.4, but libsoup2.39.2 does not compile because it needs GLIB 2.33.1
Is there any workaround?

thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.