[ubuntu-mono] [Bug 34489] if playing, totem uses 100% CPU after unsuspend

Paul Sladen ubuntu at paul.sladen.org
Sat Mar 11 19:16:45 GMT 2006

Public bug reported:

Affects: beagle (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Totem is a media player.  If it is playing audio before a suspend to
RAM, then the player will consume 100% CPU after unsuspend and play no

Not much useful in the way of debugging:

  (gdb) bt
  #0  0xffffe410 in __kernel_vsyscall ()
  #1  0x771e4904 in poll () from /lib/tls/i686/cmov/libc.so.6
  #2  0x773606e8 in g_main_context_iterate (context=0x80c1138, block=1, dispatch=1, self=0x8086088) at gmain.c:2849
  #3  0x77360bb8 in IA__g_main_loop_run (loop=0x891e620) at gmain.c:2751
  #4  0x77b6e416 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
  #5  0x08063dda in main ()
  (gdb) cont

and repeated five syscall loop consisting of:

  gettimeofday({1142103637, 360547}, NULL) = 0
  ioctl(3, FIONREAD, [0])                 = 0
  gettimeofday({1142103637, 360587}, NULL) = 0
  poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI}, {fd=ioctl(3, FIONREAD, [0])                 = 0

This is a regression.  Totem used to carry on playing fine across
suspend.  Pressing pause, then play sometimes makes the progress bar
zoom at faster-than-realtime to catch up.  On this occasion, totem has
frozen completely.

More information about the Ubuntu-mono mailing list