• 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: App crashes at startup for Standard user accounts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App crashes at startup for Standard user accounts


  • Subject: Re: App crashes at startup for Standard user accounts
  • From: "a.j. mann" <email@hidden>
  • Date: Sat, 25 Nov 2006 22:48:02 -0500

On Nov 25, 2006, at 10:37 PM, Andrew Farmer wrote:

On 25 Nov 06, at 19:16, a.j. mann wrote:
On Nov 25, 2006, at 10:09 PM, Steve Christensen wrote:
Sure thing. Not sure exactly which part is the stack trace, but I assume this is what we're looking for? This is from the log on an Intel machine.


Exception:  EXC_BREAKPOINT (0x0006)
Code[0]:    0x00000002
Code[1]:    0x00000000

Thread 0 Crashed:
0 com.apple.Foundation 0x9262850b _NSRaiseError + 227
1 com.apple.Foundation 0x9264f2cb +[NSException raise:format:] + 57
2 com.apple.Foundation 0x925f00c3 -[NSString stringByAppendingString:] + 110
3 com.synacktic.PictureWindow 0x000025d4 -[AppController refreshInfo] + 56
4 com.synacktic.PictureWindow 0x0000237c -[AppController awakeFromNib] + 28

That's the important bit. Looks like you're doing something non- kosher to a string in the function -[AppController refreshInfo]. Any chance you're trying to do some operations on a string that might be nil?


Failing that, show us the code for that method?


Ah yes. It appears that if the directory has no image files in it I'm passing nil to the stringByAppendingString: method. Thanks for the help!


<aj />

---------------------------
http://macolyte.net

If you're running Windows, its not my fault, stop asking me to fix it.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >App crashes at startup for Standard user accounts (From: "a.j. mann" <email@hidden>)
 >Re: App crashes at startup for Standard user accounts (From: Steve Christensen <email@hidden>)
 >Re: App crashes at startup for Standard user accounts (From: "a.j. mann" <email@hidden>)
 >Re: App crashes at startup for Standard user accounts (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: App crashes at startup for Standard user accounts
  • Next by Date: Re: Opening a specific helppage with openHelpAnchor
  • Previous by thread: Re: App crashes at startup for Standard user accounts
  • Next by thread: NSTextAttachmentCell & cellbaselineoffset
  • Index(es):
    • Date
    • Thread