If I’m running from Xcode 4.6.3 on Mavericks...
daemon(0,0);// no matter the values of the args
dlopen(full path, RTLD_NOW);
gives me this:
0 dyld0x8fe0d652
gdb_image_notifier(dyld_image_mode, unsigned int, dyld_image_info const*) + 1
1 ???
Yes, CF uses this to tell if you’ve done something which isn’t fork safe.
And the debugger does give me adequate access to it, which I hadn’t tried.
Thanks.
On Feb 4, 2014, at 5:31 PM, Kyle Sluder wrote:
> On Feb 4, 2014, at 5:32 PM, Jim O'Connor wrote:
>>
>> I need to k
I need to know at what point in my code I’m doing something which sets
__CF120290.
Is there any way to find this out?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Like I said, it was late at night…
XCode hides stack frames it thinks are unimportant.
Like the stack frame that had the CFRunLoop in it inside a
CFMessagePortSendRequest.
I found the problem when I copied out the stack crawl to show a friend, and low
and behold there were 4 extra stack frames
the reply.
Jim
On Jan 5, 2014, at 3:47 PM, Kyle Sluder wrote:
> On Jan 5, 2014, at 4:37 PM, Jim O'Connor wrote:
>>
>> When my read stream finishes I schedule a timer to clean up on the runloop
>> to serialize access to shared resources.
>> However, I had a hang
When my read stream finishes I schedule a timer to clean up on the runloop to
serialize access to shared resources.
However, I had a hang late last night because a mutex grabbed in the read
stream callback handler was held and was also being grabbed when the timer it
scheduled to clean up fired
I have a helper tool which lives in Contents/MacOS along with the primary
binary.
The helper tool needs access to the resources in the bundle.
Once I added the info plist text segment so I could sign the helper tool
NSBundle won't work properly. [NSBundle mainBundle] now doesn't refer to the
bun
I receive disk appeared notifications.
When the notification comes in I need to determine what to do based partly on
if my user is the current user (not fast user switched out).
Simply tracking switch in and switch out notifications isn't sufficient because
I can be launched when the user isn't t
The sample screen saver doesn't work on Leopard.
Are there new requirements for Snow Leopard and screen savers which
must be met?
Thanks,
Jim O'Connor
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r