• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: debug a forked PTY process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: debug a forked PTY process


  • Subject: RE: debug a forked PTY process
  • From: "James Larcombe" <email@hidden>
  • Date: Tue, 9 Mar 2010 11:25:13 -0000
  • Thread-topic: debug a forked PTY process

> The process has forked and you cannot use this CoreFoundation
> functionality safely. You MUST exec(). Break on
> __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_
> THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

I have a related question regarding this message.

As far as I can tell, you can't actually set a breakpoint on that
function, because it's a private symbol, as you can see in the source:

http://www.opensource.apple.com/source/CF/CF-550.13/CFRuntime.c

What's the best recommendation here? I had a curious instance of that
warning recently but couldn't see why it was arising as we weren't
forking anywhere that I could see. DTrace is difficult to use in this
case because attaching to the process won't follow the forked process
when it is created.

Any debugging suggestions?

James
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: debug a forked PTY process
      • From: Ken Thomases <email@hidden>
References: 
 >debug a forked PTY process (From: Nadav Tenenbaum <email@hidden>)
 >Re: debug a forked PTY process (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Separate strip zapping script generated digital signatures
  • Next by Date: PDF links, iPhone and Quartz 2D
  • Previous by thread: Re: debug a forked PTY process
  • Next by thread: Re: debug a forked PTY process
  • Index(es):
    • Date
    • Thread