Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Audacity don't start if jackd is running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 9:38 am    Post subject: [SOLVED] Audacity don't start if jackd is running Reply with quote

Hi,
few month ago i've used them without problems, but now audacity don't start at all if jackd is running and i get this error:
Code:
libgcc_s.so.1 must be installed for pthread_cancel to work


I found this error in others threads, but it seems that nobody has a clear idea of where it come from.
Others applications like mplayer still works normally with jack.

Suggestions are welcome!


Last edited by clostry on Wed Apr 17, 2013 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 11:31 am    Post subject: Reply with quote

I tried compiling audacity by hand, and i discovered there was something wrong with wxwidgets profile.
The weird thing is that the configure script stopped there, but the ebuild went on and compiled...mmm...
I did "eselect wxwidgets set 1" and "emerge audacity" again.
The problem isn't solved, now i get random errors like segmentation error and this one
Code:
(process:6032): GLib-ERROR (recursed) **: gmem.c:230: failed to allocate 64 bytes

Or even different Glib errors....
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Mar 15, 2013 11:39 am    Post subject: Reply with quote

Which versions of each are you dealing with ?
I get absolutely no trouble building & using audacity-2.0.0 + jack-audio-connection-kit-0.121.3
_________________
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 12:02 pm    Post subject: Reply with quote

Same of yours.
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 12:06 pm    Post subject: Reply with quote

here my emerge --info http://pastebin.com/6QJ3vxH5
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Mar 15, 2013 5:42 pm    Post subject: Reply with quote

Please post the output of
Code:
locate libgcc_s

EDIT : If you do not achieve this on a regular basis, you might need to
Code:
updatedb
first.
_________________
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 5:57 pm    Post subject: Reply with quote

Code:
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/32/libgcc_s.so
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/32/libgcc_s.so.1
/usr/lib64/openoffice/ure/lib/libgcc_s.so.1
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Fri Mar 15, 2013 6:10 pm    Post subject: Reply with quote

I forgot to post the full output of audacity...
This is what i get with jackd running
Code:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Or others random errors like
Code:
***MEMORY-ERROR***: audacity[10779]: GSlice: failed to allocate 496 bytes (alignment: 512): Impossibile allocare memoria


And this is what i get without jackd running
Code:
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875

By the way audacity runs normally in the latter case.
Back to top
View user's profile Send private message
clostry
n00b
n00b


Joined: 26 Nov 2008
Posts: 26

PostPosted: Wed Apr 17, 2013 2:59 pm    Post subject: Reply with quote

Editing the file /etc/security/limits.d/audio.conf and changing the line
Code:
@audio          -       memlock         500000

to
Code:
@audio          -       memlock         unlimited

and commenting out all @audio entries i had in /etc/security/limits.conf did the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum