Re: App crashes at startup for Standard user accounts
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:16:12 -0500
On Nov 25, 2006, at 10:09 PM, Steve Christensen wrote:
On Nov 25, 2006, at 6:07 PM, a.j. mann wrote:
I'm very much a Cocoa newbie, so I hope it's ok to post newbie
questions here. If not, I'll happily take suggestions on where to
go. On to my problem. I'm working on my first Cocoa application
"from scratch". It's a simple image viewer, doesn't do anything
really complex. However, when I try to run it from a standard
user account [on both PPC and Intel], it crashes on startup. As
an admin [again on both PPC and Intel], it works perfectly.
It started happening after I added preferences, but I'm not sure
if that's what's causing it as I pretty much just adapted what was
in Aaron Hillegass's Cocoa Programming for Mac OS X [2nd Ed.]. As
an admin, it's writing the user defaults to ~/Library/Preferences
as it should, so I don't think it's a permissions issue [could be
wrong of course]. I'm sure that's hardly enough information to
diagnose the problem, but I'm not really sure where to start
looking. I've got the crash log, but I can't for the life of me
decipher it. I've also Googled everything I could think of and
not found anything. Any guidance/direction would be greatly
appreciated.
How about attaching just the stack trace portion of the crash log.
That should at least give some starting clues...
steve
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
5 com.apple.Foundation 0x925ed670 -[NSSet
makeObjectsPerformSelector:] + 164
6 com.apple.AppKit 0x93266686 -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 1015
7 com.apple.AppKit 0x9325d98d loadNib + 260
8 com.apple.AppKit 0x9325d3b9 +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 918
9 com.apple.AppKit 0x9325d01a +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] + 164
10 com.apple.AppKit 0x9325cf5c +[NSBundle(NSNibLoading)
loadNibNamed:owner:] + 392
11 com.apple.AppKit 0x9325cca3 NSApplicationMain + 433
12 com.synacktic.PictureWindow 0x000021aa _start + 216
13 com.synacktic.PictureWindow 0x000020d1 start + 41
Thread 1:
0 libSystem.B.dylib 0x90009857 mach_msg_trap + 7
1 com.unsanity.ape 0xc0001cac __ape_agent + 307
2 libSystem.B.dylib 0x90023d87 _pthread_body + 84
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00008000 ebx: 0x92628436 ecx: 0x90a55218 edx: 0x0031dfe0
edi: 0x0033cbe0 esi: 0x0033cc80 ebp: 0xbffff9d8 esp: 0xbffff970
ss: 0x0000001f efl: 0x00000246 eip: 0x9262850b cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
<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