NSTextView auto_refcount_underflow_error during spell check
NSTextView auto_refcount_underflow_error during spell check
- Subject: NSTextView auto_refcount_underflow_error during spell check
- From: "email@hidden" <email@hidden>
- Date: Mon, 22 Nov 2010 15:05:51 +0000
I have an NSTextView instance on OS X 10.6.3 that persistently logs the following error
auto_refcount_underflow_error
Breaking on this reveals that the underflow occurs on thread 4 in NSTextCheckingOperation.
I haven't seen this behaviour before with NSTextView so I am pretty certain that a misconfiguration is the cause.
The NSTextView instance is subclassed and is not instantiated from a nib (the codebase began life as Smultron).
Spelling implementation is that of a standard NSTextView and auto spell checking is not activated.
on thread 4
#0 0x96bfe133 in auto_refcount_underflow_error
#1 0x96c0a1ba in Auto::Zone::dec_refcount_small_medium
#2 0x96c0b79d in Auto::Zone::block_decrement_refcount
#3 0x96bf57f7 in auto_zone_release
#4 0x9811ce4f in _CFRelease
#5 0x98139c08 in CFMakeCollectable
#6 0x9768cca0 in -[NSDateCheckingResult initWithRange:date:timeZone:duration:referenceDate:underlyingResult:]
#7 0x95f63e64 in checkDataDetectors
#8 0x95f60168 in NSSpellCheckerCheckString
#9 0x95f87fdc in -[NSTextCheckingOperation main]
#10 0x975002d8 in -[__NSOperationInternal start]
#11 0x974fff65 in ____startOperations_block_invoke_2
#12 0x956871e4 in _dispatch_call_block_and_release
#13 0x956794b2 in _dispatch_worker_thread2
#14 0x95678f41 in _pthread_wqthread
#15 0x95678d86 in start_wqthread
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com
_______________________________________________
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