Jump to content

Audacity crashes


banjo
 Share

Recommended Posts

Well, I almost got there with my recording project.

 

I am trying to record from line-in into Audacity so that I

can capture some recordings that I have made.

 

I can record OK if I just run Audacity and then start

recording, but the preferences default to monaural.

 

When I set the preferences to stereo, and then click

on OK, Audacity crashes with a Segmentation Fault.

 

In fact, any time I display the Preferences dialog and then

click on OK, without even touching anything in the

dialog, Audacity crashes with a Segmentation Fault.

 

I uninstalled Audacity and then reinstalled it with no

effect.

 

Anybody have a clue why this might be happening?

 

Or, if not, is there a recording application out there that

actually works? This is really getting frustrating.

 

Thanks in advance

Banjo

(_)=='=~

Link to comment
Share on other sites

Well, here I am answering my own question again.

 

D'oh

 

Since Audacity was crashing while setting its preferences,

I found the .Audacity file and opened it in vi and made

the changes manually. Then, when I ran Audacity again

it came up with the settings I wanted.

 

I managaged to record from line-in using stereo and

life is good. The program works fine for that.

 

I would still like to get properties working, but for now

it is set up the way I need it. Maybe tomorrow I will go

in and blow away the .Audacity file to see if it can fix

itself and create a new one. But for tonight, my brain

is fried.

 

Linux rocks!

 

Banjo

(_)=='=~

Edited by banjo
Link to comment
Share on other sites

I continue to slog along trying to make Audacity behave.

 

I went back in tonight and blew away the .Audacity config

file and then ran the program again.

 

Audacity came up, and reinitialized itself and

I could display the preferences dialog, set my

preferences, and close it fine. I displayed the

dialog box several times and it was working as expected.

 

Then, I shut down the program and started it up again.

 

Now, every time I display the preferences dialog and

click on OK the program crashes. If I click on Cancel it

keeps running, so something is going wrong trying to

write to that file.

 

I am very confused.

 

I forge onward.

 

Banjo

(_)=='=~

Link to comment
Share on other sites

In an effort to understand what is going on with my

Audacity, I downloaded the source code for 1.1.1-3

and took a look at it.

 

It appears that the preferences are being written out

by the write() method of a wxConfig class. So it is

probably crashing in there somewhere... (null pointer?)

 

Here is where it gets interesting. The program is using

classes from wxWindows, which is a set of platform

independent C++ classes used to build GUI apps........

which is built on top of GTK+, which is a set of platform

independent classes used to build GUI apps........

which......

 

So, the application itself seems to be several portability

layers removed from where the actual work is done, and

finding where the problem actually occurs could be a bit dicey.

 

Anyway, as a backup app. I downloaded GramoFile, which

is based on curses (remember that? .... yee haw)

and I compiled it and ran it and it runs. It's ugly, but

it runs. I was able to record from my microphone directly

into a .wav file.

 

Where there is a will, there is a way.

 

Is nobody else using Audacity? Pity. Seems like a nice app.

if I can get it to stop crashing.

 

I seem to be talking to myself on this topic :lol2: so

if anybody wants me to just shut up, let me know and

I will take it offline. I'm just sitting here playing with my

mental blocks. :cheeky:

 

Linux rocks!

 

Thanks

Banjo

(_)=='=~

Link to comment
Share on other sites

I seem to be talking to myself on this topic  :lol2:  so

if anybody wants me to just shut up, let me know and

I will take it offline. I'm just sitting here playing with my

mental blocks.  :cheeky:

Don't be discouraged - at least you're providing a clear path for those who may follow you... bike.gif

 

On an unrelated point - why do you have such wide margins? :huh:

Link to comment
Share on other sites

You mean, why the vertical format?

 

I just got tired of having the wimpy forms

on mailers like Yahoo etc. breaking my

lines in ugly places....yuk.

 

So, I go ahead and type a nice looking

line

and the mailer form breaks it at stupid

places

and makes it look like this paragraph.

And

then sometimes I go ahead and enter the

text

with no returns and the stupid mailers will

not break the line at all and I have to

read

the line using the scrollbar at the bottom.

 

So, I just got into the habit it typing teensy

weensy little short lines that fit inside of

the form. Maybe this form is a bit more

friendly.

 

:screwy: call me crazy.

 

Back on topic.... part of the reason that I am pursuing

this is to figure out how all of this hangs together

so that I understand why I fall so often into Dependency

Hell and how to get out of it once there.

 

I tried to build Audacity 1.2.2 last night and I didn't

even get through ./config before it choked. Seems

I need a wx_config or something that it could not

find. Probably a development kit piece that I don't

have. That is what precipitated my descent into

source code and the wxWindows and GTK+ recursion.

 

Banjo

(_)=='=~

Edited by banjo
Link to comment
Share on other sites

  • 1 year later...

Banjo,

 

Any updates? Have you got Audacity working yet?

 

I've been following this thread, hoping you would post a fix. I'm trying to get it working also, and no luck. I joined the Audacity forum. It seems you need to run Audacity on a lot of distros using aoss, this is a oss wrapper. I installed it on my Mandriva 2006 system, but no music yet. I can load a wave file, and soon as I press play, it crashes. All I get in the lauch window id:

 

PaHost_WatchDogProc: cannot set watch dog priority!

PaHost_WatchDogProc: killing hung audio thread!

Killed

 

This is after I launch Audacity with command 'aoss audacity' load a wave file, and press play.

 

Sound on my system works for other apps. I disabled System Sounds. Seems Audacity can not live with that enabled on lots of systems.

 

Well, I'll keep plugging away, hope someone out there can post success with a working config, or give us some idea on how to trouble shoot this mess...

Link to comment
Share on other sites

Well, here I am answering my own question again

 

:D yeah, I had a thread about capturing video with kino and a digital camera... I was just talking to myself for several days.... but I got it fixed ...

 

so did you get audacity fixed? I want to try it out also.

Link to comment
Share on other sites

This is really an old thread, but anyway...

Audacity 1.2.4 runs fine here, no matter if I use ALSA or OSS, or if artsd is enabled or not.

The most annoying thing about it is that it *still* does not support unicode, which is unacceptable for a modern application.

Link to comment
Share on other sites

Check Your card on the basis of SBLive!

from console

amixer scontrols ##search

amixer set Line Record unmute

amixer set Capture 40%

amixer set AC97 40%

arecord -t wav -f cd -d 10 -Dplug:dsnoop demo.wav

-f format cd audio

-d duration in sec.

-D device ##for cheap cards

 

aplay -Dplug:dmix demo.wav

for help run amixer -L

If played? run Audacity....Lex

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...