Bug#723914: mplayer: 100% CPU spin after laptop suspend/resume

Paul LeoNerd Evans leonerd at leonerd.org.uk
Sat Sep 21 08:15:27 UTC 2013


Package: mplayer
Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
Severity: normal

I use mplayer to pull an icecast stream from my mpd server to my
laptop, using

  mplayer -playlist http://SERVER:8000/mpd.mp3.m3u 

If I forget to SIGINT the mplayer when I suspend my laptop, then on
resume it enters a 100% CPU spin and does nothing. An strace on both
parent and child mplayer process at this point shows no syscalls at all
(so it's a pure CPU spin).

It does respond to SIGINT, but requires two signals to quit it; the
terminal scrollback looks like:

  Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
  A:15894.3 ( 4:24:54.3) of 0.0 (unknown)  1.8% 0% 
  Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
  A:16783.2 ( 4:39:43.2) of 0.0 (unknown)  1.8% 4% 
  [AO_ALSA] Pcm in suspend mode, trying to resume.
  [AO_ALSA] alsa-lib: pcm_hw.c:712:(snd_pcm_hw_resume)
  SNDRV_PCM_IOCTL_RESUME failed (-38): Function not implemented
  A:16783.6 ( 4:39:43.5) of 0.0 (unknown)  1.8% 5% 


  MPlayer interrupted by signal 2 in module: play_audio


  MPlayer interrupted by signal 2 in module: enable_cache


  MPlayer interrupted by signal 2 in module: play_audio


  MPlayer interrupted by signal 2 in module: enable_cache

  leo at shy:~
  $ 


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mplayer depends on:
ii  libaa1                            1.4p5-41
ii  libasound2                        1.0.27.1-2
ii  libavcodec53                      6:0.8.7-1
ii  libavformat53                     6:0.8.7-1
ii  libavutil51                       6:0.8.7-1
ii  libbluray1                        1:0.2.2-1
ii  libc6                             2.17-92+b1
ii  libcaca0                          0.99.beta18-1
ii  libcdparanoia0                    3.10.2+debian-11
ii  libdca0                           0.0.5-6
ii  libdirectfb-1.2-9                 1.2.10.0-5
ii  libdvdnav4                        4.2.0+20130225-3
ii  libdvdread4                       4.2.0+20130219-2
ii  libenca0                          1.14-3
ii  libesd0                           0.2.41-11
ii  libfaad2                          2.7-8
ii  libfontconfig1                    2.10.2-2
ii  libfreetype6                      2.4.9-1.1
ii  libfribidi0                       0.19.5-2
ii  libgcc1                           1:4.8.1-2
ii  libgif4                           4.1.6-10
ii  libgl1-mesa-glx [libgl1]          9.1.6-2
ii  libjack-jackd2-0 [libjack-0.116]  1.9.9.5+20130622git7de15e7a-1
ii  libjpeg8                          8d-1
ii  liblircclient0                    0.9.0~pre1-1
ii  liblzo2-2                         2.06-1.2
ii  libmp3lame0                       3.99.5+repack1-3
ii  libmpeg2-4                        0.5.1-5
ii  libncurses5                       5.9+20130608-1
ii  libogg0                           1.3.1-1
ii  libopenal1                        1:1.14-4
ii  libpng12-0                        1.2.49-4
ii  libpostproc52                     6:0.8.7-1
ii  libpulse0                         4.0-6
ii  libsdl1.2debian                   1.2.15-6
ii  libsmbclient                      2:3.6.18-1
ii  libspeex1                         1.2~rc1-7
ii  libstdc++6                        4.8.1-2
ii  libsvga1                          1:1.4.3-33
ii  libswscale2                       6:0.8.7-1
ii  libtheora0                        1.1.1+dfsg.1-3.1
ii  libtinfo5                         5.9+20130608-1
ii  libvdpau1                         0.7-1
ii  libx11-6                          2:1.6.1-1
ii  libx264-123                       2:0.123.2189+git35cf912-1
ii  libxext6                          2:1.3.2-1
ii  libxinerama1                      2:1.1.3-1
ii  libxv1                            2:1.0.9-1
ii  libxvidcore4                      2:1.3.2-9
ii  libxvmc1                          2:1.0.8-1
ii  libxxf86dga1                      2:1.1.4-1
ii  libxxf86vm1                       1:1.1.3-1
ii  zlib1g                            1:1.2.8.dfsg-1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2                              1.0.6-5
ii  fontconfig                         2.10.2-2
ii  fonts-freefont-ttf [ttf-freefont]  20120503-1
pn  mplayer-doc                        <none>
pn  netselect | fping                  <none>
ii  ttf-freefont                       20120503-1

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list