Totem Freezes on Pause

Bug #3998 reported by Devscott
4
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

When I pause a movie in Totem and then hit play, the movie never resumes.

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

Thanks foir your bug. What version of totem do you use? totem-gstreamer or totem-xine? What kind of format is that?

Changed in totem:
assignee: nobody → gnome
status: New → NeedInfo
Revision history for this message
Devscott (devscott) wrote :

I tried this with the latest release (totem 1.0.5) and the problem is present there also.

./configure --enable-gtk --enable-mozilla --enable-nautilus --enable-gstreamer

So I guess that would be totem-gstreamer

Happens with
*.avi
*.wmv
*.mpg

Revision history for this message
Devscott (devscott) wrote : Strace

Strace... quite long. Used a *.mpg file

Revision history for this message
Devscott (devscott) wrote :

scott@ssloan:~$ totem --debug

(totem:9355): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk _accel_group_from_accel_closure (accel_closure) != NULL' failed

(totem:9355): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion `gtk _accel_group_from_accel_closure (accel_closure) != NULL' failed
** Message: Couldn't initialize lirc.

scott@ssloan:~$

Revision history for this message
Daniel Holbach (dholbach) wrote :

Which package of totem do you have installed. Could you run dpkg -l totem* | grep ^ii ? Could you please follow the steps on http://wiki.ubuntu.com/DebuggingProgramCrash and add the output here?

Revision history for this message
Devscott (devscott) wrote :

Reinstalled Breezy, but problem still occurs on fresh install.

scott@Carbon:~$ dpkg -l totem* | grep ^ii
ii totem 1.2.0-0ubuntu3 A simple media player for the Gnome desktop (dummy package)
ii totem-gstreamer 1.2.0-0ubuntu3 A simple media player for the Gnome desktop based on gstrea
scott@Carbon:~$

Revision history for this message
Daniel Holbach (dholbach) wrote :

Could you please follow the steps on http://wiki.ubuntu.com/DebuggingProgramCrash and attach the output here, when you try to open that file? Could you attach the output of 'cat /proc/cpuinfo' as well?

Revision history for this message
Devscott (devscott) wrote :

I get this error when I try to follow those steps

scott@Carbon:~$ DEB_BUILD_OPTIONS="nostrip noopt" sudo apt-get source -b totem-g streamer

....

  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
 cd . && /bin/sh /home/scott/totem-1.2.0/missing --run automake-1.9 --gnu
cd . && /bin/sh /home/scott/totem-1.2.0/missing --run autoconf
configure.in:18: error: possibly undefined macro: AC_PROG_INTLTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/home/scott/totem-1.2.0'
make[1]: *** [build-xine-stamp] Error 2
make[1]: Leaving directory `/home/scott/totem-1.2.0'
make: *** [install] Error 2
Build command 'cd totem-1.2.0 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
scott@Carbon:~$

Revision history for this message
Devscott (devscott) wrote :

(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) run
Starting program: /usr/local/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1225804096 (LWP 23101)]
[New Thread -1227572304 (LWP 23104)]
** Message: totem_playlist_add_one_mrl (): FG1.avi file:///home/scott/temp/FG1.avi (null)

[New Thread -1229734992 (LWP 23105)]
[New Thread -1239966800 (LWP 23106)]
[New Thread -1242170448 (LWP 23107)]
(on_play_pause_button_clicked:1114) took 0.149698 seconds
(on_play_pause_button_clicked:1114) took 0.270703 seconds
[Thread -1239966800 (LWP 23106) exited]

Program exited normally.
(gdb) thread apply all bt
(gdb)

Revision history for this message
Daniel Holbach (dholbach) wrote :

About the build failures, I'm not sure how they could happen. Did you succeed in the end?

Could you do the steps of your last step again and type 'bt' if 'thread apply all bt' doesn't give no output?

Revision history for this message
Devscott (devscott) wrote :

I tried it with a audio file instead of a video file. Same problem. I hit pause, and the play and the song never resumes

here is the gdb output but only doing the "bt" instead of "thread apply all bt"

(gdb) handle SIG33 pass noprint nostop
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) run
Starting program: /usr/local/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1224841536 (LWP 24888)]
[New Thread -1226609744 (LWP 24891)]
** Message: Couldn't initialize lirc.

** Message: totem_playlist_add_one_mrl (): 13 - Too High.mp3 file:///media/stor/Music/Alternative/Dave%20Matthews/Some%20Devil/13%20-%20Too%20High.mp3 (null)

[New Thread -1228768336 (LWP 24892)]
[New Thread -1238996048 (LWP 24893)]
(on_play_pause_button_clicked:1114) took 0.062136 seconds
(on_play_pause_button_clicked:1114) took 0.273647 seconds
[Thread -1238996048 (LWP 24893) exited]

Program exited normally.
(gdb) bt
No stack.
(gdb)

Revision history for this message
Devscott (devscott) wrote :

About the build errors. I did not succeed in the end with the latest totem-gstreamer package from ubuntu repo. I ended up building from the latest stable version of totem (1.05) with this as a configure

./configure --enable-gtk --enable-mozilla --enable-nautilus --enable-gstreamer

Revision history for this message
Devscott (devscott) wrote :

Further testing and searching makes me wonder if my problem mimics this

http://bugzilla.gnome.org/show_bug.cgi?id=322927

Tried to see if the pause in rhythmbox worked, but I get the same result. It pauses, but never resumes when I unpause it.

How do I change this from a totem bug to a gstreamer bug?

Revision history for this message
Devscott (devscott) wrote :

Sure enough. With the latest totem, replacing

./configure --enable-gtk --enable-mozilla --enable-nautilus --enable-gstreamer

with

./configure --enable-gtk --enable-mozilla --enable-nautilus --enable-xine

I'm able to pause and unpause properly

Revision history for this message
Devscott (devscott) wrote :

Fixed in the Latest release of Totem.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for following up.

Changed in totem:
assignee: gnome → desktop-bugs
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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