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

Re: Shark problems


  • Subject: Re: Shark problems
  • From: Sanjay Patel <email@hidden>
  • Date: Thu, 15 Dec 2005 14:08:14 -0800

Tom -

The exception you are seeing is a known bug in the version of Shark that you're running. Please upgrade to version 4.2.3 from the CHUD link here:
http://developer.apple.com/tools/download/


If you can't see your source in a profile, then it's very likely that your binary does not have debugging information in it. Make sure that you are building with the "-g" flag.


-- Sanjay


On Dec 15, 2005, at 1:06 PM, Thomas Engelmeier wrote:

Hi,

I have a bunch of Shark problems in a time profile for a commandline tool and would appreciate some advice:

- with none of the targets (Development, Deployment) I am able to see the source code for the functions - the only view is the assembly view

- with the Development target from the thrid stack nesting level it is recorded as "unknown library", even though the call is in the commandline tool

- recently it stopped displaying profiled data at all. IIRC it started when I switched in the "Advanced Settings" Drawer from "Samples" to "Seconds" - and now on the console appears:

2005-12-15 21:53:50.029 Shark[1861] NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- Attempt to mutate immutable object with appendString:
Stack trace: 0x963aff10 0x928f935c 0x929c175c 0x928c5740 0x9b967c5c 0x9b968998 0x005cb288 0x9369e880 0x937f135c 0x937f104c 0x9b922edc 0x9b923014 0x000097a8 0x000099e4 0x9369e880 0x9368aabc 0x9368a514 0x936e1994 0x9377534c 0x93775070 0x00008988 0x928ebf00 0x9078df2c 0x9075da68 0x9075cf98 0x9075ca18 0x931861e0 0x93185874 0x931856e0 0x93684904 0x936845c8 0x93680b0c 0x93771618 0x00002d38 0x00002bdc
2005-12-15 21:53:50.039 Shark[1861] *** NSThread: ignoring exception 'Attempt to mutate immutable object with appendString:' that raised during delayed perform of target 0x3a4710 and selector 'addDocument:'


Regards,
	Tom_E
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Shark problems
      • From: Thomas Engelmeier <email@hidden>
References: 
 >Shark problems (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: Debugger Error
  • Next by Date: Column Copy and paste
  • Previous by thread: Shark problems
  • Next by thread: Re: Shark problems
  • Index(es):
    • Date
    • Thread