Jack/Natty crashes on "Cannot create thread 1 Operation not permitted" error

Brian David beejunk at gmail.com
Mon Dec 13 16:43:56 GMT 2010

On Sun, Dec 12, 2010 at 8:05 PM, Ronan Jouchet <ronan at jouchet.fr> wrote:
> On 10-12-12 08:41 PM, Brian David wrote:
>> On Sun, Dec 12, 2010 at 4:10 PM, Ronan Jouchet<ronan at jouchet.fr>  wrote:
>>> Hi,
>>> I can't run Jack under Natty, it refuses to start and raises a "Cannot
>>> create thread 1 Operation not permitted" error. Full log at
>>> http://pastebin.com/B45WFr0F.
>>> Help welcome... maybe I just forgot something stupid, maybe this is a
>>> real issue.
>>> More info:
>>>    Realtime setup done at installed time
>>>    Realtime setup confirmed via the Ubustu Controls app (user in audio
>>> group, memlock, rtprio)
>>>    Kernels tested: generic, lowlatency
>>>    Tested under normal user account and with sudo
>>>    Gear: Edirol FA-66 through a TI PCMCIA card that used to work
>>> flawlessly under Lucid and Maverick.
>>>    Natty 20101212 x86
>>> Thanks for your help,
>>> --
>>> Ronan
>> One issue I see right away is that you should not be using Ubuntu
>> Studio Controls to adjust the realtime settings.  Unless things have
>> changed (perhaps they have), Ubuntu Studio Controls edits
>> /etc/security/limits.conf, which is the wrong file.  The file you will
>> want to edit is /etc/security/limits.d/audio.conf.  Because you've
>> used Ubuntu Studio Controls, there's a chance that you have settings
>> in both limits.conf and audio.conf, and this can definitely cause
>> issues.
>> Make sure only one of those files has the realtime settings.  Hope that helps!
> Hi Brian,
> Indeed, both files exist and have different settings, I'm having a look
> at this.
> Also, adi from #ffado mentioned several points nedding investigation,
> I'll test them tomorrow and report here.
> Thanks for the hint!
> Ronan Jouchet

Just to clarify, you will want to remove only the realtime settings in
limits.conf, and not the entire file.

-Brian David

More information about the Ubuntu-Studio-devel mailing list