help, objc_msgSend problems
help, objc_msgSend problems
- Subject: help, objc_msgSend problems
- From: Benjámin Salánki <email@hidden>
- Date: Sun, 11 Jan 2004 11:05:18 +0100
Hi,
Xcode just went crazy on me. From one second to the next one of my
projects refuses to build and run without giving me a 'has exited due
to signal 10 (SIGBUS)' message.
Here's what i did.
I instantiated an object in InterfaceBuilder, and created an outlet to
this object from my main controller object. After this, everything went
crazy. The strange part is, that ever since i can not create outlets
from that object, as it will always produce these symptoms, but only if
I connect them. If I have unconnected outlets, it's all fine. So I
decided to remove both objects, create them again, with fresh files as
i had problems in the past with some files that refused to build but
the same code in a brand new file would give me the desired results.
Everything works like a charm until I want to connect that outlet. And
if I want to rename the outlet or connect it to a different object, it
all gives me the same error. So I decided to work around the problem,
and connected the object through another object that was already
connected to the main controller object. And it worked, then 2-3 build
later I get this signal 10 problem again, and now I can't find what is
causing the problem (nor does it make any sense). When running the
debugger, I get the following lines (in reverse execution order):
#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.
thx,
Ben
_______________________________________________
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.