Rhythmbox starts spinning after the connection to an sftp-server times out.

Bug #194376 reported by Øyvind
2
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

Rhythmbox version 0.11.2-0ubuntu4 on ubuntu 7.10

This is the trace i get from strace:
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=14, events=POLLIN}, {fd=31, events=POLLIN, revents=POLLHUP}], 13, 83) = 1
gettimeofday({1203687706, 67365}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1203687706, 67548}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=14, events=POLLIN}, {fd=31, events=POLLIN, revents=POLLHUP}], 13, 83) = 1
gettimeofday({1203687706, 67771}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1203687706, 67953}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=14, events=POLLIN}, {fd=31, events=POLLIN, revents=POLLHUP}], 13, 83) = 1
gettimeofday({1203687706, 68174}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1203687706, 68356}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=19, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=14, events=POLLIN}, {fd=31, events=POLLIN, revents=POLLHUP}], 13, 82) = 1
gettimeofday({1203687706, 68577}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0

and it never stops.

This bugs has similarities to a bug in previous versions of curl where it keeps polling for more data even though it's told the connection is down.

ProblemType: Bug
Architecture: i386
Date: Fri Feb 22 14:42:15 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/rhythmbox
NonfreeKernelModules: nvidia
Package: rhythmbox 0.11.2-0ubuntu4
PackageArchitecture: i386
ProcCmdline: rhythmbox
ProcCwd: /home/oyvind
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=nb_NO.UTF-8
 SHELL=/bin/bash
SourcePackage: rhythmbox
Uname: Linux oyvind-desktop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Øyvind (oyvind-netlife) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.
 We have instructions on debugging some types of problems. http://wiki.ubuntu.com/DebuggingProcedures
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

Changed in rhythmbox:
status: New → Incomplete
Revision history for this message
Øyvind (oyvind-netlife) wrote :

1. the specific steps or actions you took that caused you to encounter the problem:
Rhythmbox is left on pause for 1-2 hours in the middle of a file played from an sftp-server.
2. the behavior you expected:
I expect Rhythmbox to continue playing the file and continue with the next one, and otherwise behave normaly.
3. the behavior you actually encountered:
First i notice that Rhythmbox starts using all available cpu. When i start playing the file the program behaves in one of the following ways:
I) Rhythmbox does not respond to mouse or keyboard input and must be closed,
II) Rhythmbox plays the parts of the file it still has i buffer and becomes unresponsive like in I)
III) Rhythmbox plays the entire file which is all buffered and then terminates/crashes with no error message.
I have tried to browse files on the sftp-server with the add folders menu if the program is available for user input (before i try to unpause it) and the message i get is something about a protocol-error.
The sftp-server I'm using is the standard sftp-server in the openssh-server package in ubuntu 7.10.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you describe easy steps to trigger the bug?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
Øyvind (oyvind-netlife) wrote :

How to trigger the bug:
1. Import a folder containing audio-files on another computer using sftp. Path example: sftp://user@othercomputer/home/user/mymusic.
2. Start to play an audio-file from this folder and pause it during playback.
3. Leave it on pause for a while. 1-2 hours should be suficcient.
4. Unpause and observe the unexpected behaviour as described earlier.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in hardy?

Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in rhythmbox:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.