GNOME Bugzilla – Bug 153348
gstreamer crashes on wma.
Last modified: 2005-11-11 16:26:33 UTC
Guy from gstreamer had me run command below because rhythmbox was crashing when I tried to import a folder that contained a wma: [esalazar@milton esalazar]gst-launch-0.8 filesrc location=/music/Evanescence/Fallen/01.Going\ Under.Evanescence.Fallen.wma ! typefind ! spider ! audio/x-raw-int ! fakesink Do this to any .wma file. I am running Matt's FC2 rpms: gstreamer-plugins-0.8.4-1.1.fc2.nr gstreamer-0.8.5-1.1.fc2.nr rhythmbox-0.8.6-1.1.fc2.nr When running above command, I get this output: [esalazar@milton esalazar]$ gst-launch-0.8 filesrc location=/music/Evanescence/Fallen/01.Going\ Under.Evanescence.Fallen.wma ! typefind ! spider ! audio/x-raw-int ! fakesink ** (process:10573): CRITICAL **: Could not parse caps: length 2695, content: image/jpeg, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/mpeg, systemstream=(boolean)false, mpegversion=(boolean){ true, 4, 1, 2 }, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-3ivx, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-cinepak, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-divx, divxversion=(int){ 5, 4, 3 }, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ], framerate=(double)[ 0, 1.7976931348623157e+308 ]; video/x-dv, systemstream=(boolean)false, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-h263, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-huffyuv, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-jpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ], framerate=(double)[ 0, 1.7976931348623157e+308 ]; video/x-msmpeg, msmpegversion=(int){ 41, 42, 43 }, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-msvideocodec, msvideoversion=(int)1, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-raw-yuv, format=(fourcc){ YV12, YUY2, I420 }, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ], framerate=(double)[ 0, 1.7976931348623157e+308 ]; video/x-wmv, wmvversion=(int){ 1, 2 }, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ]; video/x-xvid, framerate=(double)[ 0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ], pixel_height=(int)[ 0, 255 ] (process:10573): GStreamer-CRITICAL **: file gstpad.c: line 3655 (gst_pad_template_new): assertion `caps != NULL' failed (process:10573): GStreamer-CRITICAL **: file gstelementfactory.c: line 368 (__gst_element_factory_add_pad_template): assertion `templ != NULL' failed RUNNING pipeline ... (process:10573): GStreamer-CRITICAL **: file gstpad.c: line 2466 (gst_pad_set_explicit_caps): assertion `gst_caps_is_fixed (caps)' failed (process:10573): GStreamer-WARNING **: pushing data on non-negotiated pad asfdemux0:audio_00, not allowed. ERROR: from element /pipeline0/spider0/asfdemux0: Could not demultiplex stream. Additional debug info: gstasfdemux.c(709): gst_asf_demux_process_segment: /pipeline0/spider0/asfdemux0: The payload has replicated data but the size is less than 8 Execution ended after 4 iterations (sum 927428000 ns, average 231857000 ns, min 30180000 ns, max 669813000 ns).
Please provide the file.
I can't attach it because bugzilla says the file is too big. Actually mplayer won't play this file either so maybe it is a bug in the driver? However should a driver be able to crash gstreamer? Does gstreamer use the same drivers as mplayer? Anyway mplayer does get to reading the tag info but then crashes. Tell me where I can email or upload the file and I can do that.
No, a file should never crash GStreamer. Even if mplayer doesn't play it, we'd still like to be able to play it back correctly. Email the file to me personally if you wish (rbultje (at) ronald (dot) bitfreak (dot) net), thanks.
Did you get this file Ronald?
My inbox says no.
eagsalazar you need to provide us this file somehow, either but putting it online somewhere or mail it to Ronald. If we don't get the file we have to close this bug.
I have an mp3 file that crashes RhythmBox/Gstreamer on import or play. Would you like for me to send you a copy? [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:599 (14:35:19): saving the playlists [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:602 (14:35:19): no save needed, ignoring [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:599 (14:35:29): saving the playlists [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:602 (14:35:29): no save needed, ignoring [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:599 (14:35:39): saving the playlists [0x91e2ea8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:602 (14:35:39): no save needed, ignoring [0x91e2ea8] [rb_shell_corba_handle_file] rb-shell.c:865 (14:35:43): handling uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 [0x91e2ea8] [rb_shell_corba_handle_file] rb-shell.c:880 (14:35:43): async adding uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 [0x91e2ea8] [rb_shell_queue_play] rb-shell.c:832 (14:35:43): queueing play [0x91e2ea8] [idle_do_action] rb-shell.c:772 (14:35:43): entering idle_do_action [0x91e2ea8] [idle_do_action] rb-shell.c:792 (14:35:43): entry not added yet, queueing retry [0x92ec0c0] [rb_metadata_load] rb-metadata-gst.c:468 (14:35:43): loading metadata for uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 [0x92ec0c0] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:421 (14:35:43): found type application/x-id3 [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: track-number [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: duration [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: title [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: artist [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: genre [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: comment [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: album [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: date [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: layer [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: mode [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: emphasis [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: layer [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: mode [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: emphasis [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: layer [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: mode [0x92ec0c0] [rb_metadata_gst_load_tag] rb-metadata-gst.c:360 (14:35:43): uri: file:///home/rjenkins/Music/Pearls%20Before%20Swine%20-%20Constructive%20Melancholy_%2030%20Years%20Of%20Pearls%20Before%20Swine%20-%2011%20-%20Once%20Upon%20A%20Time.mp3 tag: emphasis [0x92ec0c0] [rb_metadata_gst_fakesink_handoff_cb] rb-metadata-gst.c:436 (14:35:43): in fakesink handoff *** glibc detected *** rhythmbox: double free or corruption (out): 0x095c2600 *** ======= Backtrace: ========= /lib/libc.so.6[0xc57424] /lib/libc.so.6(__libc_free+0x77)[0xc5795f] /usr/lib/libmad.so.0(mad_frame_finish+0x26)[0xe59927] /usr/lib/libgstreamer-0.8.so.1[0x61e7f99] /usr/lib/libgstreamer-0.8.so.1(gst_element_set_state+0xbb)[0x61e7739] /usr/lib/libgstreamer-0.8.so.1[0x61da9f3] /usr/lib/libgstreamer-0.8.so.1[0x61da846] /usr/lib/libgstreamer-0.8.so.1[0x61dad39] /usr/lib/libgstreamer-0.8.so.1[0x61e7f99] /usr/lib/libgstreamer-0.8.so.1(gst_bin_set_state+0x8f)[0x61daf22] /usr/lib/libgstreamer-0.8.so.1(gst_element_set_state+0xbb)[0x61e7739] /usr/lib/libgstreamer-0.8.so.1[0x61da9f3] /usr/lib/libgstreamer-0.8.so.1[0x61da846] /usr/lib/libgstreamer-0.8.so.1[0x61dad39] /usr/lib/libgstreamer-0.8.so.1[0x61ff43b] /usr/lib/libgstreamer-0.8.so.1[0x61e7f99] /usr/lib/libgstreamer-0.8.so.1(gst_bin_set_state+0x8f)[0x61daf22] /usr/lib/libgstreamer-0.8.so.1(gst_element_set_state+0xbb)[0x61e7739] rhythmbox(rb_metadata_load+0x495)[0x809a3c3] rhythmbox(rhythmdb_add_song+0xf0)[0x8091d74] rhythmbox[0x8092503] /usr/lib/libglib-2.0.so.0[0x1d9e9a] /lib/libpthread.so.0[0x8ecb80] /lib/libc.so.6(__clone+0x5e)[0xcbedee] ======= Memory map: ======== 00101000-00117000 r-xp 00000000 03:05 5643949 /usr/lib/libglade-2.0.so.0.0.7 00117000-00118000 rwxp 00016000 03:05 5643949 /usr/lib/libglade-2.0.so.0.0.7 00118000-0011b000 r-xp 00000000 03:05 5646149 /usr/lib/libgmodule-2.0.so.0.600.4 0011b000-0011c000 rwxp 00002000 03:05 5646149 /usr/lib/libgmodule-2.0.so.0.600.4 0011c000-0011e000 r-xp 00000000 03:05 26510371 /lib/libdl-2.3.5.so 0011e000-0011f000 r-xp 00001000 03:05 26510371 /lib/libdl-2.3.5.so 0011f000-00120000 rwxp 00002000 03:05 26510371 /lib/libdl-2.3.5.so 00120000-00127000 r-xp 00000000 03:05 5643821 /usr/lib/libpopt.so.0.0.0 00127000-00128000 rwxp 00006000 03:05 5643821 /usr/lib/libpopt.so.0.0.0 00128000-00160000 r-xp 00000000 03:05 5647022 /usr/lib/libgobject-2.0.so.0.600.4 00160000-00164000 rwxp 00037000 03:05 5647022 /usr/lib/libgobject-2.0.so.0.600.4 00164000-00176000 r-xp 00000000 03:05 5647031 /usr/lib/libz.so.1.2.2.2 00176000-00177000 rwxp 00011000 03:05 5647031 /usr/lib/libz.so.1.2.2.2 00177000-00199000 r-xp 00000000 03:05 26510369 /lib/libm-2.3.5.so 00199000-0019a000 r-xp 00021000 03:05 26510369 /lib/libm-2.3.5.so 0019a000-0019b000 rwxp 00022000 03:05 26510369 /lib/libm-2.3.5.so 0019b000-0021f000 r-xp 00000000 03:05 5643514 /usr/lib/libglib-2.0.so.0.600.40021f000-00224000 rwxp 00084000 03:05 5643514 /usr/lib/libglib-2.0.so.0.600.400224000-002f4000 r-xp 00000000 03:05 5642416 /usr/X11R6/lib/libX11.so.6.2 002f4000-002f8000 rwxp 000cf000 03:05 5642416 /usr/X11R6/lib/libX11.so.6.2 002f8000-00306000 r-xp 00000000 03:05 5643146 /usr/X11R6/lib/libXext.so.6.4 00306000-00307000 rwxp 0000e000 03:05 5643146 /usr/X11R6/lib/libXext.so.6.4 00307000-0033c000 r-xp 00000000 03:05 26510386 /lib/libssl.so.0.9.7f 0033c000-0033f000 rwxp 00035000 03:05 26510386 /lib/libssl.so.0.9.7f 0033f000-00341000 r-xp 00000000 03:05 26510384 /lib/libcom_err.so.2.1 00341000-00342000 rwxp 00001000 03:05 26510384 /lib/libcom_err.so.2.1 00342000-00344000 r-xp 00000000 03:05 5647063 /usr/lib/libkrb5support.so.0.0 00344000-00345000 rwxp 00001000 03:05 5647063 /usr/lib/libkrb5support.so.0.0 00345000-0035c000 r-xp 00000000 03:05 5642683 /usr/X11R6/lib/libICE.so.6.3 0035c000-0035d000 rwxp 00016000 03:05 5642683 /usr/X11R6/lib/libICE.so.6.3 0035d000-0035f000 rwxp 0035d000 00:00 0 0035f000-00360000 r-xp 00000000 03:05 5802640 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 00360000-00361000 rwxp 00000000 03:05 5802640 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 00361000-00369000 r-xp 00000000 03:05 5643175 /usr/X11R6/lib/libSM.so.6.0 00369000-0036a000 rwxp 00007000 03:05 5643175 /usr/X11R6/lib/libSM.so.6.0 0036c000-0038a000 r-xp 00000000 03:05 5647072 /usr/lib/libjpeg.so.62.0.0 0038a000-0038b000 rwxp 0001d000 03:05 5647072 /usr/lib/libjpeg.so.62.0.0 0038d000-00497000 r-xp 00000000 03:05 5637562 /usr/lib/libxml2.so.2.6.19 00497000-0049f000 rwxp 00109000 03:05 5637562 /usr/lib/libxml2.so.2.6.19 0049f000-004a0000 rwxp 0049f000 00:00 0 004a0000-004a9000 r-xp 00000000 03:05 26509365 /lib/libnss_files-2.3.5.so 004a9000-004aa000 r-xp 00008000 03:05 26509365 /lib/libnss_files-2.3.5.so 004aa000-004ab000 rwxp 00009000 03:05 26509365 /lib/libnss_files-2.3.5.so 004ab000-004ac000 r-xp 00000000 03:05 5701861 /uXlib: unexpected async reply (sequence 0x1366f)! Killed [rjenkins@localhost ~]$
Yes, but in a new bug please. Also, for mp3 files, try to reproduce it with the first 100 kB (head -c100k file.mp3 > file.mp3.hdr), since that means you cna attach less data to bugzilla.
closing.. please pput the file somewhere if it's still an issue for you! Thanks.