Re: Assertion failure in -[NSNextStepFrame lockFocus]
Re: Assertion failure in -[NSNextStepFrame lockFocus]
- Subject: Re: Assertion failure in -[NSNextStepFrame lockFocus]
- From: "Apparao Mulpuri" <email@hidden>
- Date: Thu, 15 May 2008 16:11:18 +0530
Here is the complete stacktrace:
2008-05-15 15:58:53.730 MyCocoaApp[618:10b] *** Assertion failure in
-[NSNextStepFrame lockFocus],
/SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751
2008-05-15 15:58:53.737 MyCocoaApp[618:10b] NSExceptionHandler has
recorded the following exception:
NSInternalInconsistencyException -- -[NSNextStepFrame(0x146050)
lockFocus] failed with window=0x1457e0, windowNumber=230, [self
isHiddenOrHasHiddenAncestor]=0
Stack trace: 0x34dbc 0x9416676c 0x95df9e04 0x9112cde4 0x9569235c
0x956914c8 0x9568610c 0x956d0650 0x95809cdc 0x9587d248 0x956bb1fc
0x47b4 0x9569f3bc 0x9573aabc 0x9573a7ec 0x9571bfac 0x92d58f6c
0x92d58104 0x92d750e4 0x92daafd4 0x92dd183c 0x92dd1728 0x92e239dc
0x92e233b0 0x957f14a4 0x958257d4 0x95acfb74 0x95acf52c
0x9569da7c 0x9569c340 0x95792338 0x9566f79c 0x955dca6c 0x955ad448
0x224c 0x1f50 0x1
NSExceptionHandlerExceptionRaiser (in ExceptionHandling)
objc_exception_throw (in libobjc.A.dylib)
+[NSException raise:format:] (in CoreFoundation)
-[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] (in
Foundation)
-[NSView lockFocus] (in AppKit)
-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
(in AppKit)
-[NSWindow _setFrameCommon:display:stashSize:] (in AppKit)
-[NSMoveHelper _stopAnimation] (in AppKit)
-[NSMoveHelper _doAnimation] (in AppKit)
-[NSMoveHelper _resizeWindow:toFrame:display:] (in AppKit)
-[NSWindow setFrame:display:animate:] (in AppKit)
-[MyController changeGridType:] (in MyCocoaApp)
-[NSApplication sendAction:to:from:] (in AppKit)
-[NSMenu performActionForItemAtIndex:] (in AppKit)
-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] (in AppKit)
AppKitMenuEventHandler (in AppKit)
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
HandlerCallRec*) (in HIToolbox)
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) (in HIToolbox)
SendEventToEventTarget (in HIToolbox)
SendHICommandEvent(unsigned long, HICommand const*, unsigned long,
unsigned long, unsigned char, OpaqueEventTargetRef*,
OpaqueEventTargetRef*, OpaqueEventRef**) (in HIToolbox)
SendMenuItemSelectedEvent (in HIToolbox)
FinishMenuSelection(MenuData*, MenuData*, MenuResult*, MenuResult*,
unsigned long, unsigned long, unsigned long, unsigned char) (in
HIToolbox)
PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short,
unsigned int, Rect const*, unsigned short, unsigned long, Rect const*,
Rect const*, __CFString const*, OpaqueMenuRef**, unsigned short*) (in
HIToolbox)
_HandlePopUpMenuSelection7 (in HIToolbox)
_NSPopUpCarbonMenu3 (in AppKit)
-[NSCarbonMenuImpl
popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:]
(in AppKit)
+[NSStatusBarButtonCell popupStatusBarMenu:inRect:ofView:withEvent:] (in AppKit)
-[NSStatusBarButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
-[NSControl mouseDown:] (in AppKit)
-[NSWindow sendEvent:] (in AppKit)
-[NSStatusBarWindow sendEvent:] (in AppKit)
-[NSApplication sendEvent:] (in AppKit)
-[NSApplication run] (in AppKit)
NSApplicationMain (in AppKit)
_start (in MyCocoaApp)
start (in MyCocoaApp)
On Thu, May 15, 2008 at 2:54 PM, Apparao Mulpuri
<email@hidden> wrote:
> Here is the Stacktrace:
>
> 2008-05-15 14:45:33.469 MyCocoaApp[554:10b] NSExceptionHandler has
> recorded the following exception:
> NSInternalInconsistencyException -- -[NSNextStepFrame(0x12e0d0)
> lockFocus] failed with window=0x145b30, windowNumber=340, [self
> isHiddenOrHasHiddenAncestor]=0
> Stack trace: 0x34dbc 0x9416676c 0x95df9e04 0x9112cde4 0x9569235c
> 0x956914c8 0x955e5498 0x955e52f8 0x95d8b018 0x95d8c1c8 0x92d823a8
> 0x92d82134 0x92d8200c 0x955e33c0 0x955e2d88 0x955dca44
> 0x955ad448 0x251c 0x2220 0x1
> 2008-05-15 14:45:33.470 MyCocoaApp[554:10b]
> -[NSNextStepFrame(0x12e0d0) lockFocus] failed with window=0x145b30,
> windowNumber=340, [self isHiddenOrHasHiddenAncestor]=0
> 2008-05-15 14:45:33.508 MyCocoaApp[554:10b] *** Assertion failure in
> -[NSNextStepFrame lockFocus],
> /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751
>
>
> On Thu, May 15, 2008 at 10:01 AM, Jens Alfke <email@hidden> wrote:
>>
>> On 14 May '08, at 9:17 PM, Apparao Mulpuri wrote:
>>
>>>> ** Assertion failure in -[NSNextStepFrame lockFocus],
>>>> /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751
>>>> May 14 17:37:39 apparao-power-mac-g5 MyCocoaApp[123]:
>>>> -[NSNextStepFrame(0x143610) lockFocus] failed with window=0x142e60,
>>>> windowNumber=62, [self isHiddenOrHasHiddenAncestor]
>>
>> What's the backtrace?
>> Set a breakpoint at objc_exception_throw to find out.
>>
>> —Jens
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden