Page 1 of 1

Newbie question: how to get audacity to run?

Posted: Fri Nov 05, 2010 12:57 am
by lhn16425
Hello,

I compiled audacity 1.3.12. Then I tried to run it from the command line but it won't run. Below is the error message. Could someone show me or point me to a tutorial to get audacity started? Thanks (I just type ./audacity at the command prompt of my laptop, running Ubuntu 10.10. I don't have any special recording hardware or anything like that, just the laptop. I just want to see what the UI looks like first.) Do I need to disable certain things or do I need certain hardware to run this? Thanks again for the help.

-Long

[email protected]:~/audacity-1.3.12$ ./audacity
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3847
*** glibc detected *** ./audacity: malloc(): memory corruption: 0xb6c012d8 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6c501)[0x1466501]
/lib/libc.so.6(+0x6f2fc)[0x14692fc]
/lib/libc.so.6(__libc_malloc+0x63)[0x146af33]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxStringBase11AllocBufferEj+0x54)[0x74da14]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxStringBase8InitWithEPKwjj+0x4c)[0x74db0c]
/usr/lib/libwx_baseu-2.8.so.0(_ZNK12wxStringBase4findEPKwjj+0x34)[0x74f944]
/usr/lib/libwx_baseu-2.8.so.0(_ZN8wxString7ReplaceEPKwS1_b+0xf6)[0x751046]
./audacity(_ZN6Effect14StripAmpersandERK8wxString+0x3f)[0x82b92a7]
./audacity(_ZN13EffectManager14RegisterEffectEP6Effecti+0x66)[0x82bd72e]
./audacity(_Z11LoadEffectsv+0x30e)[0x82c458e]
./audacity(_ZN11AudacityApp6OnInitEv+0x7a3)[0x8187b13]
./audacity(_ZN12wxAppConsole10CallOnInitEv+0x18)[0x818a760]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x70)[0x72b6b0]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPc+0x37)[0x72b8b7]
./audacity(main+0x1b)[0x8186c8c]
/lib/libc.so.6(__libc_start_main+0xe7)[0x1410ce7]
./audacity[0x817c8b1]
======= Memory map: ========
00110000-001f1000 r-xp 00000000 08:05 1187407 /usr/lib/libwx_gtk2u_richtext-2.8.so.0.7.0
001f1000-001f2000 ---p 000e1000 08:05 1187407 /usr/lib/libwx_gtk2u_richtext-2.8.so.0.7.0
001f2000-001f8000 r--p 000e1000 08:05 1187407 /usr/lib/libwx_gtk2u_richtext-2.8.so.0.7.0
001f8000-001f9000 rw-p 000e7000 08:05 1187407 /usr/lib/libwx_gtk2u_richtext-2.8.so.0.7.0
001f9000-001fb000 rw-p 00000000 00:00 0
001fb000-00286000 r-xp 00000000 08:05 1187410 /usr/lib/libwx_gtk2u_xrc-2.8.so.0.7.0
00286000-00289000 r--p 0008b000 08:05 1187410 /usr/lib/libwx_gtk2u_xrc-2.8.so.0.7.0
00289000-0028a000 rw-p 0008e000 08:05 1187410 /usr/lib/libwx_gtk2u_xrc-2.8.so.0.7.0
0028a000-0028b000 rw-p 00000000 00:00 0
0028b000-005a5000 r-xp 00000000 08:05 1187396 /usr/lib/libwx_gtk2u_core-2.8.so.0.7.0
005a5000-005cc000 r--p 00319000 08:05 1187396 /usr/lib/libwx_gtk2u_core-2.8.so.0.7.0
005cc000-005d1000 rw-p 00340000 08:05 1187396 /usr/lib/libwx_gtk2u_core-2.8.so.0.7.0
005d1000-005d7000 rw-p 00000000 00:00 0
005d7000-005df000 r-xp 00000000 08:05 1181887 /usr/lib/libwx_baseu_xml-2.8.so.0.7.0
005df000-005e0000 r--p 00008000 08:05 1181887 /usr/lib/libwx_baseu_xml-2.8.so.0.7.0
005e0000-005e1000 rw-p 00009000 08:05 1181887 /usr/lib/libwx_baseu_xml-2.8.so.0.7.0
005e1000-0060a000 r-xp 00000000 08:05 1179916 /usr/lib/libwx_baseu_net-2.8.so.0.7.0
0060a000-0060b000 ---p 00029000 08:05 1179916 /usr/lib/libwx_baseu_net-2.8.so.0.7.0
0060b000-0060c000 r--p 00029000 08:05 1179916 /usr/lib/libwx_baseu_net-2.8.so.0.7.0
0060c000-0060d000 rw-p 0002a000 08:05 1179916 /usr/lib/libwx_baseu_net-2.8.so.0.7.0
0060d000-006a1000 r-xp 00000000 08:05 1179329 /usr/lib/libgdk-x11-2.0.so.0.2200.0
006a1000-006a3000 r--p 00094000 08:05 1179329 /usr/lib/libgdk-x11-2.0.so.0.2200.0
006a3000-006a4000 rw-p 00096000 08:05 1179329 /usr/lib/libgdk-x11-2.0.so.0.2200.0
006a4000-006ae000 r-xp 00000000 08:05 1179700 /usr/lib/libpangocairo-1.0.so.0.2800.1
006ae000-006af000 r--p 00009000 08:05 1179700 /usr/lib/libpangocairo-1.0.so.0.2800.1
006af000-006b0000 rw-p 0000a000 08:05 1179700 /usr/lib/libpangocairo-1.0.so.0.2800.1
006b1000-006b2000 r-xp 00000000 00:00 0 [vdso]
006b2000-007ea000 r-xp 00000000 08:05 1178834 /usr/lib/libwx_baseu-2.8.so.0.7.0
007ea000-007eb000 ---p 00138000 08:05 1178834 /usr/lib/libwx_baseu-2.8.so.0.7.0
007eb000-007ef000 r--p 00138000 08:05 1178834 /usr/lib/libwx_baseu-2.8.so.0.7.0
007ef000-007f1000 rw-p 0013c000 08:05 1178834 /usr/lib/libwx_baseu-2.8.so.0.7.0
007f1000-007f9000 rw-p 00000000 00:00 0
007f9000-00811000 r-xp 00000000 08:05 1179102 /usr/lib/libatk-1.0.so.0.3209.1
00811000-00812000 ---p 00018000 08:05 1179102 /usr/lib/libatk-1.0.so.0.3209.1
00812000-00813000 r--p 00018000 08:05 1179102 /usr/lib/libatk-1.0.so.0.3209.1
00813000-00814000 rw-p 00019000 08:05 1179102 /usr/lib/libatk-1.0.so.0.3209.1
00814000-0082b000 r-xp 00000000 08:05 1179331 /usr/lib/libgdk_pixbuf-2.0.so.0.2200.0
0082b000-0082c000 r--p 00017000 08:05 1179331 /usr/lib/libgdk_pixbuf-2.0.so.0.2200.0
0082c000-0082d000 rw-p 00018000 08:05 1179331 /usr/lib/libgdk_pixbuf-2.0.so.0.2200.0
0082d000-00850000 r-xp 00000000 08:05 654229 /lib/libpng12.so.0.44.0
00850000-00851000 r--p 00022000 08:05 654229 /lib/libpng12.so.0.44.0
00851000-00852000 rw-p 00023000 08:05 654229 /lib/libpng12.so.0.44.0
00852000-00891000 r-xp 00000000 08:05 1179698 /usr/lib/libpango-1.0.so.0.2800.1
00891000-00892000 ---p 0003f000 08:05 1179698 /usr/lib/libpango-1.0.so.0.2800.1
00892000-00893000 r--p 0003f000 08:05 1179698 /usr/lib/libpango-1.0.so.0.2800.1
00893000-00894000 rw-p 00040000 08:05 1179698 /usr/lib/libpango-1.0.so.0.2800.1
00894000-008c2000 r-xp 00000000 08:05 1179289 /usr/lib/libfontconfig.so.1.4.4
008c2000-008c3000 r--p 0002d000 08:05 1179289 /usr/lib/libfontconfig.so.1.4.4
008c3000-008c4000 rw-p 0002e000 08:05 1179289 /usr/lib/libfontconfig.so.1.4.4
008c4000-008c6000 r-xp 00000000 08:05 1179363 /usr/lib/libgmodule-2.0.so.0.2600.0
008c6000-008c7000 r--p 00002000 08:05 1179363 /usr/lib/libgmodule-2.0.so.0.2600.0
008c7000-008c8000 rw-p 00003000 08:05 1179363 /usr/lib/libgmodule-2.0.so.0.2600.0
008c8000-008cb000 r-xp 00000000 08:05 1179471 /usr/lib/libgthread-2.0.so.0.2600.0
008cb000-008cc000 r--p 00003000 08:05 1179471 /usr/lib/libgthread-2.0.so.0.2600.0
008cc000-008cd000 rw-p 00004000 08:05 1179471 /usr/lib/libgthread-2.0.so.0.2600.0
008cd000-008d4000 r-xp 00000000 08:05 654201 /lib/librt-2.12.1.so
008d4000-008d5000 r--p 00006000 08:05 654201 /lib/librt-2.12.1.so
008d5000-008d6000 rw-p 00007000 08:05 654201 /lib/librt-2.12.1.so
008d6000-008d8000 r-xp 00000000 08:05 654189 /lib/libdl-2.12.1.so
008d8000-008d9000 r--p 00001000 08:05 654189 /lib/libdl-2.12.1.so
008d9000-008da000 rw-p 00002000 08:05 654189 /lib/libdl-2.12.1.so
008da000-008dc000 r-xp 00000000 08:05 1179051 /usr/lib/libXinerama.so.1.0.0
008dc000-008dd000 r--p 00001000 08:05 1179051 /usr/lib/libXinerama.so.1.0.0
008dd000-008de000 rw-p 00002000 08:05 1179051 /usr/lib/libXinerama.so.1.0.0
008de000-008fa000 r-xp 00000000 08:05 654133 /lib/ld-2.12.1.so
008fa000-008fb000 r--p 0001b000 08:05 654133 /lib/ld-2.12.1.so
008fb000-008fc000 rw-p 0001c000 08:05 654133 /lib/ld-2.12.1.so
008fc000-0093c000 r-xp 00000000 08:05 1179399 /usr/lib/libgobject-2.0.so.0.2600.0
0093c000-0093d000 r--p 00040000 08:05 1179399 /usr/lib/libgobject-2.0.so.0.2600.0
0093d000-0093e000 rw-p 00041000 08:05 1179399 /usr/lib/libgobject-2.0.so.0.2600.0
0093e000-00962000 r-xp 00000000 08:05 658077 /lib/libm-2.12.1.so
00962000-00963000 r--p 00023000 08:05 658077 /lib/libm-2.12.1.so
00963000-00964000 rw-p 00024000 08:05 658077 /lib/libm-2.12.1.so
00966000-00981000 r-xp 00000000 08:05 1187406 /usr/lib/libwx_gtk2u_qa-2.8.so.0.7.0
00981000-00983000 r--p 0001a000 08:05 1187406 /usr/lib/libwx_gtk2u_qa-2.8.so.0.7.0
00983000-00984000 rw-p 0001c000 08:05 1187406 /usr/lib/libwx_gtk2u_qa-2.8.so.0.7.0
00984000-009f6000 r-xp 00000000 08:05 1192520 /usr/lib/libfreetype.so.6.6.0
009f6000-009fa000 r--p 00071000 08:05 1192520 /usr/lib/libfreetype.so.6.6.0
009fa000-009fb000 rw-p 00075000 08:05 1192520 /usr/lib/libfreetype.so.6.6.0Aborted
[email protected]:~/audacity-1.3.12$

Re: Newbie question: how to get audacity to run?

Posted: Fri Nov 05, 2010 1:58 am
by steve
Does Audacity 1.3.12 from the Ubuntu repository run on your machine?

Re: Newbie question: how to get audacity to run?

Posted: Fri Nov 05, 2010 3:28 am
by bgravato
Did you try installing the Audacity package on Ubuntu before compiling from source?

Re: Newbie question: how to get audacity to run?

Posted: Fri Nov 05, 2010 3:50 pm
by lhn16425
Hi guys,

Thanks for replying. I did not install audacity on my laptop. I got rid of the bluetooth errors by purging package bluez-alsa from my laptop (it's not bluetooth-capable anyway). The only error left is this:

Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3847
(plus the memory trace output)

Re: Newbie question: how to get audacity to run?

Posted: Fri Nov 05, 2010 4:23 pm
by bgravato
Why don't you try first to install ubuntu's pre-compiled audacity package and see if that works?

From the command line: sudo apt-get install audacity
Or use your favourite graphical package manager, such as synaptic or other...