• 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
Process infinite loop in logObjcMessageSends
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: [SOLVED] Process infinite loop in logObjcMessageSends
      • From: Florent Pillet <email@hidden>
  • Prev by Date: Bug Deployement App / Zero-Link
  • Next by Date: Re: [SOLVED] Process infinite loop in logObjcMessageSends
  • Previous by thread: Bug Deployement App / Zero-Link
  • Next by thread: Re: [SOLVED] Process infinite loop in logObjcMessageSends
  • Index(es):
    • Date
    • Thread