glib 2.33.12 crashes libgdata

Bug #1046319 reported by David Callé
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib-networking (Ubuntu)
Fix Released
High
Unassigned
glib2.0 (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

With the new glib version, libgdata crashes when used from python.

It consequently triggers crashes, notably in unity-scope-gdocs and unity-lens-photos.

Shotwell export to Picasa and Gnome-Documents Google Docs search are not working either, but the relation with this bug needs to be confirmed.

Testcase:
$ sudo apt-get install gir1.2-gdata-0.0
$ python3
from gi.repository import GData
s = GData.Service ()

Output:
__main__:1: Warning: g_object_class_override_property: Can't find property to override for 'GTlsCertificateGnutls::certificate-bytes'
__main__:1: Warning: g_object_class_override_property: Can't find property to override for 'GTlsCertificateGnutls::private-key-bytes'
__main__:1: Warning: g_object_get_valist: object class `GTlsCertificateGnutls' has no property named `certificate-bytes'

(process:8781): GLib-Net-CRITICAL **: get_der_for_certificate: assertion `bytes' failed

(process:8781): GLib-Net-CRITICAL **: load_anchor_file: assertion `der != NULL' failed
**
GLib-Net:ERROR:gtlsbackend-gnutls.c:149:g_tls_backend_gnutls_get_default_database: assertion failed: (result)
Abandon (core dumped)

Changed in glib2.0 (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

gnome-shell is also broken because of this.

Changed in glib2.0 (Ubuntu):
status: New → Invalid
affects: glib2.0 (Ubuntu) → glib-networking (Ubuntu)
Changed in glib-networking (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: Invalid → In Progress
Changed in glib-networking (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

This calls for a Breaks:. I committed this to svn now.

Changed in glib2.0 (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I also uploaded glib-networking 2.33.12 to Debian experimental now, so we can sync again.

Revision history for this message
Martin Pitt (pitti) wrote :

glib fix uploaded to Debian experimental, will sync to quantal-proposed once it's imported.

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

This bug was fixed in the package glib-networking - 2.33.12-0ubuntu1

---------------
glib-networking (2.33.12-0ubuntu1) quantal-proposed; urgency=low

  * New upstream version, fixes the segfaults with the new glib
    (lp: #1046319)
  * debian/control:
    updated glib requirement
 -- Sebastien Bacher <email address hidden> Wed, 05 Sep 2012 19:42:31 +0200

Changed in glib-networking (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glib2.0 - 2.33.12-3

---------------
glib2.0 (2.33.12-3) experimental; urgency=low

  * debian/control.in: Add Breaks: too glib-networking versions prior to
    2.33.12. (LP: #1046319)
  * debian/rules: Ignore test case failures on hurd-i386 (not a release
    architecture) and mips (this keeps tripping over a gdbus test race
    condition).
  * Replace 07_disable_gvariant_checksum_tests.patch with
    07_tests_gvariant_big_endian.patch which fixes the test properly instead
    of disabling it. Taken from
    https://bugzilla.gnome.org/show_bug.cgi?id=683384

glib2.0 (2.33.12-2) experimental; urgency=low

  * Drop 10_increase_gapplication_test_delay.patch. We disable the whole test
    now anyway (08_disable_gapplication_basic_test.patch).
  * Add 07_disable_gvariant_checksum_tests.patch: 2.33.12 introduced two new
    checks for GVariant checksum stability. This does not currently work on
    big-endian machines (https://bugzilla.gnome.org/show_bug.cgi?id=683384),
    so disable these tests for now.

glib2.0 (2.33.12-1) experimental; urgency=low

  [ Sebastien Bacher ]
  * New upstream version
  * debian/libglib2.0-0.symbols:
    - updated
  * revert_g_file_make_directory_with_parents_error_propagation.patch:
    - dropped, the issue is fixed in the new version
  * debian/patches/92_revert_appinfo_command_line.patch:
    - don't require a vte for test, we don't want an xorg stack there

  [ Iain Lane ]
  * Add revert_g_file_make_directory_with_parents_error_propagation.patch:
    This reverts upstream commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97
    which caused applications to segfault. The proper fix will be in the next
    glib release, so this patch should be dropped then. (LP: #1035688)

  [ Martin Pitt ]
  * Add 07_test_method_calls_on_proxy_bump_max_time.patch: On slower
    platforms, the overhead of the 240 D-BUS Sleep calls is larger than
    the current maximum of 6 seconds. Bump maximum time to 8 seconds to be
    more resilient to this.
  * Add 08_disable_gapplication_basic_test.patch: Disable /gapplication/basic
    test. It's full of race conditions and keeps breaking builds.

  [ Robert Ancell ]
  * New upstream bugfix release (LP: #1045608)
  * Drop 07_test_method_calls_on_proxy_bump_max_time.patch:
    - Applied upstream
 -- Martin Pitt <email address hidden> Thu, 06 Sep 2012 06:14:41 +0200

Changed in glib2.0 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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