Process infinite loop in logObjcMessageSends
Process infinite loop in logObjcMessageSends
- Subject: Process infinite loop in logObjcMessageSends
- From: Florent Pillet <email@hidden>
- Date: Thu, 2 Oct 2003 11:40:54 +0200
I have a weird problem. I'm developing a framework with a command line
tool to test it. Starting today, running the tool started to block in
the logObcMessageSends function of libObjc. I don't understand what's
happening. I suspect that it may be a selector identifier which is a
duplicate of another one (I added a couple new selectors recently) but
I'm really stuck on that one.
I ran Shark from CHUD 3.0.0 and here is the CPU usage when running my
tool:
99.9% logObjcMessageSends libobjc.A.dylib
99.9% _class_lookupMethodAndLoadCache libobjc.A.dylib
99.9% objc_msgSend libobjc.A.dylib
99.9% +[PalmUIStringsList
stringsListFromResource:resType:resID:identifier:withUIFile:]
PalmServices
99.9% +[PalmUIStringsList
stringsListFromResource:resType:resID:identifier:withUIFile:]
PalmServices
99.9% -[PalmUIFile readDataFromResources:] PalmServices
99.9% -[PalmUIFile initWithFile:] PalmServices
99.9% main prc2xml
99.9% _start prc2xml
99.9% start prc2xml
Anybody has a lead on this? The objc method in which the software is
hanging is:
+ (id)stringsListFromResource:(NSData *)resource
resType:(unsigned long)rType
resID:(unsigned short)rID
identifier:(NSString *)ident
withUIFile:(PalmUIFile *)doc
{
PalmUIStringsList *obj = [[PalmUIStringsList alloc]
initFromResource:resource resType:rType resID:rID identifier:ident
withUIFile:doc];
return [obj autorelease];
}
Florent
--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products for Palm OS & Mac OS X
ICQ: 117292463
http://perso.wanadoo.fr/fpillet
_______________________________________________
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.