• 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: Newbie question: error in creating a NSData object using handle (Resource Management)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: error in creating a NSData object using handle (Resource Management)


  • Subject: Re: Newbie question: error in creating a NSData object using handle (Resource Management)
  • From: "Kyle Sluder" <email@hidden>
  • Date: Wed, 25 Jun 2008 09:08:24 -0400

On Wed, Jun 25, 2008 at 4:42 AM, Tran Kim Bach <email@hidden> wrote:
> Actually, the program stopped at the mentioned line.
> In console, it said something like:
>
> *objc[2144]: FREED(id): message release sent to freed object=0x17d1d0*
>
> This GDB was configured as "i386-apple-darwin"
> (Error from the debugger) /users/...path_to_my_exe_file: No such file or
> directory.
>
> But I checked the exe file and it's absolutely there(in the bundle).

What is this "exe file" nonsense?  I don't have any files with the
extension "exe" on my machine.  I'd wager you don't either.  Seems
like you're a Windows programmer.  In that case I heartily recommend
you read up on the differences between the way Windows executables and
UNIX binaries function -- sometimes subtle.  Then read up on .app
packages.

> I tried an autorelease pool inside the loop, disposing of datahandle.etc,
> but still got the same problem.

You're debugging by voodoo.

> Now, when I confirmed the *dataHandle, it returned NULL
> but I don't know why?

Post the code that supposedly assigns something to dataHandle, and we
might be able to help you.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Newbie question: error in creating a NSData object using handle (Resource Management)
      • From: "Hamish Allan" <email@hidden>
References: 
 >Newbie question: error in creating a NSData object using handle (Resource Management) (From: "Tran Kim Bach" <email@hidden>)
 >Re: Newbie question: error in creating a NSData object using handle (Resource Management) (From: Ken Thomases <email@hidden>)
 >Re: Newbie question: error in creating a NSData object using handle (Resource Management) (From: "Tran Kim Bach" <email@hidden>)

  • Prev by Date: Re: IB 3.0's Managed Object Context class
  • Next by Date: Re: Newbie question: error in creating a NSData object using handle (Resource Management)
  • Previous by thread: Re: Newbie question: error in creating a NSData object using handle (Resource Management)
  • Next by thread: Re: Newbie question: error in creating a NSData object using handle (Resource Management)
  • Index(es):
    • Date
    • Thread