After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613529 - Sending ETag with modified query
Sending ETag with modified query
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: General
git master
Other All
: Normal critical
: ---
Assigned To: libgdata-maint
libgdata-maint
: 598804 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-21 21:26 UTC by einhander
Modified: 2010-04-15 15:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description einhander 2010-03-21 21:26:35 UTC
Version: 2.28.5

What were you doing when the application crashed?
find in youtube


Distribution: Debian squeeze/sid
Gnome Release: 2.28.2 2009-12-18 (Debian)
BugBuddy Version: 2.28.0

System: Linux 2.6.30-2-amd64 #1 SMP Mon Dec 7 05:21:45 UTC 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10705000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Gilouche
Icon Theme: gnome-human
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 954630144 vsize: 954630144 resident: 102858752 share: 26882048 rss: 102858752 rss_rlim: 18446744073709551615
CPU usage: start_time: 1269205025 rtime: 12610 utime: 11620 stime: 990 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/totem'

[Thread debugging using libthread_db enabled]
[New Thread 0x7f8318807910 (LWP 9514)]
[New Thread 0x7f8319809910 (LWP 8866)]
[New Thread 0x7f831e42b910 (LWP 8865)]
[New Thread 0x7f8328a58910 (LWP 8579)]
[New Thread 0x7f8329259910 (LWP 8577)]
[New Thread 0x7f83237fe910 (LWP 8576)]
[New Thread 0x7f83337a1910 (LWP 8575)]
[New Thread 0x7f83341b9910 (LWP 8571)]
[New Thread 0x7f8335658910 (LWP 5755)]
0x00007f83471b251d in __libc_waitpid (pid=9515, 
    stat_loc=<value optimized out>, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7f83498527d0 (LWP 5754))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at /tmp/buildd/glib2.0-2.22.4/glib/gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at /tmp/buildd/glib2.0-2.22.4/glib/gspawn.c line 700
  • #3 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #6 *__GI_abort
    at abort.c line 88
  • #7 IA__g_assertion_message
    at /tmp/buildd/glib2.0-2.22.4/glib/gtestutils.c line 1302
  • #8 gdata_service_query_finish
    from /usr/lib/libgdata.so.6
  • #9 ??
    from /usr/lib/totem/plugins/youtube/libyoutube.so
  • #10 complete_in_idle_cb_for_thread
    at /tmp/buildd/glib2.0-2.22.4/gio/gsimpleasyncresult.c line 650
  • #11 g_main_dispatch
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c line 1960
  • #12 IA__g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c line 2513
  • #13 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c line 2591
  • #14 IA__g_main_loop_run
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c line 2799
  • #15 IA__gtk_main
    at /gtk+2.0-2.18.6/gtk/gtkmain.c line 1218
  • #16 main
Current language:  auto
The current source language is "auto; currently asm".
Current language:  auto
The current source language is "auto; currently c".
A debugging session is active.

	Inferior 1 [process 5754] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** Gtk **: gtk_list_store_set_valist: assertion `VALID_ITER (iter, list_store)' failed 
** GLib-GIO **: g_simple_async_result_set_from_error: assertion `error != NULL' failed 
** GLib **: g_error_free: assertion `error != NULL' failed 
Output of custom script "/usr/lib/totem/totem/totem-bugreport.py":
gst-typefind-0.10 version 0.10.28
GStreamer 0.10.28
http://packages.qa.debian.org/gstreamer0.10
Listened to a "" file on 2010-03-22T00:20:57




----------- .xsession-errors (636 sec old) ---------------------
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="embed" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="syndicate" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="comment" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="commentVote" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="videoRespond" permission="moderated"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="rate" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="embed" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="syndicate" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="comment" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="commentVote" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="videoRespond" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="rate" permission="allowed"/>
libgdata-Message: Unhandled XML in GDataYouTubeVideo: <yt:accessControl action="embed" permission="allowed"/>
libgdata-Message: Unhandled XML in G
...Too much output, ignoring rest...
--------------------------------------------------
Comment 1 Philip Withnall 2010-03-22 00:25:09 UTC
I identified a couple of potential causes of the crash, and have fixed both in libgdata master and libgdata-0-6.

If you can reproduce this with libgdata 0.6.4 (once it's released), please file a new bug against Totem with an updated stack trace. Thanks.

commit bd82bdbb3f9fe99a670241706a64c57118a28952
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Mon Mar 22 00:12:07 2010 +0000

    [youtube] Ensure service's parse_error_response always sets an error
    
    Ensure #GDataYouTubeService's parse_error_response() always sets an error
    before returning; there was a case where it wouldn't if the server's response
    was completely unparsable. This could've caused the crash in bgo#613529.

 gdata/services/youtube/gdata-youtube-service.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

commit 81c5e2df14b3db690ab59ecc260e92ef1693f2ba
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun Mar 21 23:29:32 2010 +0000

    Bug 613529 — Sending ETag with modified query
    
    Ensure #GDataQuery:etag is unset after any property of a query is changed.
    This ensures that if a single query instance is reused for multiple queries
    (as in Totem's YouTube plugin), there's no chance that the server could
    unexpectedly return an "unchanged" status. Closes: bgo#613529

 gdata/gdata-query.c                              |   58 +++++++++++++++++++---
 gdata/gdata-service.c                            |    6 +-
 gdata/services/calendar/gdata-calendar-query.c   |   29 ++++++++++-
 gdata/services/contacts/gdata-contacts-query.c   |   14 +++++-
 gdata/services/documents/gdata-documents-query.c |   19 +++++++
 gdata/services/picasaweb/gdata-picasaweb-query.c |   20 +++++++-
 gdata/services/youtube/gdata-youtube-query.c     |   29 ++++++++++-
 gdata/tests/calendar.c                           |   35 ++++++++++++-
 gdata/tests/contacts.c                           |   26 +++++++++-
 gdata/tests/documents.c                          |   33 +++++++++++--
 gdata/tests/general.c                            |   37 ++++++++++++++
 gdata/tests/picasaweb.c                          |   28 ++++++++++-
 gdata/tests/youtube.c                            |   35 ++++++++++++-
 13 files changed, 343 insertions(+), 26 deletions(-)
Comment 2 Philip Withnall 2010-04-15 15:45:04 UTC
*** Bug 598804 has been marked as a duplicate of this bug. ***