GNOME Bugzilla – Bug 331323
[ffdec_mp3] crashing while playing mp3
Last modified: 2006-04-11 17:56:12 UTC
GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed aborting... happens with any gstreamer based player, rhythmbox, totem, and banshee. Robert
Which version of gstreamer core, gst-plugins-base, gst-plugins-good and gst-plugins-ugly is this with?
This is from a garnome build with gstreamer-0.10.3, gst-plugins-base-0.10.3, gst-plugins-good-0.10.2, and gst-ffmpeg-0.10.0. I am not the only one who has seen this problem, others in the garnome community have had that problem under different kinda of builds too. you can join #garnome channel on the irc.gnome.org server Robert
Thanks for the bug report. Without a stack trace from the crash it's very hard to determine what caused it. Can you provide us with one? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Backtrace was generated from '/opt/garnome-cvs/bin/rhythmbox' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1094300416 (LWP 2045)] [New Thread 1163987888 (LWP 2071)] [Thread debugging using libthread_db enabled] [New Thread 1094300416 (LWP 2045)] [New Thread 1163987888 (LWP 2071)] [Thread debugging using libthread_db enabled] [New Thread 1094300416 (LWP 2045)] [New Thread 1163987888 (LWP 2071)] [New Thread 1155324848 (LWP 2070)] [New Thread 1132469168 (LWP 2068)] [New Thread 1113709488 (LWP 2066)] [New Thread 1103338416 (LWP 2047)] [New Thread 1103072176 (LWP 2046)] 0xffffe410 in ?? ()
+ Trace 66328
Thread 7 (Thread 1103072176 (LWP 2046))
That is what bugbuddy reported from a rhythmbox crash, using the gst-fluendo-mp3 plugin works great, I have been using that. Robert
That stacktrace hasn't captured anything useful, unfortunately. You're saying this only happens when using the mad mp3 decoder?
gstreamer 0.10.1 + gst-ffmpeg 0.10 = works (garnome 2.13.90) gstreamer 0.10.3 + gst-fluendo-mp3 = works (garnome 2.13.91 with a custom makefile for the fluendo plugin) gstreamer 0.10.2/3/cvs + gst-ffmpeg 0.10 = crash Robert
Oh, you don't have gst-plugins-ugly installed - you're using the mp3 decoder from ffmpeg and not the libmad based one. With that info, I can reproduce the problem here: gst-launch filesrc location=file.mp3 ! typefind ! ffdec_mp3 ! audioconvert ! alsasink
Got a trace from banshee: GStreamer-CRITICAL **: gst_segment_clip: assertion `segment->format == format' failed aborting... Program received signal SIGABRT, Aborted.
+ Trace 67015
Thread 1123215696 (LWP 2820)
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event): Actually convert to time instead of pretending.. Also the bitrate of the context is mostly wrong so don't bother calculating a stop position. Closing (#331323)