totem hangs when source does not respond

Bug #176457 reported by Vern Wall
4
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

When an internet radio station does not respond to a request, totem may or may not time out. If it does not time out, the program hangs. A forced quit may or may not clear the program. If not, I have to reboot the computer to start the program again.

ProblemType: Bug
Architecture: i386
Date: Fri Dec 14 17:23:53 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/totem
Package: totem-gstreamer 2.20.0-0ubuntu3
PackageArchitecture: i386
ProcCmdline: totem
ProcCwd: /home/vern
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: totem
Uname: Linux vern-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Vern Wall (vernwall) wrote :
Revision history for this message
Eduardo Retamales (eretamales) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at [WWW] https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in totem.

Changed in totem:
assignee: nobody → eretamales
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in totem:
assignee: eretamales → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Vern Wall (vernwall) wrote : Re: [Bug 176457] Re: totem hangs when source does not respond

Here is the file requested.

--- Pedro Villavicencio <email address hidden> wrote:

> Thanks for your bug report. Please try to obtain a
> backtrace
> http://wiki.ubuntu.com/DebuggingProgramCrash and
> attach the file to the
> bug report. This will greatly help us in tracking
> down your problem.
>
> ** Changed in: totem (Ubuntu)
> Importance: Undecided => Medium
> Assignee: Eduardo Retamales (eretamales) =>
> Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Incomplete
>
> --
> totem hangs when source does not respond
> https://bugs.launchpad.net/bugs/176457
> You received this bug notification because you are a
> direct subscriber
> of the bug.
>

      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.
(gdb) thread apply all backtrace
(gdb) quit

Note: In this case the program said, "An error occurred. You may not have permission to access the source." I pressed Play and totem reconnected to the radio station.

Revision history for this message
Oliver Gerlich (ogerlich) wrote :

I can confirm this problem that Totem hangs when the server does not respond (so it is probably difficult to reproduce). I have not encountered any problems killing Totem in this situation., though.

In my case, I first opened a webradio station through Firefox, by going to http://www.slayradio.org/home.php and clicking on the "Broadband" link in upper left corner. After confirming to open the file in "Video Player", Totem opened but then didn't react (clock cursor appeared, and the Totem window was not repainted any more).

Looking at ps -Af , I saw that Totem was started with /tmp/listen.m3u as parameter. I killed the hanging Totem instance and started it manually with that parameter; again it didn't respond. However, after a while it timed out and displayed the same message as described by Vern ("An error occured" etc). I clicked OK and then selected another URL from the playlist window, which was then played without problems.

The listen.m3u which is the playlist that was returned from the website contains five different HTTP urls (http://relay?.slayradio.org:8000/), and apparently the very first of these did not respond. I checked this manually on another machine with xmms; it didn't get a connection either to this particular server (relay3), but displayed a meaningful status message ("Connected: waiting for reply").

Looking at the hanging instance with strace -p showed that it waited in a select call:
select(20, [19], NULL, NULL, {26, 612000})

In my opinion Totem should in this case:
- still respond to user interaction
- allow the user to select another entry from the playlist (which should abort the current connection try)
- show a status message that tells the user what's going on (so he knows the app is not crashed, but the server "has a problem")

Revision history for this message
Oliver Gerlich (ogerlich) wrote :

Forgot something - this was in the terminal where I launched Totem manually:

** Message: Error: Could not open resource for reading.
gstgnomevfssrc.c(863): gst_gnome_vfs_src_start (): /play/source:
Could not open vfs file "http://relay3.slayradio.org:8000/" for reading: Timeout reached (46)

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. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Revision history for this message
Vern Wall (vernwall) wrote :

Yes, the program still hangs occasionally at random
times. Other times it gives the "Error reading source"
message. This happens about once a day.

Vern

--- Pedro Villavicencio <email address hidden> wrote:

> Thank you for taking the time to report this bug and
> helping to make
> Ubuntu better. You reported this bug a while ago and
> there hasn't been
> any activity in it recently. We were wondering is
> this still an issue
> for you? Thanks in advance.
>
> --
> totem hangs when source does not respond
> https://bugs.launchpad.net/bugs/176457
> You received this bug notification because you are a
> direct subscriber
> of the bug.
>

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

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. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Hardy Heron. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in totem:
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.