Hi,

my app keeps annoying me by crashing at launch every now and then.
What's weird about the backtrace is that it tells me I have called a
CLASS method named setFrame:. The class varies: in this case it says
NSClipView, sometimes is says NSAttributedString, or NSObject, or
whatever. Of course, I don't make any such calls explicitly, and most
of the time the app launches just fine. Any idea what the problem
could be, or how to locate it with gdb? I never learned using the
debugger properly.

Thanks
Fabian

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** +[NSClipView setFrame:]:
unrecognized selector sent to class 0xa0370c60'

Thread 0 Crashed:
0   com.apple.CoreFoundation            0x90df3fb4
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1   libobjc.A.dylib                     0x94babe3b objc_exception_throw + 40
2   com.apple.CoreFoundation            0x90dfb3ca +[NSObject
doesNotRecognizeSelector:] + 186
3   com.apple.CoreFoundation            0x90df990c ___forwarding___ + 892
4   com.apple.CoreFoundation            0x90df99d2 _CF_forwarding_prep_0 + 50
5   com.apple.imageKit                  0x90a9cdc0 -[IKImageFlowView
_adjustScroller] + 219
6   com.apple.imageKit                  0x90a9ced3 -[IKImageFlowView
frameDidChange:] + 66
7   com.apple.Foundation                0x9569ce1a _nsnote_callback + 106
8   com.apple.CoreFoundation            0x90d5b8da __CFXNotificationPost + 362
9   com.apple.CoreFoundation            0x90d5bbb3
_CFXNotificationPostNotification + 179
10  com.apple.Foundation                0x9569a080 -[NSNotificationCenter
postNotificationName:object:userInfo:] + 128
11  com.apple.Foundation                0x956a38c8 -[NSNotificationCenter
postNotificationName:object:] + 56
12  com.apple.AppKit                    0x92aeef43 -[NSView
_postFrameChangeNotification] + 198
13  com.apple.AppKit                    0x92af4db3 -[NSView setFrameSize:] + 788
14  com.apple.AppKit                    0x92af4a71 -[NSView setFrame:] + 253
15  com.myCompany.myApp                 0x0003c7bc 0x1000 + 243644
16  com.apple.CoreFoundation            0x90e02915 -[NSSet
makeObjectsPerformSelector:] + 181
17  com.apple.AppKit                    0x92adc45a -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 1533
18  com.apple.AppKit                    0x92ad2686 loadNib + 264
19  com.apple.AppKit                    0x92ad1fe8 +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 946
20  com.apple.AppKit                    0x92ad1c2b +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:] + 171
21  com.apple.AppKit                    0x92ad1b69 +[NSBundle(NSNibLoading)
loadNibNamed:owner:] + 391
22  com.apple.AppKit                    0x92ad1818 NSApplicationMain + 434
23  com.myCompany.myApp                 0x00002942 0x1000 + 6466
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to