After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338664 - Rhythmbox crashes on import of a specific MP3 file
Rhythmbox crashes on import of a specific MP3 file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other All
: Normal critical
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-16 00:59 UTC by David Bridson
Modified: 2006-05-06 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First 100 Kb of non-working MP3 file (100.00 KB, audio/mpeg)
2006-04-16 08:47 UTC, David Bridson
Details

Description David Bridson 2006-04-16 00:59:50 UTC
Steps to reproduce:
1. Load rhythmbox normally
2. Rhythmbox begins importing library automatically
3. When rhythmbox gets to the file
"1926_097%20-%20Bessie%20Smith%20-%20I%20Ain't%20Got%20Nobody%20(128%20JS%203.11).mp3",
it crashes.

Please see the stack trace below. If you need the MP3 file, please e-mail me.


Stack trace:
(gdb) thread apply all bt

Thread 38 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 37 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 33 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 31 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 28 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 23 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 17 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??

Thread 16 (Thread -1301296208 (LWP 24704))

  • #0 simple_find_peek
    from /usr/lib/gstreamer-0.10/libgstid3demux.so
  • #1 gst_type_find_peek
    from /usr/lib/libgstreamer-0.10.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
  • #3 ??
  • #4 ??


Other information:
[0x832a4e8] [action_thread_main] rhythmdb.c:2016 (01:25:53): executing
RHYTHMDB_ACTION_LOAD for
"file:///media/idedisk2/Music/Charts/Whitburn%20Pop/1926/1926_097%20-%20Bessie%20Smith%20-%20I%20Ain't%20Got%20Nobody%20(128%20JS%203.11).mp3"
[0x832a4e8] [rb_metadata_load] rb-metadata-gst.c:760 (01:25:53): loading
metadata for uri:
file:///media/idedisk2/Music/Charts/Whitburn%20Pop/1926/1926_097%20-%20Bessie%20Smith%20-%20I%20Ain't%20Got%20Nobody%20(128%20JS%203.11).mp3
[0x832a4e8] [rb_metadata_load] rb-metadata-gst.c:832 (01:25:53): going to PAUSED
for metadata, uri:
file:///media/idedisk2/Music/Charts/Whitburn%20Pop/1926/1926_097%20-%20Bessie%20Smith%20-%20I%20Ain't%20Got%20Nobody%20(128%20JS%203.11).mp3
[0x832a4e8] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:563 (01:25:53):
found type application/x-id3

(rhythmbox:23077): GStreamer-CRITICAL **: gst_pad_activate_pull: assertion `old
== GST_ACTIVATE_NONE' failed
Segmentation fault
Comment 1 Alex Lancaster 2006-04-16 06:03:47 UTC
There's a good chance this is a dupe of bug #334167, which is fixed in CVS.  Is there a non-UTF-8 encoded tag in that file?  Check it using:

gst-launch-0.10 -t playbin uri=file://path/to/file

Comment 2 David Bridson 2006-04-16 08:11:00 UTC
Below is the output from that command. I can't see any mention of encoding in the output, hope it helps.

gst-launch-0.10 -t playbin uri=file:///home/thebrid/Music/Charts/Whitburn\ Pop/1926/1926_097\ -\ Bessie\ Smith\ -\ I\ Ain\'t\ Got\ Nobody\ \(128\ JS\ 3.11\).mp3
Setting pipeline to PAUSED ...

(gst-launch-0.10:17931): GStreamer-CRITICAL **: gst_pad_activate_pull: assertion `old == GST_ACTIVATE_NONE' failed
Pipeline is PREROLLING ...
ERROR: from element /playbin0/decoder/id3demux0: Could not determine the mime type of the file
Additional debug info:
gstid3demux.c(843): gst_id3demux_sink_activate (): /playbin0/decoder/id3demux0:
No caps found for contents within an ID3 tag
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
Comment 3 James "Doc" Livingston 2006-04-16 08:30:52 UTC
For whatever reason, GStreamer isn't finding the actual MP3 stream (audio/mpeg) inside the ID3 tags. Re-assigning to GStreamer.

Could you create a shortened file with "head -c100k original.mp3 short.mp3" and attach that to the bug?
Comment 4 David Bridson 2006-04-16 08:47:22 UTC
Created attachment 63627 [details]
First 100 Kb of non-working MP3 file

Please find attached the first 100 Kb of the non-working MP3 file.
Comment 5 Tim-Philipp Müller 2006-04-16 11:05:10 UTC
Works fine for me with CVS, should be fixed in the upcoming -good release:

$ gst-launch-0.10 filesrc location=338588-typefinding.mp3 ! decodebin ! audioconvert ! alsasink -t
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
FOUND TAG      : found by element "id3demux0".
          title: I Ain't Got Nobody
         artist: Bessie Smith
   track number: 97
           date: 1926-01-01
        comment: Debuted 1926 and peaked at #8 on Various Charts. source Pop Memories
FOUND TAG      : found by element "mad0".
          layer: 3
           mode: joint
       emphasis: none
    audio codec: MPEG-1 layer 3
        bitrate: 128000
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: audioclock0
Got EOS from element "pipeline0".
Execution ended after 5608496000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
Comment 6 Tim-Philipp Müller 2006-05-06 10:02:04 UTC
This should be fixed in gst-plugins-good 0.10.3

Please re-open if this is not the case.