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 624719 - File supposed to be closed but is not
File supposed to be closed but is not
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-19 11:19 UTC by Gregory BELLIER
Modified: 2016-11-11 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gregory BELLIER 2010-07-19 11:19:45 UTC
Hi !

I originally reported this to the Rhythmbox devs but I've been told it's a gstreamer bug.

Here is the deal.

I noticed that when a song finished reading then the file is not closed immediately. However, if I skip the song because I don't want to listen to this one, then it's closed.

I noticed this using inotify but you can see this behaviour by checking the opened files like this : lsof | grep rhythmbox | grep REG | grep -v mem | grep mp3

Here is a scenario :
- File A was read, it's over but the file is still opened.
- File B is the current song.
- As soon as file B is over, file C starts. And when file C starts, File A closes at the very same time.

FYI: I use Ubuntu 9.10.

Regards.
Comment 1 Tim-Philipp Müller 2010-07-19 15:35:04 UTC
Could you try this with newer versions of GStreamer than what's in Ubuntu 9.10?

There's a GStreamer PPA that offers newer packages.
Comment 2 Gregory BELLIER 2010-07-19 19:00:52 UTC
I have the very same behavior on an up-to-date Archlinux. I guess the package for Archlinux is recent enough.
Comment 3 Tim-Philipp Müller 2010-07-19 19:29:36 UTC
> I guess the package for Archlinux is recent enough.

You guess? What versions are you using on arch linux? What's the output of

   gst-inspect-0.10 uridecodebin | grep Version

?
Comment 4 Gregory BELLIER 2010-07-19 19:31:32 UTC
0.10.29
Comment 5 Gregory BELLIER 2010-07-22 18:08:17 UTC
Do you need additional informations ?
Comment 6 Tim-Philipp Müller 2010-09-02 11:57:55 UTC
I can reproduce this with rhythmbox and GStreamer as in debian sid (when playing mp3s).
Comment 7 Tim-Philipp Müller 2010-09-02 12:24:49 UTC
However, there doesn't seem to be a permanent leak here, it's just that the previous file stays open for longer than needed.
Comment 8 Edward Hervey 2013-07-22 14:14:04 UTC
Any update on this ?
Comment 9 André Klapper 2014-07-01 16:42:05 UTC
(In reply to comment #8)
> Any update on this ?

Well, what exactly do you want to know and from who? 
Vague unaddressed questions normally don't trigger answers.
Comment 10 Tim-Philipp Müller 2016-11-11 21:28:51 UTC
Ancient and unsupported GStreamer version, no activity for more than 2 years, and no indication the there's actually a bug in GStreamer here, so I think we'll close this. Please re-open if you still have this problem with recent versions of GStreamer (e.g. 1.10) and rhythmbox, thanks!