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 156568 - Some problematic MP3s hang rhythmbox when imported
Some problematic MP3s hang rhythmbox when imported
Status: RESOLVED DUPLICATE of bug 158018
Product: rhythmbox
Classification: Other
Component: general
0.8.8
Other other
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-27 11:36 UTC by Daniel van Eeden
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample MP3 1 which prevents rhythmbox from exiting (10.53 KB, audio/x-mp3)
2004-10-28 19:21 UTC, Loïc Minier
Details
Sample MP3 2 which prevents rhythmbox from exiting (1.25 KB, audio/x-mp3)
2004-10-28 19:24 UTC, Loïc Minier
Details

Description Daniel van Eeden 2004-10-27 11:36:14 UTC
Distribution: Debian 3.1
Package: rhythmbox
Severity: normal
Version: GNOME2.6.1 0.8.8
Gnome-Distributor: Debian
Synopsis: Hangs on loadinn
Bugzilla-Product: rhythmbox
Bugzilla-Component: General
Bugzilla-Version: 0.8.8
Description:
Description of Problem:
Rhythmbox hung while I tried to load my ~15 GB of mp3 files. 
lsof `pgrep rhythmbox` showed that it was trying to load a jpg file...so
I removed that file. The second try it hung while loading a corrupt mp3
file.

Steps to reproduce the problem:
1. Load a random mp3 collection with jpegs and corrupt mp3's

Actual Results:
Rhythbox kept trying to  load some files until the end of times.

Expected Results:
All files loaded, exect the jpegs and corrupt files or an Error.

How often does this happen?
Always

Additional Information:
I'm using Debian's release of rhythmbox on a x86_64. (So all binaries
are 64-bit)




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-27 07:36 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "rhythmbox".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Loïc Minier 2004-10-28 15:47:34 UTC
There are two different problems here, the JPEG file and the corrupt MP3.

At least for the JPEG file, this is solved upstream and it was a gstreamer bug
(in gstreamer-plugins), the upstream bug being Bug#155814.

Now for the MP3 part, can you provide an extract of a problematic MP3?

Thanks.
Comment 2 Loïc Minier 2004-10-28 19:09:19 UTC
I can provide some from the Debian bugtracker... :)

I have no idea if they reproduce the same problem than yours, but we might some
them all so it's worth trying.
Comment 3 Loïc Minier 2004-10-28 19:21:32 UTC
Created attachment 33178 [details]
Sample MP3 1 which prevents rhythmbox from exiting

This sample MP3 prevents rhythmbox for exiting if you call 'rhythmbox "All I
Want Is You.mp3"'.  You can use rhythmbox normally, you won't hear that MP3
(which is very short) and you won't be able to exit rhythmbox.
Comment 4 Loïc Minier 2004-10-28 19:24:13 UTC
Created attachment 33179 [details]
Sample MP3 2 which prevents rhythmbox from exiting

This sample MP3 prevents rhythmbox for exiting if you call 'rhythmbox
"AudioBookForFreeCom  Crown Of Swords 06_24.mp3"'.  You can use rhythmbox
normally, you won't hear that MP3 (which is very short) and you won't be able
to exit rhythmbox.
Comment 5 Loïc Minier 2004-10-28 19:25:17 UTC
These attachments are in Debian bugs:
<http://bugs.debian.org/278661>
<http://bugs.debian.org/278663>
Comment 6 Loïc Minier 2004-10-28 19:45:26 UTC
Here's a debug run of rhythmbox of foo.mp3:
[blahblah]
[0x80f0ed8] [idle_do_action] rb-shell.c:772 (21:33:13): entering idle_do_action
[0x80f0ed8] [idle_do_action] rb-shell.c:796 (21:33:13): No entry
file:///home/lool/AudioBookForFree.mp3 in db

regularly:

