Package: mpd
Version: 0.12.1-1.1
Severity: normal
Hello,
sometimes I see one of mpd processes eating 2..3 percents of my
amd64-3500+'s CPU time. This is _not_ ok, because this process is
apparently doing nothing but:
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
which looks unsound. If the upstream authors are abusing select in
favour of usleep/nanosleep or pthread_cond_wait then they should better
start using the right thing. If not, then there is most likely a bug,
otherwise I see no point in calling select on 0 file handles. And "busy
waiting" is bad design anyway.
I have not looked at the source, though.
Eduard.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages mpd depends on:
ii adduser 3.102 Add and remove users and groups
ii libao2 0.8.6-4 Cross Platform Audio Output Librar
ii libasound2 1.0.13-1 ALSA library
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libflac7 1.1.2-6 Free Lossless Audio Codec - runtim
ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M
ii libmad0 0.15.1b-2.1 MPEG audio decoder library
ii libmikmod2 3.1.11-a-6 A portable sound library
ii libmpcdec3 1.2.2-1 Musepack (MPC) format library
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libshout3 2.2.2-1 MP3/Ogg Vorbis broadcast streaming
ii libspeex1 1.1.12-3 The Speex Speech Codec
ii libtheora0 0.0.0.alpha7.dfsg-2 The Theora Video Compression Codec
ii libvorbis0a 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii libvorbisenc2 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii libvorbisfile3 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii zlib1g 1:1.2.3-13 compression library - runtime
mpd recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]