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 602303 - Intermittent error parsing all podcast feeds in Rhythmbox 0.12.5
Intermittent error parsing all podcast feeds in Rhythmbox 0.12.5
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: http backend
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-18 13:43 UTC by Martin Jackson
Modified: 2015-03-15 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Dependencies (6.81 KB, text/plain)
2009-11-18 13:43 UTC, Martin Jackson
Details
ProcMaps (75.87 KB, text/plain)
2009-11-18 13:44 UTC, Martin Jackson
Details
ProcStatus (782 bytes, text/plain)
2009-11-18 13:44 UTC, Martin Jackson
Details
Xsession Errors (11.21 KB, text/plain)
2009-11-18 13:45 UTC, Martin Jackson
Details
Output of ls -l /proc/`pidof gvfsd-http`/fd (5.48 KB, text/plain)
2009-11-23 10:02 UTC, Martin Jackson
Details
Test program that show problem with gvfsd-http (1.34 KB, text/x-csrc)
2009-12-23 23:46 UTC, Michele Tameni
Details

Description Martin Jackson 2009-11-18 13:43:38 UTC
Created attachment 148044 [details]
Dependencies

After about a couple of days or so of functioning correctly the pod-catching function of Rhythmbox 0.12.5 all podcast feeds start to show a stop error sign and update all no longer works, if you try to update and individual feed the following error is reported:

Error in podcast
There was a problem adding this podcast: Unable to parse the feed contents. Please verify the URL: http://botchagalupe.libsyn.com/rss

# lsb_release -rd
Description:	Ubuntu 9.10
Release:	9.10

# apt-cache policy rhythmbox
rhythmbox:
  Installed: 0.12.5-0ubuntu4
  Candidate: 0.12.5-0ubuntu5
  Version table:
     0.12.5-0ubuntu5 0
        500 http://gb.archive.ubuntu.com karmic-updates/main Packages
 *** 0.12.5-0ubuntu4 0
        500 http://gb.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
Date: Tue Nov 17 11:11:37 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/rhythmbox
NonfreeKernelModules: nvidia
Package: rhythmbox 0.12.5-0ubuntu4
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: rhythmbox
Uname: Linux 2.6.31-14-generic x86_64
Comment 1 Martin Jackson 2009-11-18 13:44:21 UTC
Created attachment 148045 [details]
ProcMaps
Comment 2 Martin Jackson 2009-11-18 13:44:45 UTC
Created attachment 148047 [details]
ProcStatus
Comment 3 Martin Jackson 2009-11-18 13:45:03 UTC
Created attachment 148048 [details]
Xsession Errors
Comment 4 Martin Jackson 2009-11-18 13:45:51 UTC
A reboot of the system temporarily fixes this issue, simply killing the application does not.
Comment 5 Bastien Nocera 2009-11-18 16:31:57 UTC
(In reply to comment #4)
> A reboot of the system temporarily fixes this issue, simply killing the
> application does not.

Try a "killall gvfsd-http" instead?

If so, then it's probably an fd leak in gvfs's http code.

You can also try to parse the RSS feed using Totem when the problem happens, so you'd see whether the problem is within Rhythmbox itself, or in the supporting libraries.
Comment 6 Martin Jackson 2009-11-21 13:28:53 UTC
Your spot on the killall gvfsd-http got it working again.
Comment 7 Bastien Nocera 2009-11-21 14:17:40 UTC
My spot on? :)

Could you check the output of:
ls -l /proc/`pidof gvfsd-http`/fd

Which would probably show loads of leaked sockets and file descriptors.
Comment 8 Martin Jackson 2009-11-23 10:02:25 UTC
Created attachment 148306 [details]
Output of ls -l /proc/`pidof gvfsd-http`/fd

ls -l /proc/`pidof gvfsd-http`/fd
Comment 9 Bastien Nocera 2009-11-23 11:35:27 UTC
Reassigning to gvfs.

Is there any way to know which remote files those sockets are assigned to, or which program created them? It would make it easier to detect files that aren't closed properly, and avoid fd leaks.
Comment 10 Michele Tameni 2009-12-23 23:46:50 UTC
Created attachment 150328 [details]
Test program that show problem with gvfsd-http

Hi, we are having similar problem that may be related to this bug.
For spot the problem i wrote a simple program that load some file from http.
Try to execute it and after some time [not deterministic] you get error from g_file_load_contents_async [ DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ] .
Kill gvfsd-http fix the problem, but only for a very short time.

Michele
Comment 11 Ross Lagerwall 2015-03-15 17:21:40 UTC
I cannot reproduce this.

With the port to use SoupSession, the problems of fd leaks should be fixed.