Crash when launching alsa_in or alsa_out from within Qjackctl

Forums

Rui,

With the help of some knowledgeable people at ubutuforums, I have recently discovered alsa_in and alsa_out which come with versions of jackd 0.116 and up (but not Jack2, as the functionality is covered differently) and allow the addition of a second device that jack can utilize. I am using it to add a usb mic in addition to my onboard soundcard. I'm using Debian Squeeze packages of jack and Qjackctl. When I put the alsa_in command (i.e., alsa_in -d hw:1)in the "Execute script on Startup" or "Execute script after Startup", Qjackctl freezes when I start jack. If I kill Qjackctl and restart it, it shows jack is running and opening connections shows the usb mic, so the script is clearly being executed. If I just launch Jack normally with Qjackctl and execute alsa_in from the command line, all is fine.

This has been confirmed by at least one other person at Ubuntuforums using a different distribution and package versions than me.

Permalink

So it's a freeze, not a crash.

Are you sure you aren't missing an ampersand (&) at the end of the alsa_in or alsa_out command lines ?

You need that for any of those commands to run in the background, otherwise QjackCtl just gets stuck indefinitely while waiting for the scripts to terminate. And it might just look that it freezes, because neither alsa_in nor alsa_out does immediately exit() if started successfully ;)

Check that out.

Permalink

hi guys,

I am the other guy who confirmed the behavior. I did test it with the & when I saw the freeze.
It did not work, the alsa_in/out client does not show up in the graph. It's like it started and stopped immediately.

But I reinstalled jack1 right now and retried (I use jack2 most of the time) for the sake of my reply here. And it worked.
So I guess it blew on me in my 1st attempt :lol:

Cheers!
T.

Permalink

That was the problem. Works now. Thanks!

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.