[Ardour-Dev] Hello, some tech talk, etc.

Razvan Cojocaru razvanco at gmx.net
Tue Jul 3 08:17:28 PDT 2012

> The solution seems to be to check errno as well. jack_activate() won't
> help out, but after calling it (and failing), my errno is 22, and
> strerror(errno) is "Cannot allocate memory".

Actually, unless some other condition is met (I had previously crashed
Ardour as per "0002799: crash on zooming into tape track"), it turns out
that Jack does _not_ die with signal 12 even though mlock() fails, so
checking errno is not a reliable way to make sure that Ardour can start
working. And jack_activate() keeps returning 0 (success).

Will dig more.

All the best,

More information about the Ardour-Dev mailing list