Leaking Mach Ports?
Leaking Mach Ports?
- Subject: Leaking Mach Ports?
- From: Dirk Musfeldt <email@hidden>
- Date: Thu, 10 Mar 2005 12:15:41 +0100
Hi all,
I'm investigating the mach port leaks in our application.
I'm using the MachPortDump tool to look at the mach ports, but I'm unsure
which of the listed ports are leaked?
One thing seems to be that from every pthread remains a port. Is that
leaked? How can I release that port?
One other thing is our use of the CFMessagePort communication. Every call to
CFMessagePortCreateRemote() as well as some other calls from the
CFMessagePort suite increases the number of send rights for a special port,
but CFRelease() doesn't lower it again. Is that expected behaviour?
Could anybody please shed some light on this?
Regards
Dirk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden