100% cpu usage

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
george13
Posts: 82
Joined: Sat Jun 07, 2008 1:51 pm
Operating System: Please select

Re: 100% cpu usage

Post by george13 » Sun Aug 24, 2008 7:48 am

No, sorry, it's not different with today's version, really stupid. This is how it looks:
on demand 0%.png
on demand 0%.png (21.12 KiB) Viewed 2205 times

mchinen
Posts: 19
Joined: Sun Jul 27, 2008 1:33 pm
Operating System: Please select

Re: 100% cpu usage

Post by mchinen » Sun Aug 24, 2008 6:34 pm

Thanks for trying it out, george13.

This time I was able to replicate the bug on my intel mac. I was testing in debug build before, and the version you (and the rest of the world) will use is release. A classic mistake that should be done at least once a year. I fixed it on my intel mac and checked the fix in. However, I am not positive and would like verification, as the bug was caused as a race condition. Can you please check it on tomorrow's build?

george13
Posts: 82
Joined: Sat Jun 07, 2008 1:51 pm
Operating System: Please select

Re: 100% cpu usage

Post by george13 » Sun Aug 24, 2008 7:00 pm

Hi,

This is good news that you also get the bug now :D . I will try tomorrow, thanks for your efforts.

george13
Posts: 82
Joined: Sat Jun 07, 2008 1:51 pm
Operating System: Please select

Re: 100% cpu usage

Post by george13 » Tue Aug 26, 2008 7:42 am

Hmm, I tried the newest version today (http://www.audacity.homerow.net/index.p ... 6-03.15%2F) with some files and it's still the same. :(

mchinen
Posts: 19
Joined: Sun Jul 27, 2008 1:33 pm
Operating System: Please select

Re: 100% cpu usage

Post by mchinen » Tue Aug 26, 2008 6:59 pm

I tried it out on intel and g4 and it worked using that link. I have no idea what is causing on your machine, so now I'm going to have to get into paranoid remote debugging mode. If you've been using firefox, can you try quitting it when you run Audacity? Can you also verify that the build date is current?

I'll try to think of a way to replicate the bug, because without that, I can't really do anything. If you think of something in the meantime, let me know. Thanks for looking at it.

george13
Posts: 82
Joined: Sat Jun 07, 2008 1:51 pm
Operating System: Please select

Re: 100% cpu usage

Post by george13 » Tue Aug 26, 2008 8:45 pm

Hi,
I tested this version with my fresh installation of OS X, no other programs running, and it's still the same:
audacity-sample.png
audacity-sample.png (3.18 KiB) Viewed 2147 times
Maybe you can see where this happens in the source?

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: 100% cpu usage

Post by kozikowski » Tue Aug 26, 2008 10:19 pm

<<<I'll try to think of a way to replicate the bug, because without that, I can't really do anything. >>>

Without that, it's not a bug.

A bug is an unintentional, usually evil, performance of a program reproducible at will by many different people. Miss any of those conditions and it's just a machine being wacky.

Koz

mchinen
Posts: 19
Joined: Sun Jul 27, 2008 1:33 pm
Operating System: Please select

Re: 100% cpu usage

Post by mchinen » Thu Aug 28, 2008 3:38 pm

kozikowski wrote:Without that, it's not a bug.

A bug is an unintentional, usually evil, performance of a program reproducible at will by many different people. Miss any of those conditions and it's just a machine being wacky.
No, it's still a bug, just one that I couldn't produce on two of my machines. This is a bug caused by race conditions in asynchronous behavior, which means that it is a bug that will affect a certain class of computers that run with a certain speed/have a certain amount of disk usage/etc.

I was able to reproduce it on my third machine, and I fixed it. Please george13, bear with me just a little more and try it again with tonight's build. It will drive me crazy till I know I've fixed it.

george13
Posts: 82
Joined: Sat Jun 07, 2008 1:51 pm
Operating System: Please select

Re: 100% cpu usage

Post by george13 » Fri Aug 29, 2008 8:00 am

Hi mchinen,

Now it is working for me! Thank you very much! (must have been a reelly nasty bug).

waxcylinder
Forum Staff
Posts: 14577
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: 100% cpu usage

Post by waxcylinder » Fri Aug 29, 2008 8:58 am

hey mchinen, well done - a gold star for persistence and tenacity.

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

Locked