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 158017 - Rhythmbox stalls importing folders with JPEG images
Rhythmbox stalls importing folders with JPEG images
Status: RESOLVED DUPLICATE of bug 158018
Product: rhythmbox
Classification: Other
Component: general
0.8.8
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on: 158018
Blocks:
 
 
Reported: 2004-11-12 02:28 UTC by Ed Catmur
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ed Catmur 2004-11-12 02:28:21 UTC
A number of my music folders have cover images, as JPEG files.

When importing, rhythmbox tries to import these and on some of them stalls:
although the UI is responsive, the "Loading songs..." progressbar keeps going
back and forth; and when I try to exit rhythmbox the UI stalls. It seems as if
the importing thread is stalling.

With "-d" I get something like

[0x83386e0] [rb_metadata_load] rb-metadata-gst.c:469 (01:57:41): loading
metadata for uri: file:///home/ed/foo/Pressure%20Drop/Tread/cover.jpg
[0x83386e0] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:422 (01:57:41):
found type image/jpeg
[0x80feb40] [rb_shell_player_state_changed_cb] rb-shell-player.c:1435
(02:22:50): state changed
(etc.)

For covers that do not cause a stall I get something like:

[0x83386f8] [rb_metadata_load] rb-metadata-gst.c:469 (02:21:28): loading
metadata for uri:
file:///home/ed/Music/The%20Divine%20Comedy/Fin%20De%20Si%E8cle/cover.jpg
[0x83386f8] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:422 (02:21:28):
found type image/jpeg
[0x83386f8] [rb_metadata_gst_error_cb] rb-metadata-gst.c:333 (02:21:28): caught
error: There is no element present to handle the stream's mime type image/jpeg.
[0x83386f8] [rb_metadata_load] rb-metadata-gst.c:561 (02:21:28): ignoring file
file:///home/ed/Music/The%20Divine%20Comedy/Fin%20De%20Si%E8cle/cover.jpg with
detected type image/jpeg
[0x83386f8] [rhythmdb_add_song] rhythmdb.c:945 (02:21:28): unsupported file

You should be able to download the images from
http://catmur.ath.cx/~ed/breaks-rb/ - cover*.jpg break import but ok.jpg does not.

I'm using gstreamer 0.8.7, btw.
Comment 1 Ed Catmur 2004-11-12 02:33:45 UTC
Ah.

$ gst-launch-0.8 gnomevfssrc location=public_html/breaks-rb/ok.jpg ! typefind !
spider ! application/x-gst-tags ! fakesink
RUNNING pipeline ...
ERROR: from element /pipeline0/spider0: There is no element present to handle
the stream's mime type image/jpeg.
Execution ended after 2 iterations (sum 5779000 ns, average 2889500 ns, min
1252000 ns, max 4527000 ns).

But

$ gst-launch-0.8 gnomevfssrc location=public_html/breaks-rb/cover.jpg ! typefind
! spider ! application/x-gst-tags ! fakesink
RUNNING pipeline ...
(hangs)

A gstreamer bug, then: if I truncate the pipeline to end at typefind it still
stalls, so the bug is in the typefind plugin.
Comment 2 Ed Catmur 2004-11-12 02:49:36 UTC
Oh, and

$ gst-launch-0.8 gnomevfssrc location=public_html/breaks-rb/cover.jpg

succeeds, so the file is at least readable.

Anyway, I've upstreamed the issue into a gstreamer bug.
Comment 3 Ed Catmur 2004-11-12 03:11:18 UTC
I've marked bug 158018 fixed, because the underlying bug was fixed shortly after
gstreamer-0.8.7 was released.

I'll leave this open until gstreamer-0.8.8 comes out, unless you think it should
be closed now.

Btw, it seems the problem was simply the small size of the cover images.
Comment 4 Christophe Fergeau 2004-11-12 10:39:19 UTC
Marking this bug as a duplicate and closing it, I generally close bugs as soon
as they are fixed in CVS. Thanks for the great investigation ;)

*** This bug has been marked as a duplicate of 158018 ***