Weird freezes related to NSRulerViews
Weird freezes related to NSRulerViews
- Subject: Weird freezes related to NSRulerViews
- From: Brent Gulanowski <email@hidden>
- Date: Mon, 8 Jul 2002 22:55:54 -0400
In the app I'm working on (complete source on sourceforge:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/inkubator/hailstone/source/
StormCloud ), sometimes the app will stop responding, and the debugger
always shows it stuck in an NSRulerView-related method.
I'm not 100% this is where the root of the problem is, because I've turned
off the rulers and sometimes it still gives me the wait cursor in a
similar fashion, but this is where it's always sticking now. The last
thing I do is select a change of viewing angle for the OpenGL view that is
the document view that the Rulers are for. I can still move windows, but
the redraw won't finish.
It's annoying I can't be more specific but I'm really in the dark for what
would cause this.
Here's a stack trace if it helps.
#0 0x706bab54 in objc_msgSend ()
#1 0x70d62320 in -[NSRulerView(NSPrivate)
_hashMarkDictionaryForDocView:measurementUnitToBoundsConversionFactor:stepUpCycle:
stepDownCycle:minimumHashSpacing:minimumLabelSpacing:] ()
#2 0x70d62740 in -[NSRulerView(NSPrivate)
_hashMarkDictionaryForDocumentView:measurementUnitName:] ()
#3 0x70d62858 in -[NSRulerView(NSPrivate) _hashMarkDictionary] ()
#4 0x70d5fb38 in -[NSRulerView drawHashMarksAndLabelsInRect:] ()
#5 0x70d60a5c in -[NSRulerView drawRect:] ()
#6 0x70c39cf8 in -[NSView _drawRect:clip:] ()
#7 0x70c829c8 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:
] ()
#8 0x70d5f530 in -[NSRulerView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#9 0x70bac610 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:] ()
(((( etc. ))))
When I force the frame to return, I get this:
2002-07-08 22:36:48.817 StormCloud[2826] *** -[NSCFArray floatValue]:
selector not recognized
and things work from there.
Confused,
Brent
--
Inkubator: creating free, open source Mac games.
http://inkubator.idevgames.com - homepage
http://www.sourceforge.net/project/inkubator - project page
http://64.246.17.165/forum/forumdisplay.php?s=&forumid=17 - discussion
forums
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.