GNOME Bugzilla – Bug 613529
Sending ETag with modified query
Last modified: 2010-04-15 15:45:04 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
+ Trace 221031
Thread 1 (Thread 0x7f83498527d0 (LWP 5754))
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... --------------------------------------------------
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(-)
*** Bug 598804 has been marked as a duplicate of this bug. ***