Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171300 - media-sound/esound-2.37 - esound-esd uses 100% CPU
Summary: media-sound/esound-2.37 - esound-esd uses 100% CPU
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 03:06 UTC by Vladimir G. Ivanovic
Modified: 2009-12-19 09:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,12.79 KB, text/plain)
2007-03-18 03:06 UTC, Vladimir G. Ivanovic
Details
emerge--info for 0.2.41 (info,3.93 KB, text/plain)
2009-12-19 09:07 UTC, Vitaly A. Repin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir G. Ivanovic 2007-03-18 03:06:10 UTC
esound-2.37 compiles and installs, but then goes into an
infinite loop using up 100% of the CPU (not immediately, but---
unsure---after some sound is played.) The strace output looks like
(repeated ad nauseum):

select(18, [3 4 5 6 7 8 9 10 11 12 13 14 15 16 17], NULL, NULL, {0,
11000}) = 1 (in [17], left {0, 11000})
accept(3, 0x7fffa751c3f0, [28])         = -1 EAGAIN (Resource
temporarily unavailable)
select(17, [16], NULL, NULL, {0, 0})    = 0 (Timeout)
select(16, [15], NULL, NULL, {0, 0})    = 0 (Timeout)
select(15, [14], NULL, NULL, {0, 0})    = 0 (Timeout)
select(14, [13], NULL, NULL, {0, 0})    = 0 (Timeout)
select(13, [12], NULL, NULL, {0, 0})    = 0 (Timeout)
select(12, [11], NULL, NULL, {0, 0})    = 0 (Timeout)
select(11, [10], NULL, NULL, {0, 0})    = 0 (Timeout)
select(10, [9], NULL, NULL, {0, 0})     = 0 (Timeout)
select(8, [7], NULL, NULL, {0, 0})      = 0 (Timeout)
select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)
select(9, [8], NULL, NULL, {0, 0})      = 0 (Timeout)
select(6, [5], NULL, NULL, {0, 0})      = 0 (Timeout)
select(5, [4], NULL, NULL, {0, 0})      = 0 (Timeout)
select(18, [17], NULL, NULL, {0, 0})    = 1 (in [17], left {0, 0})
read(17, "", 2048)                      = 0
Comment 1 Vladimir G. Ivanovic 2007-03-18 03:06:33 UTC
Created attachment 113613 [details]
emerge --info
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-22 20:23:11 UTC
Okay, fixed with -r1.
Comment 3 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-04-12 16:49:59 UTC
I am still seeing excessive CPU usage and blocking operations due to esd, from esound. When I first log into my ~arch work stations. The session hangs just after starting esd, and remains hung till I kill esd. 0.2.36 does not exhibit this behavior. Not sure if it's the same problem as in this bug or another. Or if this bug should be re-opened or not. Let me know what info you would like from me to help determine the cause and a resolution. Thanks
Comment 4 Vladimir G. Ivanovic 2007-04-19 20:45:41 UTC
FYI: -r1 works for me.
Comment 5 Vitaly A. Repin 2009-12-19 09:06:03 UTC
I have the same with 0.2.41:

select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
time(NULL)                              = 1261213440
time(NULL)                              = 1261213440
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
time(NULL)                              = 1261213440
time(NULL)                              = 1261213440
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
time(NULL)                              = 1261213440
time(NULL)                              = 1261213440
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)

Comment 6 Vitaly A. Repin 2009-12-19 09:07:09 UTC
Created attachment 213455 [details]
emerge--info for 0.2.41

The same storyu as was reported originally