GNOME Bugzilla – Bug 468726
gst_video_calculate_display_ratio() tries to set 0/0 fraction
Last modified: 2008-02-15 12:46:20 UTC
Version: 2.19.90 What were you doing when the application crashed? Viewing a quicktime Apple August 2007 Special Event (broadcast) Distribution: Ubuntu 7.04 (feisty) Gnome Release: 2.19.6 2007-08-20 (JHBuild) BugBuddy Version: 2.19.0 System: Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Enabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 138526720 vsize: 138526720 resident: 50081792 share: 23408640 rss: 50081792 rss_rlim: 4294967295 CPU usage: start_time: 1187668560 rtime: 342 utime: 307 stime: 35 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/opt/gnome2/bin/totem' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1231575360 (LWP 6711)] [New Thread -1311896688 (LWP 6735)] [New Thread -1303503984 (LWP 6733)] [New Thread -1294931056 (LWP 6732)] [New Thread -1285801072 (LWP 6731)] [New Thread -1275114608 (LWP 6730)] [New Thread -1252799600 (LWP 6714)] [New Thread -1242588272 (LWP 6713)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 156729
Thread 1 (Thread -1231575360 (LWP 6711))
----------- .xsession-errors (43 sec old) --------------------- (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 12: Invalid UTF-8 encoded text - not valid '<i>\xe0\x97<\u0008erate:</i>' (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 12: Invalid UTF-8 encoded text - not valid '<i>\xe8\x96<\u0008c:</i>' (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 13: Invalid UTF-8 encoded text - not valid '<i>\u0018\x8a<\u0008nsions:</i>' (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 12: Invalid UTF-8 encoded text - not valid '<i>\xb8\xb8<\u0008nels:</i>' (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 12: Invalid UTF-8 encoded text - not valid '<i>\xa8\x9a<\u0008c:</i>' (totem:6711): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Errore alla riga 1 carattere 13: Invalid UTF-8 encoded text - not valid '<i>\u0008\x88<\u0008ate:</i>' GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed aborting... --------------------------------------------------
To reproduce: 1. open epiphany and go to http://events.apple.com.edgesuite.net/r27842e/event/index.html?test=q1wa2sz3x 2. click the "Watch the Special Event" button Additional notes * similar crash occurs with linked video in http://www.apple.com/quicktime/qtv/keynote/ * video should be 16:9, but showed at 4:3 * while bug-buddy creates the stack trace, the viewing area in totem window shows the video, but all controls are "frozen".
Looks like a GStreamer bug. Forwarding to the GStreamer people...
This is not a crash, but it aborts on the warning message because G_DEBUG=fatal_warnings is defined. gst_value_set_fraction() warns about an invalid fraction of 0/0 being set on the GValue here. Doesn't look like a GStreamer bug to me, but more of a totem GStreamer backend bug.
Should be fixed now (although I'm not entirely sure why has_video is set if we don't have the dimensions yet, but I'll just ignore that for now): 2008-02-15 Tim-Philipp Müller <tim at centricular dot net> * src/backend/bacon-video-widget-gst-0.10.c: (get_media_size): Fix "gst_value_set_fraction: assertion `denominator != 0' failed" warning in case we don't have width/height yet (Closes: #516653)