NSSearchField crash
NSSearchField crash
- Subject: NSSearchField crash
- From: Michael Rothwell <email@hidden>
- Date: Sun, 6 Feb 2005 17:09:58 -0500
While stress-testing the live-search feature of a program I'm working on, I managed to cause a crash. I was simply typing and deleting characters in the box, very rapidly. I was able to reproduce it. Below is what the backtrace looks like.
The crash didn't happen anywhere in my code, so I'm not sure what to do to prevent it. Has anyone seen this behavior before?
#0 0x908311ec in objc_msgSend ()
#1 0x90a03918 in -[NSAttributedString isEqualToAttributedString:] ()
#2 0x90a0d0a4 in -[NSAttributedString isEqual:] ()
#3 0x90191358 in CFEqual ()
#4 0x90192d84 in __CFDictionaryFindBuckets1b ()
#5 0x901a184c in CFDictionaryGetValueIfPresent ()
#6 0x92dee8b4 in -[NSStringDrawingTextStorage textContainerForAttributedString:] ()
#7 0x92df0c98 in -[NSTextView(NSPrivate) _blinkCaret:] ()
#8 0x92e1ca84 in _NSTextCellSize ()
#9 0x92e362f0 in -[NSTextFieldCell drawingRectForBounds:] ()
#10 0x92ea73c4 in -[NSSearchFieldCell searchTextRectForBounds:] ()
#11 0x92e819b0 in -[NSSearchFieldCell resetCursorRect:inView:] ()
#12 0x92de9f84 in -[NSControl resetCursorRects] ()
#13 0x92dcfb1c in -[NSView _resetCursorRects] ()
#14 0x9019f18c in CFArrayApplyFunction ()
#15 0x92dcfb74 in -[NSView _resetCursorRects] ()
#16 0x9019f18c in CFArrayApplyFunction ()
#17 0x92dcfb74 in -[NSView _resetCursorRects] ()
#18 0x92e56734 in -[NSWindow resetCursorRects] ()
#19 0x92e2e238 in -[NSCell alignment] ()
#20 0x90191ca0 in __CFRunLoopDoObservers ()
#21 0x9019153c in __CFRunLoopRun ()
#22 0x90195e8c in CFRunLoopRunSpecific ()
#23 0x927d5f60 in GetWindowList ()
#24 0x927dc640 in GetMainEventQueue ()
#25 0x927fe6a0 in BlockUntilNextEventMatchingListInMode ()
#26 0x92dd2e44 in _DPSNextEvent ()
#27 0x92de98c8 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#28 0x92dfdc30 in -[NSApplication run] ()
#29 0x92eba2b8 in NSApplicationMain ()
#30 0x002c6f74 in main (argc=1, argv=0xbffffcbc) at /Users/rothwell/projects/rtv2/mReplay/main.m:13
#31 0x00001e74 in start ()
#32 0x8fe1a558 in __dyld__dyld_start ()
<x-tad-smaller>Michael Rothwell
email@hidden
</x-tad-smaller> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden