VoiceOver/Accessibility APIs causing an underflow error in GC

Originator:pilky
Number:rdar://7079054 Date Originated:21-Jul-2009 07:53 PM
Status:Open Resolved:No
Product:Mac OS X Product Version:10.5.7
Classification:Other Bug Reproducible:Always
 
Summary:
When using VoiceOver in a Garbage Collection enabled app, a series of errors are output along the lines of:

Minim(27747,0xa06e4720) malloc: reference count underflow for 0x10e1290, break on auto_refcount_underflow_error to debug.


Steps to Reproduce:
Open a GC application (eg Xcode) and a console window. Then enable VoiceOver. You should see a series of those errors appearing


Expected Results:
The errors should not appear


Actual Results:
The errors appear


Notes:
I set a breakpoint as recommended in the error and got the following stack trace:

#0	0x90ca0233 in auto_refcount_underflow_error
#1	0x90cabab0 in Auto::Zone::dec_refcount_small_medium
#2	0x90cabc0e in Auto::Zone::block_decrement_refcount
#3	0x9417e5b2 in CFRelease
#4	0x92d70d0e in _AXXMIGCopyMultipleAttributeValues
#5	0x92d79a08 in _XCopyMultipleAttributeValues
#6	0x92d414d8 in mshMIGPerform
#7	0x9417c888 in CFRunLoopRunSpecific
#8	0x9417cc78 in CFRunLoopRunInMode
#9	0x949d928c in RunCurrentEventLoopInMode
#10	0x949d90a5 in ReceiveNextEventCommon
#11	0x949d8f19 in BlockUntilNextEventMatchingListInMode
#12	0x91679d0d in _DPSNextEvent
#13	0x916795c0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#14	0x916725fb in -[NSApplication run]
#15	0x9163f834 in NSApplicationMain
#16	0x00002795 in main at main.m:78

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!