Memory bug in SuSE Audacity 2.0.3-80.7.i586 package
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Memory bug in SuSE Audacity 2.0.3-80.7.i586 package
I just registered. I have used Audacity in the past mainly for digitizing albums without much problem. I am however on another project, to digitize another 300 or so albums. I am running SuSE-12.3 and have their audacity-2.0.3-80.7.i586 installed. The recording process is complete and the only issue I had in that process, with audacity, was sometimes while recording, and stopped as opposed to paused, between album sides, the append record, (shift/record) did not work when I started the other side. My recording hardware was an OLD Pioneer Spec system, tape out to an RME ADI-2 AD/DA to an Asus Zonar digital input in the computer.
My real problems are now doing the editing and splitting of the album tracks. I quite frequently get audacity freezes. Actually, I have not been able to completely process a single album without a hangup of audacity somewhere in the process. It's to the point that I'm not even using a "project" because I can't trust it. I have my single WAV file containing a single album. Before I import it, I insure I have a backup of it. My current process is then, import, clean the font, middle, and end. Remove any DC offset. Then manually look for pops and clicks by magnifying/search/listen/remove. I then export that to another WAV file. Often, one of those steps will result in a hangup of audacity. Sometimes while manually searching for clicks, sometimes saving it back to another WAV. If I get through that without a hangup and don't completely exit and restart before the next step, it will certainly hang in the next steps somewhere, every time. Those next steps are to simply re-import that new WAV, apply a little EQU, amplify, then export, again as another WAV file. Often, during one of those 3 things in that step, a hang will occur. By hang, I mean audacity has %100 of a CPU and never responds to me again. I have to "kill -9" it. I read of the "known issues" with this release and can't help but think the problems I'm having may be related to one or more of those. I really just don't know though. Obviously, I cannot process these 300+ albums like this. Since I am committed to completing this project, I would certainly would be willing to do most anything asked of me to help me or the audacity team resolve the issues I am seeing. I am somewhat Linux savy. I have downloaded and built it from source. I have not actually tried using the result yet. I maintain all my employers Linux kernel drivers and work on some other Linux projects. I am only a C guy though.
I do have some other issues but I'll research more and worry about them once I have a hang free audacity. They are mainly in the TAGS/TAGS dialog box area.
Thanks in advance
Mark
My real problems are now doing the editing and splitting of the album tracks. I quite frequently get audacity freezes. Actually, I have not been able to completely process a single album without a hangup of audacity somewhere in the process. It's to the point that I'm not even using a "project" because I can't trust it. I have my single WAV file containing a single album. Before I import it, I insure I have a backup of it. My current process is then, import, clean the font, middle, and end. Remove any DC offset. Then manually look for pops and clicks by magnifying/search/listen/remove. I then export that to another WAV file. Often, one of those steps will result in a hangup of audacity. Sometimes while manually searching for clicks, sometimes saving it back to another WAV. If I get through that without a hangup and don't completely exit and restart before the next step, it will certainly hang in the next steps somewhere, every time. Those next steps are to simply re-import that new WAV, apply a little EQU, amplify, then export, again as another WAV file. Often, during one of those 3 things in that step, a hang will occur. By hang, I mean audacity has %100 of a CPU and never responds to me again. I have to "kill -9" it. I read of the "known issues" with this release and can't help but think the problems I'm having may be related to one or more of those. I really just don't know though. Obviously, I cannot process these 300+ albums like this. Since I am committed to completing this project, I would certainly would be willing to do most anything asked of me to help me or the audacity team resolve the issues I am seeing. I am somewhat Linux savy. I have downloaded and built it from source. I have not actually tried using the result yet. I maintain all my employers Linux kernel drivers and work on some other Linux projects. I am only a C guy though.
I do have some other issues but I'll research more and worry about them once I have a hang free audacity. They are mainly in the TAGS/TAGS dialog box area.
Thanks in advance
Mark
Re: possibly experiencing "2.0.3 known issues" random pgm fr
By far the most common reason that I experience Audacity freezing is PulseAudio. I don't think that this would explain 100% CPU usage, but it is certainly something to eliminate before looking deeper.
Assuming that you are using ALSA host: In the Device Toolbar, set the recording and playback devices explicitly to use your hardware device (hw:0,0) or whatever it is. This will bypass PulseAudio and use the hardware directly via ALSA. Of course it is then essential that no other applications are accessing the device or you will get "Error while opening sound device" or a related error.
Assuming that you are using ALSA host: In the Device Toolbar, set the recording and playback devices explicitly to use your hardware device (hw:0,0) or whatever it is. This will bypass PulseAudio and use the hardware directly via ALSA. Of course it is then essential that no other applications are accessing the device or you will get "Error while opening sound device" or a related error.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: possibly experiencing "2.0.3 known issues" random pgm fr
It is set to spdif: Line:0. This is happening while the sound device (in or out) is not even being used.
mark
mark
Re: possibly experiencing "2.0.3 known issues" random pgm fr
Looking at the 2.0.3 release notes, the following are listed as possible "freeze" issues:
Files containing PCM audio but misnamed as MP3 cause a freeze or crash if an Extended Import rule is set in Preferences to force import of MP3 files using the MP3 importer.
(Linux) After opening a sufficiently long audio file, opening a second file of any size leads to locked GUI/console messages until first file completes play.
Audacity may freeze if using the Nero AAC encoder to export via (external program).
(Linux) In projects containing several hundred labels or more, Audacity will freeze on 100% CPU when opening the "Audacity Karaoke" window, and will freeze again while that window is open when editing a label or performing other actions on the project. Workaround: Open or place an empty label track above the one you want to use.
(Linux) If pulseaudio is used as the audio device, repeatedly starting and stopping playback or recording in quick succession (or holding down the Play or Record button) may lead to a freeze. Workaround: bypass pulseaudio by setting the playback and recording device to an ALSA/hw choice in Device Toolbar.
On Mac, Audacity may freeze if JACK is launched by QjackCtl then Audacity is launched. Workaround: Use JackPilot to launch JACK, or launch QJackCtrl after Audacity and JACK are running.
Importing WAV or AIFF files (possibly those created by Audacity) may cause a freeze or a crash. After this occurs, Audacity may become destabilized and crash again even without importing further files. It is believed to mostly affect Intel Mac machines and to be caused by memory corruption. Workaround: Reboot the computer.
Do any of those look like they fit?
Files containing PCM audio but misnamed as MP3 cause a freeze or crash if an Extended Import rule is set in Preferences to force import of MP3 files using the MP3 importer.
(Linux) After opening a sufficiently long audio file, opening a second file of any size leads to locked GUI/console messages until first file completes play.
Audacity may freeze if using the Nero AAC encoder to export via (external program).
(Linux) In projects containing several hundred labels or more, Audacity will freeze on 100% CPU when opening the "Audacity Karaoke" window, and will freeze again while that window is open when editing a label or performing other actions on the project. Workaround: Open or place an empty label track above the one you want to use.
(Linux) If pulseaudio is used as the audio device, repeatedly starting and stopping playback or recording in quick succession (or holding down the Play or Record button) may lead to a freeze. Workaround: bypass pulseaudio by setting the playback and recording device to an ALSA/hw choice in Device Toolbar.
On Mac, Audacity may freeze if JACK is launched by QjackCtl then Audacity is launched. Workaround: Use JackPilot to launch JACK, or launch QJackCtrl after Audacity and JACK are running.
Importing WAV or AIFF files (possibly those created by Audacity) may cause a freeze or a crash. After this occurs, Audacity may become destabilized and crash again even without importing further files. It is believed to mostly affect Intel Mac machines and to be caused by memory corruption. Workaround: Reboot the computer.
Do any of those look like they fit?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: possibly experiencing "2.0.3 known issues" random pgm fr
Actually,
Importing WAV or AIFF files (possibly those created by Audacity) may cause a freeze or a crash. After this occurs, Audacity may become destabilized and crash again even without importing further files. It is believed to mostly affect Intel Mac machines and to be caused by memory corruption. Workaround: Reboot the computer.
sort of fits. The first sentence matches? The rest, not so much. It has happened during an import, but never an import immediately after starting audacity. On the imports that hung, it had been up and some work had been previously done. Such as an export etc...
Oh, and I misspoke in my last reply. I cannot change it from ALSA as it gives me no other choice? But I am not playing anything during %99 of the hangs.
One other thing I did notice, not sure if you are familiar with xosview, but watching it is where I saw my CPU usage at %100 (confirmed with top). It also shows MUCH paging going on during operations over the whole album, like declicking, etc... Don't know if that means anything or not but I never ever see this happening during normal usage of the computer. Only while using audacity?
mark
mark
Importing WAV or AIFF files (possibly those created by Audacity) may cause a freeze or a crash. After this occurs, Audacity may become destabilized and crash again even without importing further files. It is believed to mostly affect Intel Mac machines and to be caused by memory corruption. Workaround: Reboot the computer.
sort of fits. The first sentence matches? The rest, not so much. It has happened during an import, but never an import immediately after starting audacity. On the imports that hung, it had been up and some work had been previously done. Such as an export etc...
Oh, and I misspoke in my last reply. I cannot change it from ALSA as it gives me no other choice? But I am not playing anything during %99 of the hangs.
One other thing I did notice, not sure if you are familiar with xosview, but watching it is where I saw my CPU usage at %100 (confirmed with top). It also shows MUCH paging going on during operations over the whole album, like declicking, etc... Don't know if that means anything or not but I never ever see this happening during normal usage of the computer. Only while using audacity?
mark
mark
Re: possibly experiencing "2.0.3 known issues" random pgm fr
How much free RAM do you have?
Are you working in just one Audacity project at a time (one window) and one album (less than an hour of audio)?
What sample rate do you use?
Are you working in just one Audacity project at a time (one window) and one album (less than an hour of audio)?
What sample rate do you use?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: possibly experiencing "2.0.3 known issues" random pgm fr
The machine is running 32 bit mode and has 4GB ram. I never see any swap used.
Mark
Mark
Re: possibly experiencing "2.0.3 known issues" random pgm fr
"Are you working in just one Audacity project at a time (one window) and one album (less than an hour of audio)?
What sample rate do you use?"
Yes, one album at a time. I am using 96000
Mark
What sample rate do you use?"
Yes, one album at a time. I am using 96000
Mark
Re: possibly experiencing "2.0.3 known issues" random pgm fr
It's probably time to give your home-brew version a whirl.
If you find the problem persists, keep a note of exactly what you were doing at the time - if we can spot a pattern it may give a clue as to what is going on, but at the moment nothing stands out to account for it.
If you find the problem persists, keep a note of exactly what you were doing at the time - if we can spot a pattern it may give a clue as to what is going on, but at the moment nothing stands out to account for it.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: possibly experiencing "2.0.3 known issues" random pgm fr
OK, I'll do that in the morning. First though, I'll go ahead and add another 4GB to the box. The kernel I'm running has HIGHMEM enabled so maybe??.
mark
mark