CFMessagePort problems
CFMessagePort problems
- Subject: CFMessagePort problems
- From: Paul Kim <email@hidden>
- Date: Sun, 3 Dec 2006 16:39:53 -0500
Hi,
I have a commandline/background program. It's written in Objective-C
and uses Foundation. It is started by launchd and when it runs, it
does it thing and then exits. It does not explicitly create an
NSApplication or run loop.
In the past week or so, I've suddenly received bug reports from users
of the following form:
2006-12-03 19:53:03.552 hazelfolderwatch[566] CFLog (0):
CFMessagePort: bootstrap_register(): failed 1100 (0x44c), port =
0x2103, name = 'NSApplication-MainThread-236-8471333827395#'
2006-12-03 19:53:03.553 hazelfolderwatch[566] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port (NSApplication-
MainThread-236-8471333827395#)
2006-12-03 19:53:03.553 hazelfolderwatch[566] *** Assertion failure
in -[NSApplication _createWakeupPort], AppKit.subproj/NSApplication.m:
3578
2006-12-03 19:53:03.554 hazelfolderwatch[566]
CFMessagePortCreateLocal returned NULL port
The way it's described by users, it starts happening all of a sudden.
It is common to have multiple copies of this process running and I
have not had issues with running multiple copies of the program for
the 2+ months the product has been out (plus the months of alpha/
beta). It's not an application per se and does not use mach ports
directly.
At least in one case, uninstalling some Application Enhancers did
remedy the problem but I don't feel confident that APE's or Input
Managers are responsible for all the cases I am seeing.
If anyone has any insight into what is going on here and why I'm
getting multiple reports coming in out of nowhere. Also, any tips on
how to diagnose, fix and/or work around this would be greatly
appreciated.
Thanks,
Paul Kim
------------------------------------
Chief Noodler - Noodlesoft
email@hidden
http://www.noodlesoft.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden