Hello everyone,
I was trying to run audacity after being installed from packman repository (I’m using openSUSE tumbleweed with kernel 3.3.4 and a m-audio audiophile usb as sound card) and I got the following error:
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3857
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1035
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1192
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1433
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2105
audacity: mask_inline.h:160: snd_mask_leave: Assertion `val <= 64' failed.
Aborted
After this,I tried from the tarball and I got the same text except it doesn’t appear the following:
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
I tried with gdb and I got this backtrace:
Program received signal SIGABRT, Aborted.
0x00007ffff1fe2d95 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff1fe2d95 in raise () from /lib64/libc.so.6
#1 0x00007ffff1fe42ab in abort () from /lib64/libc.so.6
#2 0x00007ffff1fdb8fe in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffff1fdb9a2 in __assert_fail () from /lib64/libc.so.6
#4 0x00007ffff2cfbeb1 in ?? () from /usr/lib64/libasound.so.2
#5 0x00007ffff2d27374 in ?? () from /usr/lib64/libasound.so.2
#6 0x00007ffff2d28521 in ?? () from /usr/lib64/libasound.so.2
#7 0x00000000009605ed in PaAlsaStreamComponent_InitialConfigure (self=0x1573040, hwParams=0x7fffffffca20, sampleRate=0x7fffffffcce8, params=<optimized out>,
primeBuffers=<optimized out>) at src/hostapi/alsa/pa_linux_alsa.c:1315
#8 0x000000000096157e in PaAlsaStream_Configure (self=0x1572db0, inParams=0x7fffffffce70, outParams=0x0, sampleRate=<optimized out>, framesPerUserBuffer=0, inputLatency=
0x7fffffffcdf8, outputLatency=0x7fffffffce00, hostBufferSizeMode=0x7fffffffce0c) at src/hostapi/alsa/pa_linux_alsa.c:1983
#9 0x0000000000962636 in OpenStream (hostApi=0x1184de0, s=0x7fffffffcf88, inputParameters=0x7fffffffce70, outputParameters=0x0, sampleRate=44100, framesPerBuffer=0, streamFlags=
3, callback=0x5f4cc3 <DummyPaStreamCallback(void const*, void*, unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)>, userData=0x0)
at src/hostapi/alsa/pa_linux_alsa.c:2107
#10 0x000000000095c1e7 in Pa_OpenStream (stream=0x7fffffffcf88, inputParameters=0x7fffffffcf60, outputParameters=0x0, sampleRate=<optimized out>, framesPerBuffer=0, streamFlags=
3, streamCallback=0x5f4cc3 <DummyPaStreamCallback(void const*, void*, unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)>, userData=0x0)
at src/common/pa_front.c:1210
#11 0x00000000005f5091 in AddSources(int, int, std::vector<DeviceSourceMap, std::allocator<DeviceSourceMap> >*, int) ()
#12 0x00000000005f5254 in DeviceManager::Rescan() ()
#13 0x00000000005f53e8 in DeviceManager::Init() ()
#14 0x00000000005f4a59 in DeviceManager::GetInputDeviceMaps() ()
#15 0x00000000007c2498 in DeviceToolBar::FillHosts() ()
#16 0x00000000007c068a in DeviceToolBar::RefillCombos() ()
#17 0x00000000007c04e3 in DeviceToolBar::Populate() ()
#18 0x00000000007cb84b in ToolBar::ReCreateButtons() ()
#19 0x00000000007cb6c6 in ToolBar::Create(wxWindow*) ()
#20 0x00000000007bfb68 in DeviceToolBar::Create(wxWindow*) ()
#21 0x00000000007cf674 in ToolManager::ReadConfig() ()
#22 0x00000000007cec58 in ToolManager::ToolManager(AudacityProject*) ()
#23 0x000000000065c7b4 in AudacityProject::AudacityProject(wxWindow*, int, wxPoint const&, wxSize const&) ()
#24 0x000000000065addd in CreateNewAudacityProject() ()
#25 0x00000000005ccc3e in AudacityApp::OnInit() ()
#26 0x00000000005cf827 in wxAppConsole::CallOnInit() ()
#27 0x00007ffff5eb16bb in wxEntry(int&, wchar_t**) () from /usr/lib64/wx-2.8-stl/libwx_baseu-2.8.so.0
#28 0x00000000005cba74 in main ()
(gdb) bt 3
#0 0x00007ffff1fe2d95 in raise () from /lib64/libc.so.6
#1 0x00007ffff1fe42ab in abort () from /lib64/libc.so.6
#2 0x00007ffff1fdb8fe in __assert_fail_base () from /lib64/libc.so.6
(More stack frames follow...)
(gdb) bt -3
#26 0x00000000005cf827 in wxAppConsole::CallOnInit() ()
#27 0x00007ffff5eb16bb in wxEntry(int&, wchar_t**) () from /usr/lib64/wx-2.8-stl/libwx_baseu-2.8.so.0
#28 0x00000000005cba74 in main ()
I hope this helps.
Regards.