Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mach_port_deallocate(kernel_thread) failed: (os/kern) invalid



hi,

just posting the solution for the archive.

This problem was related to the fact that I called pthread_detach at the end of the feeder thread routine. Also I was waiting with pthread_join until the thread was finished. So if I called the pthread_detach after the pthread_join everything was fine and also all the resources were deleted.

regards,

mvo


On Oct 31, 2004, at 3:03 PM, email@hidden wrote:

When I do:

pthread_join(mPThread,NULL);

on my thread the pThread-join ends but in the console I see this
appearing:


mach_port_deallocate(kernel_thread) failed: (os/kern) invalid name

anyone an idea what's going on?

Also i noticed that when i do

when I do:

		AudioOutputUnitStop(fOutputAudioUnit);


I notice that the console is giving the following error:

mach_port_mod_refs(reply_port) failed: (os/kern) invalid name

in the debugger console.


Should i be worried?

I'm just trying to stop the audio from playing.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.