• 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: help, objc_msgSend problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help, objc_msgSend problems


  • Subject: Re: help, objc_msgSend problems
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Sun, 11 Jan 2004 12:54:08 +0100

Le 11 janv. 04, ` 11:05, Benjamin Salanki a icrit :


#0 0x9083122c in objc_msgSend
#1 0x909f1b4c in NSPopAutoreleasePool
#2 0x92ee36c8 in +[NSCustomResource pushBundleForImageSearch:]
#3 0x92e3aa04 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
#4 0x92eb972c in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#5 0x92ecaf20 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#6 0x92eb9594 in NSApplicationMain
#7 0x000c8f74 in main at main.m:13

please, anyone, I am really stuck here.



I dunno in your specific case, but this looks like a very classical many people in this list already got: you have some object in the autorelease pool that is already released; and it's memory has been allocated to something else. So when the autorelease pool send a -release to it (in NSPopAutoreleasePool), it calls objc_msgSend (that's the C function called for everay message send), on something that is not a correct object anymore.

So you should check all you objects allocation/deallocation. Remember that object allocated in the NIB file should not been deallocated by you. (Since the problem occurs when you connect some outlets, aren't you trying to release them somewhere ?)

Hope this help,

Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >help, objc_msgSend problems (From: Benjámin Salánki <email@hidden>)

  • Prev by Date: Re: continuous slider
  • Next by Date: Re: how to setMovableByWindowBackground?
  • Previous by thread: help, objc_msgSend problems
  • Next by thread: Extremely confused, GWorlds and CopyBits
  • Index(es):
    • Date
    • Thread