audacity crashes when trying to record

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
violinStringC
Posts: 4
Joined: Thu Aug 21, 2008 3:59 pm
Operating System: Please select

audacity crashes when trying to record

Post by violinStringC » Thu Aug 21, 2008 4:56 pm

Please could you advise me on the following problem, bearing in mind I am a novice:

I have a new system running fedora c9 with kernel 2.6.25.14-108
I have installed audacity
yum -v --nogpgcheck install audacity-1.3.2-21.fc9.x86_64
and
rpm -ivh oss-linux-v4.0-1016.x86_64.rpm
(all libraries and other pre-requisites were successfully set up).
I have an M-audio Delta-66 sound card installed with the external Omni i/o AtoD
I learnt that audacity needs OSS-Linux.
I can get Audacity to generate a chirp or tone and hear it on my headphones plugged
into the external Omni i/o box.
But when I try to record - audacity crashes with the message:

audacity: src/hostapi/oss/pa_unix_oss.c:1615: PaOSS_AudioThreadProc: Assertion `frames == framesAvail' failed.

[1]+ Aborted sudo audacity

By way of history: I separately tested OSS (osstest) and got to hear the test sound
from the headphones on the front of my PC box. (Open Source Sound has the drivers for the M-Audi Delta-66 card)
I had previously installed audacity (before installing the M-audio Delta-66 sound card and OSS-Linux) and
was able to import mp3 files and play around in audacity as expected, but now crashes with the message

audacity: src/hostapi/oss/pa_unix_oss.c:1651: PaOSS_AudioThreadProc: Assertion `frames == framesAvail' failed.

If I uninstall OSS-Linux then audacity does not know about any audio devices.
Thank You.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity crashes when trying to record

Post by steve » Thu Aug 21, 2008 5:25 pm

Have you tried running it with ALSA instead of OSS?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

violinStringC
Posts: 4
Joined: Thu Aug 21, 2008 3:59 pm
Operating System: Please select

Re: audacity crashes when trying to record

Post by violinStringC » Tue Aug 26, 2008 4:00 pm

Thank you SteveThe Fiddle

I had not tried the ALSA package. I have just gotten back to this job and have installed the ALSA-driver,
ALSA-Lib, ALSA-utils and ALSA-oss according tot he instructions found on the wiki
http://alsa.opensrc.org/index.php/Quick_Install
and all seemed to go without a hitch. However I've got stuck at step 4
<snip>
4. Loading the ALSA modules
Now insert the modules into the kernel space. [WHAT DOES THIS MEAN?]
modprobe snd-ens1371
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-seq-oss
<end snip>

Entering command modprobe, lsmod etc the commands are unknown to my fedora core 9 (kernel 2.6)
I do find files at
/etc/modprobe.conf
/etc/modprobe.d

Please advise me how to proceed before testing audacity with ALSA.

thanks.

violinStringC
Posts: 4
Joined: Thu Aug 21, 2008 3:59 pm
Operating System: Please select

Re: audacity crashes when trying to record

Post by violinStringC » Tue Aug 26, 2008 8:00 pm

Okay - I have one answer for myself - as a slightly more experienced novice - about installing modules into the linux
kernel. The modprobe is not a shell command but is located in /sbin.
thus

[[email protected] alsa-oss-1.0.17]# /sbin/modprobe snd-ens1371

generates the errors:
[[email protected] alsa-oss-1.0.17]# /sbin/modprobe snd-ens1371
FATAL: Error inserting snd_pcm (/lib/modules/2.6.25.14-108.fc9.x86_64/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
FATAL: Error inserting snd_ens1371 (/lib/modules/2.6.25.14-108.fc9.x86_64/kernel/sound/pci/snd-ens1371.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Can anyone help me here
thanks.

Locked