• 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: Protected m4p file prevents debug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protected m4p file prevents debug


  • Subject: Re: Protected m4p file prevents debug
  • From: Frederick Cheung <email@hidden>
  • Date: Fri, 22 Jun 2007 16:38:08 +0100

Sounds to me like ptrace(PT_DENY_ATTACH, ...) (which will cause attempts to attach to a process to fail with exit status ENOTSUP (ie 45))
see http://www.steike.com/code/debugging-itunes-with-gdb/ or http:// landonf.bikemonkey.org/code/macosx/Tiger_PT_DENY_ATTACH. 20051121020514.50199.zadder.html for explanations


Fred
On 22 Jun 2007, at 16:25, Douglas Norton wrote:

All,

A customer of mine is reporting that when my app is presenting a DRM protected m4p file my app crashes.

If I try to reproduce in the release version of my app, I do not see the reported problem. I am asked to authenticate my computer via iTunes. When I try the same operation in the debug configuration, the debugger tells me my app exited with status(45).

I can fully understand why Apple would not want me to debug my app when it is attempting to authenticate to play a DRM protected file, I just wanted to know if this is the intended behavior.

Thanks

Douglas

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


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Protected m4p file prevents debug (From: Douglas Norton <email@hidden>)

  • Prev by Date: Re: Protected m4p file prevents debug
  • Next by Date: Namespace problem with gcc
  • Previous by thread: Re: Protected m4p file prevents debug
  • Next by thread: Namespace problem with gcc
  • Index(es):
    • Date
    • Thread