Software versions: kernel 2.6.2-gentoo-r1 with alsa alsa-driver 0.9.8 kde 3.2.0 when KDE starts artsd under user vk, it eats a lot of CPU resources even without playing any sounds. Reproducible: Always Steps to Reproduce: I emerged kde 3.2 and kernel 2.6.2 nearly at the same time. So, I can't find out where the problem is. When I had kde 3.1.5 and kernel 2.6.1, it didn't happen Actual Results: start Noatune play some mp3 file artsd eats 70-80% of CPU resources Expected Results: >90% idle of CPU artsd processes in the process list: ------------- cut -------------------- 4306 ? S 2:16 /usr/kde/3.2/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f 4316 ? S 0:00 /usr/kde/3.2/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f 4317 ? S 0:01 /usr/kde/3.2/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f --------------- end cut -------------- I attached debugger, pressed many times Ctrl-C, then continue trying to find an execution place. --------------- cut -------------------- vk@gfive vk $ gdb /usr/kde/3.2/bin/artsd 4306 GNU gdb 5.3 ... skipped [New Thread 16384 (LWP 4306)] [New Thread 32769 (LWP 4316)] [New Thread 16386 (LWP 4317)] ... skipped 0x415f6861 in select () from /lib/libc.so.6 (gdb) bt #0 0x415f6861 in select () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGSTOP, Stopped (signal). [Switching to Thread 16384 (LWP 4306)] 0x415f6861 in select () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x415f6861 in select () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x415f6861 in select () from /lib/libc.so.6 (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x415f6014 in ioctl () from /lib/libc.so.6 (gdb) bt #0 0x415f6014 in ioctl () from /lib/libc.so.6 #1 0x401ef3d4 in typeinfo for GslArtsThread () from /usr/kde/3.2/lib/libartsflow.so.1 #2 0x08072e9c in std::string::_S_empty_rep_storage () #3 0x0808b8cc in ?? () #4 0x0808a770 in ?? () ------------- end cut ---------------- list of opened files ----------- cut ------- vk@gfive fd $ pwd /proc/4306/fd vk@gfive fd $ ls -al total 16 dr-x------ 2 vk users 0 Feb 17 17:03 . dr-xr-xr-x 3 vk users 0 Feb 17 17:03 .. lr-x------ 1 vk users 64 Feb 17 17:03 0 -> /dev/null l-wx------ 1 vk users 64 Feb 17 17:03 1 -> /home/vk/.xsession-errors lrwx------ 1 vk users 64 Feb 17 17:03 10 -> socket:[6651] lr-x------ 1 vk users 64 Feb 17 17:04 11 -> pipe:[6714] l-wx------ 1 vk users 64 Feb 17 17:04 12 -> pipe:[6714] lr-x------ 1 vk users 64 Feb 17 17:04 13 -> /home/vk/What_can_I_do.mp3 l-wx------ 1 vk users 64 Feb 17 17:04 14 -> /dev/sound/dsp lrwx------ 1 vk users 64 Feb 17 17:24 15 -> socket:[6739] l-wx------ 1 vk users 64 Feb 17 17:03 2 -> /home/vk/.xsession-errors lr-x------ 1 vk users 64 Feb 17 17:03 3 -> pipe:[6638] lrwx------ 1 vk users 64 Feb 17 17:03 4 -> socket:[6635] l-wx------ 1 vk users 64 Feb 17 17:03 5 -> pipe:[6638] lrwx------ 1 vk users 64 Feb 17 17:03 6 -> socket:[6639] lr-x------ 1 vk users 64 Feb 17 17:03 7 -> pipe:[6642] l-wx------ 1 vk users 64 Feb 17 17:03 8 -> pipe:[6642] l-wx------ 1 vk users 64 Feb 17 17:03 9 -> socket:[6712] -----------end cut ------- I tried to set/unset suid flag on artswrapper, no difference.
It's a kernel bug - read the forums for suggestions on how to fix.