Re: Obj C Runtime Problem
Re: Obj C Runtime Problem
- Subject: Re: Obj C Runtime Problem
- From: Nat! <email@hidden>
- Date: Sat, 3 May 2003 12:46:45 +0200
Am Samstag, 03.05.03 um 10:31 Uhr schrieb email@hidden:
On samedi, mai 3, 2003, at 03:19 AM, Greg Hulands wrote:
I am having trouble with my application in that it is stopping with
the following stack trace. I cannot find what _objc_msgForward does
and why it would be called and trying to create an NSConnection.
Does anyone know why _objc_msgForward would be called?
Any Help is greatly appreciated.
Greg
#0 0x90073c48 in mach_msg_trap ()
#1 0x90006090 in mach_msg ()
#2 0x901489f0 in CFRunLoopRunInMode ()
#3 0x90180f58 in CFRunLoopRunSpecific ()
#4 0x907edce4 in -[NSConnection sendInvocation:] ()
#5 0x907f10b4 in -[NSObject(NSForwardInvocation) forward::] ()
#6 0x9068c130 in _objc_msgForward ()
#7 0x90807e88 in -[NSDistantObject methodSignatureForSelector:] ()
#8 0x907f0f8c in -[NSObject(NSForwardInvocation) forward::] ()
#9 0x9068c130 in _objc_msgForward ()
#10 0x00193ef4 in -[DLSPrejudgeCell drawWithFrame:inView:]
(self=0x11b8e00, _cmd=0x906b2b5c, cellFrame={origin = {x = 0, y = 0},
size = {width = 300, height = 200}}, controlView=0x11b7a80) at
DLSPrejudgeControl.m:215/Users/ghulands/DLS/
The easy way to find the bug (if the crash is reproducible) is to put
a breakpoint and run in debugging mode because the crash is in your
code: DLSPrejudgeCell drawWithFrame:inView:
_______________________________________________
What is approximately happening here (I think) is, that DLSPrejudgeCell
is calling a undefined method probably (but not neccessarily) on
itself. Before the runtime system bails its trying to forward the
message. Usually noone takes it and you get yer usual "undefined method
exception".
In this case someone (DLSPrejudgeControl ?) implemented forward and is
trying to do something smart (or distributed computing :). Looks like
the code is trying to contact another thread/process/machine and that
connection is not happening. Maybe the log sez something.
If DLSPrejudgeControl is not the culprit, then you may have linked with
a framework which does intercept messages, like maybe some kind of
language bridge (Python ?).
Just a lot of half baked guesses :)
Ciao
Nat!
------------------------------------------------------
You know, in the Bible it doesn't say,
"Waddle forth and calcify." -- DLR
_______________________________________________
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.