GNOME Bugzilla – Bug 426990
MPEG crash in gst_value_get_fraction_numerator
Last modified: 2010-03-28 16:21:01 UTC
Version: 2.18.0 What were you doing when the application crashed? I switched the controls back on to have the menu and correct the aspect ratio. Distribution: Gentoo Base System release 1.12.9 Gnome Release: 2.18.0 2007-03-27 (Gentoo) BugBuddy Version: 2.18.0 System: Linux 2.6.19-gentoo-r5 #2 Wed Feb 14 22:01:40 CET 2007 ppc64 X Vendor: The X.Org Foundation X Vendor Release: 70101000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 195215360 vsize: 195215360 resident: 85782528 share: 44941312 rss: 85782528 rss_rlim: 18446744073709551615 CPU usage: start_time: 1175877834 rtime: 8470 utime: 8182 stime: 288 cutime:11 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/totem' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -134512640 (LWP 28503)] [New Thread -210754352 (LWP 28860)] [New Thread -201804592 (LWP 28858)] [New Thread -185027376 (LWP 28850)] [New Thread -193415984 (LWP 28578)] [New Thread -176638768 (LWP 28575)] [New Thread -168250160 (LWP 28571)] [New Thread -154151728 (LWP 28528)] [New Thread -145763120 (LWP 28525)] 0x0e244de4 in ?? () from /lib/libpthread.so.0
+ Trace 125544
Thread 1 (Thread -134512640 (LWP 28503))
----------- .xsession-errors (21 sec old) --------------------- Software fallback:ctx->Line.SmoothFlag *************************************************************************** Try R300_SPAN_DISABLE_LOCKING env var if this hangs. Child process exited with status 15 No accelerated IMDCT transform found No accelerated IMDCT transform found Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x2200003 (Racing_str); these messages lack timestamps and therefore suck. Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x2200003 (Racing_str); these messages lack timestamps and therefore suck. Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x2200003 (Racing_str); these messages lack timestamps and therefore suck. (totem:28503): GStreamer-CRITICAL **: gst_value_get_fraction_numerator: assertion `GST_VALUE_HOLDS_FRACTION (value)' failed (totem:28503): GStreamer-CRITICAL **: gst_value_get_fraction_denominator: assertion `GST_VALUE_HOLDS_FRACTION (value)' failed ** (totem:28503): CRITICAL **: gst_video_calculate_display_ratio: assertion `num > 0' failed --------------------------------------------------
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
*** Bug 423618 has been marked as a duplicate of this bug. ***
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
*** Bug 451981 has been marked as a duplicate of this bug. ***
*** Bug 452516 has been marked as a duplicate of this bug. ***
*** Bug 464807 has been marked as a duplicate of this bug. ***
Reopening due to dupes.
*** Bug 472947 has been marked as a duplicate of this bug. ***
*** Bug 480206 has been marked as a duplicate of this bug. ***
*** Bug 490949 has been marked as a duplicate of this bug. ***
*** Bug 506824 has been marked as a duplicate of this bug. ***
*** Bug 463236 has been marked as a duplicate of this bug. ***
*** Bug 479407 has been marked as a duplicate of this bug. ***
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://www.gnome.org/projects/totem/#bugs for more information on how to do so. Thanks in advance!
Related to Bug 468726?
*** Bug 508906 has been marked as a duplicate of this bug. ***
*** Bug 509108 has been marked as a duplicate of this bug. ***
*** Bug 509929 has been marked as a duplicate of this bug. ***
*** Bug 511162 has been marked as a duplicate of this bug. ***
*** Bug 511267 has been marked as a duplicate of this bug. ***
*** Bug 514112 has been marked as a duplicate of this bug. ***
*** Bug 516682 has been marked as a duplicate of this bug. ***
*** Bug 517586 has been marked as a duplicate of this bug. ***
*** Bug 517972 has been marked as a duplicate of this bug. ***
*** Bug 519742 has been marked as a duplicate of this bug. ***
*** Bug 522669 has been marked as a duplicate of this bug. ***
*** Bug 522688 has been marked as a duplicate of this bug. ***
*** Bug 527171 has been marked as a duplicate of this bug. ***
*** Bug 527606 has been marked as a duplicate of this bug. ***
*** Bug 529194 has been marked as a duplicate of this bug. ***
*** Bug 531234 has been marked as a duplicate of this bug. ***
*** Bug 531600 has been marked as a duplicate of this bug. ***
*** Bug 532272 has been marked as a duplicate of this bug. ***
*** Bug 532818 has been marked as a duplicate of this bug. ***
*** Bug 535868 has been marked as a duplicate of this bug. ***
*** Bug 537182 has been marked as a duplicate of this bug. ***
*** Bug 538234 has been marked as a duplicate of this bug. ***
*** Bug 540978 has been marked as a duplicate of this bug. ***
*** Bug 541287 has been marked as a duplicate of this bug. ***
*** Bug 541597 has been marked as a duplicate of this bug. ***
*** Bug 541594 has been marked as a duplicate of this bug. ***
*** Bug 541786 has been marked as a duplicate of this bug. ***
Bug #541786 has a detailed stacktrace.
mcadoo@diablo ~ $ emerge --info Portage 2.2_rc1 (default-linux/x86/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0 Timestamp of tree: Sat, 05 Jul 2008 22:15:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r11, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -g -ggdb -march=pentium4 -mtune=pentium4 -mfpmath=sse -mmmx -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -g -ggdb -march=pentium4 -mtune=pentium4 -mfpmath=sse -mmmx -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distcc distlocks fixpackages loadpolicy parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://lug.mtu.edu/gentoo" LANG="en_US.utf-8" LC_ALL="en_US.utf-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="en" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/eclipse /usr/portage/local/layman/xen /usr/portage/local/layman/voip /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/nx /usr/portage/local/layman/games /usr/portage/local/layman/science /usr/local/portage" SYNC="rsync://192.168.57.1/gentoo-portage" USE="R X a52 aac aalib accessibility acl acpi additions administrator aiglx aim alsa apache apache2 applet artworkextra aspnet aspnet2 avahi bash-completion beagle bluetooth bogofilter bonobo boost bzip2 bzlib cairo cdda cddb cdinstall cdparanoia cdr cgi chm cli console cracklib crypt cups dbus debug dell deprecated dhcp dia discouraged disk-partition divx dmx doc dri dvd dvdr dvdread dvi eds emboss en_US encode epiphany evo examples exif extensions extra fam fastcgi ffmpeg fixme flac font-server fontconfig fortran freetype fuse gaim gajim galago games gcj gd gdbm gedit gif gimpprint glitz gmedia gnome gnome-keyring gnome-print gnuplot gnutls gocr gpgme gpm grammar graphics graphviz gs gsm gstreamer gtk gtk2 guile hal hddtemp html humanities i8x0 ical iconv icq imagemagick imap inkjar ipv6 isdnlog jabber jack java java6 javascript jingle joystick jpeg jpeg2k kerberos keyring kpathsea lapack latex lcms ldap libcaca libgda libnotify libwww live lm_sensors logrotate lyx lzma lzo mad math matroska mbox mdnsresponder-compat meanwhile midi mikmod mjpeg mmx mmx2 mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn mudflap music mysql nas nautilus ncurses neon network networking new-clx nptl nptlonly nsplugin objc objc++ objc-gc ocrad octave odk offensive ofx ogg oggvorbis ole openal opengl openmp opensslcrypt oss pam parse-clocks pcre pdf perl php plotutils png postgres postscript ppds pppd pstricks publishers pulseaudio python qt3support query-browser quicktime quotes rar readline reflection regex restrict-javascript rtc rtsp samba sasl sbcl scanner science sdk sdl sensord session skins smime smp sms soap sound soup speex spell spl sse sse2 ssl stream subtitles svg sysfs syslog t1lib tcpd test tex tex4ht theora thesaurus threads tidy tiff tools truetype unicode upnp usb userlocales vim vim-syntax vorbis webdav win32codecs winbind wma wmf wmp workbench wxwindows x86 xanim xchatdccserver xforms xhtml xinerama xml xml2 xmlrpc xorg xosd xprint xrender xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="ati radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I was the one who provided the stacktrac for http://bugzilla.gnome.org/show_bug.cgi?id=541786 The above is my emerge --info on my Gentoo system where the problem occurred.
*** Bug 542120 has been marked as a duplicate of this bug. ***
*** Bug 547346 has been marked as a duplicate of this bug. ***
*** Bug 546331 has been marked as a duplicate of this bug. ***
*** Bug 545716 has been marked as a duplicate of this bug. ***
*** Bug 553190 has been marked as a duplicate of this bug. ***
*** Bug 553183 has been marked as a duplicate of this bug. ***
*** Bug 553812 has been marked as a duplicate of this bug. ***
*** Bug 556454 has been marked as a duplicate of this bug. ***
*** Bug 559529 has been marked as a duplicate of this bug. ***
*** Bug 560916 has been marked as a duplicate of this bug. ***
*** Bug 565467 has been marked as a duplicate of this bug. ***
bvw->priv->movie_par != NULL, which means the GValue returned by gst_structure_get_value (caps_set:1785) is invalid, or perhaps freed after we get a pointer to it. All the crashes seem to have occurred with MPEG videos, which makes me think it's a problem with GStreamer. Something in the MPEG code messing with the structure's pixel-aspect-ratio property?
The backtrace doesn't provide much information regarding the plugin being used (and causing that exception), but my gut-feeling is that it's the new mpeg demuxers that landed in -bad one or two releases back. Maybe someone can confirm this bug is still present in latest release and/or cvs trunk. If not, we definitely need a more detailed backtrace (with plugins debugging symbols).
*** Bug 566165 has been marked as a duplicate of this bug. ***
*** Bug 575449 has been marked as a duplicate of this bug. ***
*** Bug 576428 has been marked as a duplicate of this bug. ***
Bug #576428 has a nice stacktrace.
Considering the demuxers have changed since all these backtraces... I think this bug can be closed unless someone provides a backtrace using the latest -bad release.
*** Bug 578515 has been marked as a duplicate of this bug. ***
Bug #578515 was with gst-plugins-bad 0.10.11, and has an almost-complete stacktrace.
*** Bug 578844 has been marked as a duplicate of this bug. ***
*** Bug 589476 has been marked as a duplicate of this bug. ***
*** Bug 591929 has been marked as a duplicate of this bug. ***
*** Bug 597469 has been marked as a duplicate of this bug. ***
Reopening as a stacktrace can be found in bug 565467.
This should have been fixed since src/backend/bacon-video-widget-gst-0.10.c. movie_par pointed to a const GValue * that could have easily been freed later. That patch made it into 2.29, so if anything newer crashes, please reopen.