[0x80f0ed8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:599
(21:33:19): saving the playlists
[0x80f0ed8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:602
(21:33:19): n[0x80f0ed8] [rb_playlist_manager_save_playlists]
rb-playlist-manager.c:599 (21:33:29): saving the playlists
[0x80f0ed8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:602
(21:33:29): no save needed, ignoring
o save needed, ignoring

when exiting:
[0x80f0ed8] [rb_shell_window_delete_cb] rb-shell.c:1799 (21:33:32): window deleted
[0x80f0ed8] [rb_shell_quit] rb-shell.c:2399 (21:33:32): Quitting
[0x80f0ed8] [rb_shell_shutdown] rb-shell.c:686 (21:33:32): Unregistering with bonobo
[0x80f0ed8] [rb_shell_shutdown] rb-shell.c:690 (21:33:32): Unregistered with
Bonobo Activation
[0x80f0ed8] [rb_shell_sync_state] rb-shell.c:640 (21:33:32): saving playlists
[0x80f0ed8] [rb_playlist_manager_save_playlists] rb-playlist-manager.c:599
(21:33:32): saving the playlists
[0x80f0ed8] [rb_shell_sync_state] rb-shell.c:643 (21:33:32): saving db
[0x80f0ed8] [rhythmdb_save_blocking] rhythmdb.c:1320 (21:33:32): saving the
rhythmdb and blocking
[0x80f0ed8] [rhythmdb_save_worker] rhythmdb.c:1268 (21:33:32): no save needed,
ignoring
[0x80f0ed8] [rb_shell_player_stop] rb-shell-player.c:1809 (21:33:32): stopping
[0x836a538] [rb_playlist_manager_save_thread_main] rb-playlist-manager.c:549
(21:33:32): entering save thread
[0x80f0ed8] [rb_library_source_finalize] rb-library-source.c:418 (21:33:32):
finalizing library source
[0x80f0ed8] [rb_source_finalize] rb-source.c:226 (21:33:32): Finalizing view
0x828a208
[0x80f0ed8] [rb_iradio_source_finalize] rb-iradio-source.c:289 (21:33:32):
finalizing iradio source
[0x80f0ed8] [rb_source_finalize] rb-source.c:226 (21:33:32): Finalizing view
0x829c358
[0x80f0ed8] [rb_shell_finalize] rb-shell.c:719 (21:33:32): shutting down DB
[0x822e9e8] [action_thread_main] rhythmdb.c:1213 (21:33:32): exiting
[0x82275c8] [update_thread_main] rhythmdb.c:1144 (21:33:32): exiting

*stuck*, nothing happens
Comment 7 Andjelko Iharos 2004-11-12 18:23:57 UTC
I have the same problem, running on gentoo. :| I'm trying to move away from juk
mp3 player and kde, and this is the only thing stopping me. :)

I even started writing a python script to create the rhythmbox.xml database
before i stubled upon bugzilla here.
Comment 8 Christophe Fergeau 2004-11-12 18:29:02 UTC
Issues with short files are fixed in GStreamer CVS and should be fixed in the
upcoming next release of gstreamer/gst-plugins.
Andjelko, are you getting that with a short file too ?
Comment 9 Christophe Fergeau 2004-12-02 10:33:54 UTC

*** This bug has been marked as a duplicate of 158018 ***
Comment 10 Loïc Minier 2004-12-03 10:38:46 UTC
Sorry, it is not a duplicate of 158018.  The reporter reported *TWO* problems at
the same time.  Indeed, the JPEG problem is solved (and I'm quite confident that
the MP3 problem is fixed in gstreamer CVS, but I did not check), please don't
merge the MP3-related bug with the JPEG one.

I'm reopening, and living as NEW until someone confirms this is fixed upstream
(Gstreamer).
Comment 11 Christophe Fergeau 2004-12-03 11:07:21 UTC
The files are really small, this is the same issue imo. Confirmed by testing
with rb+gstreamer CVS which doesn't hang when importing those 2 files.

*** This bug has been marked as a duplicate of 158018 ***
Comment 12 Loïc Minier 2004-12-04 13:34:55 UTC
Sorry to insist, I just rebuilt the latest version of gstreamer,
gstreamer-plugins and rhythmbox 0.8, and both MP3 will use 100% of CPU (although
it does not appear to be so in the output of "top", the system has no idle anymore).

Also, you can not close rhythmbox, it hangs on *exit* (not on import).

Are you sure this is fixed in 0.8?  I could understand that you do not wish to
fix it in 0.8, but then please confirm it is broken in 0.8, and leave this bug
open with a 0.8 version information.

FYI, this is how I've checked:
- I've built and installed gstreamer in a temporary directory,
- I've built gstreamer-plugins with gstreamer's pkgconfig file in that temporary
directory and installed it in that temporary directory too,
6 built rhythmbox-0.8 from the latest arch version,
- I then ldd'ed rhythmbox with LD_LIBRARY_PATH on that dir, and checked
libgstreamer0.8 was loaded from the temporary dir,
- I ran rhythmbox with this LD_LIBRARY_PATH.
Maybe I made a mistake in my test environment and I did not truly check against
latest gstreamer/gstreamer-plugins/rhythmbox?
Comment 13 Christophe Fergeau 2004-12-06 22:49:01 UTC
It is fixed in GStreamer CVS, dunno what you tried that with. It definitely
doesn't happen here with rhythmbox 0.8 and gst* CVS HEAD.
Comment 14 Christophe Fergeau 2004-12-06 22:49:31 UTC

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