Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126548 - gstreamer-0.10 broken: GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed
Summary: gstreamer-0.10 broken: GStreamer-CRITICAL **: gst_segment_clip: assertion `se...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Zaheer Abbas Merali (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 09:06 UTC by Daniel Drake (RETIRED)
Modified: 2006-06-30 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2006-03-17 09:06:22 UTC
gstreamer-0.10.4
gst-plugins-base-0.10.4 (also bumped to 0.10.5 locally, doesn't help)
gst-plugins-good-0.10.2

$ gst-launch-0.10 playbin uri="file:///home/dsd/Downloads/goodmornin-finalmixdown.mp3"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: audioclock1

GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed
aborting...
Aborted


Portage 2.1_pre6-r3 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r0, 2.6.16-rc4 x86_64)
=================================================================
System uname: 2.6.16-rc4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/make.conf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay/xgl /usr/local/overlay/gnome"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 X alsa avahi bash-completion beagle cairo cdr custom-cflags daap dbus dvd dvdr dvdread glitz gnome gtk gtk2 hal jpeg mono moznocompose moznoirc moznomail mp3 nptl nptlonly opengl png samba ssl svg tiff truetype truetype-fonts userlocales xv xvid elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_fbdev video_cards_nv video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS

Trace obtained through banshee:
   1.
      GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed
   2.
      aborting...
   3.
       
   4.
      Program received signal SIGABRT, Aborted.
   5.
      [Switching to Thread 1123215696 (LWP 2820)]
   6.
      0x00002af2c8a35839 in raise () from /lib/libc.so.6
   7.
      (gdb) bt
   8.
      #0  0x00002af2c8a35839 in raise () from /lib/libc.so.6
   9.
      #1  0x00002af2c8a36c1e in abort () from /lib/libc.so.6
  10.
      #2  0x00002af2c83f3825 in g_logv () from /usr/lib/libglib-2.0.so.0
  11.
      #3  0x00002af2c83f38b3 in g_log () from /usr/lib/libglib-2.0.so.0
  12.
      #4  0x00002aaaafef2e92 in gst_segment_clip () from /usr/lib/libgstreamer-0.10.so.0
  13.
      #5  0x00002aaab8af46fc in gst_base_audio_sink_get_type () from /usr/lib/libgstaudio-0.10.so.0
  14.
      #6  0x00002aaaafb7e609 in gst_base_sink_get_max_lateness () from /usr/lib/libgstbase-0.10.so.0
  15.
      #7  0x00002aaaafb7eba1 in gst_base_sink_get_max_lateness () from /usr/lib/libgstbase-0.10.so.0
  16.
      #8  0x00002aaaafb7f250 in gst_base_sink_get_max_lateness () from /usr/lib/libgstbase-0.10.so.0
  17.
      #9  0x00002aaaafb7f6c1 in gst_base_sink_get_max_lateness () from /usr/lib/libgstbase-0.10.so.0
  18.
      #10 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  19.
      #11 0x00002aaaafed8759 in gst_proxy_pad_get_type () from /usr/lib/libgstreamer-0.10.so.0
  20.
      #12 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  21.
      #13 0x00002aaaafed8759 in gst_proxy_pad_get_type () from /usr/lib/libgstreamer-0.10.so.0
  22.
      #14 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  23.
      #15 0x00002aaaafee8a4f in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
  24.
      #16 0x00002aaaafb888b1 in gst_base_transform_set_passthrough () from /usr/lib/libgstbase-0.10.so.0
  25.
      #17 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  26.
      #18 0x00002aaaafee8a4f in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
  27.
      #19 0x00002aaaafb888b1 in gst_base_transform_set_passthrough () from /usr/lib/libgstbase-0.10.so.0
  28.
      #20 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  29.
      #21 0x00002aaaafed8759 in gst_proxy_pad_get_type () from /usr/lib/libgstreamer-0.10.so.0
  30.
      #22 0x00002aaaafee8292 in gst_pad_chain () from /usr/lib/libgstreamer-0.10.so.0
  31.
      #23 0x00002aaaafee8a4f in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
  32.
      #24 0x00002aaab0f789fd in gst_queue_get_type () from /usr/lib64/gstreamer-0.10/libgstcoreelements.so
  33.
      #25 0x00002aaaafefb936 in gst_task_get_type () from /usr/lib/libgstreamer-0.10.so.0
  34.
      #26 0x00002af2c840496b in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
  35.
      #27 0x00002af2c840300d in g_static_private_free () from /usr/lib/libglib-2.0.so.0
  36.
      #28 0x00002af2c866641a in start_thread () from /lib/libpthread.so.0
  37.
      #29 0x00002af2c8abfa1e in clone () from /lib/libc.so.6
  38.
      #30 0x0000000000000000 in ?? ()
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-03-17 09:11:05 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=331323

Installing gst-plugins-mad is a suitable workaround.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-04-12 04:38:04 UTC
Upstream bug is marked as fixed.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-05-30 11:12:49 UTC
Now using:

media-libs/gstreamer-0.10.6
media-libs/gst-plugins-base-0.10.7
media-libs/gst-plugins-good-0.10.3

I still can't play mp3's unless gst-plugins-mad is installed. This time I don't get a crash, it just tells me I don't have a decoder for this file type. Is this expected behaviour?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-06-30 14:09:06 UTC
Yes - it is expected that gstreamer does not play MP3s out of the box. The ffmpeg plugin has disabled MP3 support (it's broken) so the crash has gone away.