Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-12-2017, 06:26 PM
#1
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204
Rep:
Problem running Audacity 2.1.2
I'm running a full install of Slackware64 14.2 pure 64 bit.
My Audacity 2.1.1 was failing to start with a Segmentation Fault. Since there is a new 2.1.2 version I thought it would be better to rebuild this version and all would be well.
So I've built Audacity 2.1.2 from SBo (having had to build also wxGTK3).
Now when I try to run Audacity I still get a similar crash. It appears to me that it is not being able to communicate with ALSA... This is what I get:
Code:
ALSA lib pcm_dsnoop.c:589:(snd_pcm_dsnoop_open) unable to create IPC shm instance
ALSA lib pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to create IPC shm instance
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_dmix.c:968:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to create IPC shm instance
ALSA lib pcm_dsnoop.c:589:(snd_pcm_dsnoop_open) unable to create IPC shm instance
ALSA lib pcm_dsnoop.c:545:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to create IPC shm instance
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2727
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2727
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->playback, hwParamsPlayback, outParams, self->primeBuffers, realSr, outputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2734
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
GLib-ERROR **: (NULL) message
Trace/breakpoint trap
The errors in version 2.1.1 were basically the same, so this seems to be a runtime problem connecting to ALSA. Has anyone come across this? Is it because of pulseaudio?
thanks
(edited to add info about Slackware version)
Last edited by metageek; 03-12-2017 at 06:29 PM .
03-13-2017, 10:52 AM
#2
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098
Quote:
Originally Posted by
metageek
I'm running a full install of Slackware64 14.2 pure 64 bit.
maybe you're not aware of this but that's probably not true, because this error
Code:
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
should mean that you are missing at least the alsa-plugins package.
Last edited by ponce; 03-13-2017 at 10:58 AM .
1 members found this post helpful.
03-13-2017, 05:58 PM
#3
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204
Original Poster
Rep:
mmm... I find that strange as I am sure I installed the full version and don't remember removing any alsa package (but who knows? things can happen). So here is some investigating:
Code:
# ls -l /usr/lib64/alsa-lib/
total 316
-rwxr-xr-x 1 root root 1080 Apr 1 2016 libasound_module_conf_pulse.la*
-rwxr-xr-x 1 root root 6088 Apr 1 2016 libasound_module_conf_pulse.so*
-rwxr-xr-x 1 root root 1084 Apr 1 2016 libasound_module_ctl_arcam_av.la*
-rwxr-xr-x 1 root root 27280 Apr 1 2016 libasound_module_ctl_arcam_av.so*
-rwxr-xr-x 1 root root 1078 Apr 1 2016 libasound_module_ctl_dsp_ctl.la*
-rwxr-xr-x 1 root root 22976 Apr 1 2016 libasound_module_ctl_dsp_ctl.so*
-rwxr-xr-x 1 root root 1054 Apr 1 2016 libasound_module_ctl_oss.la*
-rwxr-xr-x 1 root root 14672 Apr 1 2016 libasound_module_ctl_oss.so*
-rwxr-xr-x 1 root root 1074 Apr 1 2016 libasound_module_ctl_pulse.la*
-rwxr-xr-x 1 root root 22960 Apr 1 2016 libasound_module_ctl_pulse.so*
-rwxr-xr-x 1 root root 1084 Apr 1 2016 libasound_module_pcm_alsa_dsp.la*
-rwxr-xr-x 1 root root 27064 Apr 1 2016 libasound_module_pcm_alsa_dsp.so*
-rwxr-xr-x 1 root root 1054 Apr 1 2016 libasound_module_pcm_oss.la*
-rwxr-xr-x 1 root root 14496 Apr 1 2016 libasound_module_pcm_oss.so*
-rwxr-xr-x 1 root root 1074 Apr 1 2016 libasound_module_pcm_pulse.la*
-rwxr-xr-x 1 root root 27216 Apr 1 2016 libasound_module_pcm_pulse.so*
-rwxr-xr-x 1 root root 1092 Apr 1 2016 libasound_module_pcm_speex.la*
-rwxr-xr-x 1 root root 14488 Apr 1 2016 libasound_module_pcm_speex.so*
-rwxr-xr-x 1 root root 1066 Apr 1 2016 libasound_module_pcm_upmix.la*
-rwxr-xr-x 1 root root 14696 Apr 1 2016 libasound_module_pcm_upmix.so*
-rwxr-xr-x 1 root root 1096 Apr 1 2016 libasound_module_pcm_usb_stream.la*
-rwxr-xr-x 1 root root 14840 Apr 1 2016 libasound_module_pcm_usb_stream.so*
-rwxr-xr-x 1 root root 1084 Apr 1 2016 libasound_module_pcm_vdownmix.la*
-rwxr-xr-x 1 root root 10320 Apr 1 2016 libasound_module_pcm_vdownmix.so*
-rwxr-xr-x 1 root root 1130 Apr 1 2016 libasound_module_rate_samplerate.la*
-rwxr-xr-x 1 root root 10328 Apr 1 2016 libasound_module_rate_samplerate.so*
lrwxrwxrwx 1 root root 35 Jul 3 2016 libasound_module_rate_samplerate_best.so -> libasound_module_rate_samplerate.so*
lrwxrwxrwx 1 root root 35 Jul 3 2016 libasound_module_rate_samplerate_linear.so -> libasound_module_rate_samplerate.so*
lrwxrwxrwx 1 root root 35 Jul 3 2016 libasound_module_rate_samplerate_medium.so -> libasound_module_rate_samplerate.so*
lrwxrwxrwx 1 root root 35 Jul 3 2016 libasound_module_rate_samplerate_order.so -> libasound_module_rate_samplerate.so*
-rwxr-xr-x 1 root root 1122 Apr 1 2016 libasound_module_rate_speexrate.la*
-rwxr-xr-x 1 root root 10296 Apr 1 2016 libasound_module_rate_speexrate.so*
lrwxrwxrwx 1 root root 34 Jul 3 2016 libasound_module_rate_speexrate_best.so -> libasound_module_rate_speexrate.so*
lrwxrwxrwx 1 root root 34 Jul 3 2016 libasound_module_rate_speexrate_medium.so -> libasound_module_rate_speexrate.so*
drwxr-xr-x 2 root root 4096 Apr 14 2016 smixer/
and
Code:
# ls -l /var/log/packages/alsa-plugins-1.1.1-x86_64-1
-rw-r--r-- 1 root root 2786 Jul 3 2016 /var/log/packages/alsa-plugins-1.1.1-x86_64-1
It looks like I have the alsa-plugins package. Why should audacity fail to load this library? Anyway, I will reinstall alsa-plugins and see what happens.
03-13-2017, 07:23 PM
#4
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204
Original Poster
Rep:
Well, I reinstalled all the alsa packages and now audacity works. Not really sure what was missing or wrong...
Last edited by metageek; 03-13-2017 at 07:31 PM .
03-13-2017, 07:34 PM
#5
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204
Original Poster
Rep:
Even stranger, audacity did work after reinstalling the alsa packages as mentioned earlier. But after I closed it and try to open it again, I then get the original error once more:
Code:
ALSA lib pcm_dsnoop.c:589:(snd_pcm_dsnoop_open) unable to create IPC shm instance
ALSA lib pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to create IPC shm instance
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to create IPC shm instance
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1809
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2727
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2727
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
ALSA lib pcm_mmap.c:341:(snd_pcm_mmap) mmap failed: Cannot allocate memory
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2093
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->playback, hwParamsPlayback, outParams, self->primeBuffers, realSr, outputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2734
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2839
***MEMORY-ERROR***: audacity[11264]: GSlice: failed to allocate 1008 bytes (alignment: 1024): Cannot allocate memory
Aborted
What is up with this? Clearly it is not lack of the alsa packages
03-14-2017, 12:46 AM
#6
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098
it can be also you got some hardware issue: you can check the RAM with
memtest86+ (see the README.SLACKWARE file in the link for hints) or the disk with the
smartmontools .
if you have a custom ~/.asoundrc try also moving it away temporarily and see if something changes.
Last edited by ponce; 03-14-2017 at 01:11 AM .
All times are GMT -5. The time now is 10:17 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News