audacity-1.3.7-0.6.beta.fc11.x86_64: Consumes lots of CPU

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
selinux
Posts: 1
Joined: Mon Apr 06, 2009 9:34 pm
Operating System: Please select

audacity-1.3.7-0.6.beta.fc11.x86_64: Consumes lots of CPU

Post by selinux » Mon Apr 06, 2009 9:44 pm

Running Fedora rawhide, audacity-1.3.7-0.6.beta.fc11.x86_64 appears to consume lots of CPU even when the application is "idle" or minimized.

If I run the following in a terminal window:

audacity & sleep 60; ps agx | grep audacity; sleep 60; ps agx | grep audacity

and if I immediately minimize the audacity window when it appears, I get the following output:

[[email protected] ~]$ audacity & sleep 60; ps agx | grep audacity; sleep 60; ps agx | grep audacity
[2] 13356
13356 pts/1 Sl 0:02 audacity
13356 pts/1 Sl 0:05 audacity

So, its consumed 3 seconds just minimized for 60 seconds.

I get the following if I run strace on it:

1239054059.931637 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
1239054059.932554 select(6, [5], [5], NULL, NULL) = 1 (out [5])
1239054059.932605 writev(5, [{"[email protected]"[email protected]"..., 1088}, {NULL, 0}, {""..., 0}], 3) = 1088
1239054059.932664 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.932702 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 23) = 0 (Timeout)
1239054059.955904 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.955961 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
1239054059.956033 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.956082 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
1239054059.957225 select(6, [5], [5], NULL, NULL) = 1 (out [5])
1239054059.957303 writev(5, [{"[email protected]"[email protected]"..., 1088}, {NULL, 0}, {""..., 0}], 3) = 1088
1239054059.957388 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.957442 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 3) = 0 (Timeout)
1239054059.960624 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.960676 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
1239054059.960756 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.960805 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
1239054059.961844 select(6, [5], [5], NULL, NULL) = 1 (out [5])
1239054059.961916 writev(5, [{"[email protected]"[email protected]"..., 1088}, {NULL, 0}, {""..., 0}], 3) = 1088
1239054059.962000 read(5, 0x16260b4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
1239054059.962053 poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 7^C <unfinished ...>
Process 13356 detached

Seems like it is much too busy.....

[If I leave the process "just minimized", it continues to eat CPU.

Here it is after about 3 more minutes:

13356 pts/1 Sl 0:33 audacity
13676 pts/1 R+ 0:00 ps agx

I've filed a Fedora bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=494425

All suggestions/help welcomed!

tom

Locked