data browser crashes handling kEventAccessibleGetNamedAttribute
data browser crashes handling kEventAccessibleGetNamedAttribute
- Subject: data browser crashes handling kEventAccessibleGetNamedAttribute
- From: Jim Matthews <email@hidden>
- Date: Wed, 5 Jan 2005 20:26:44 -0500
If I:
* Enable access for assistive devices
* Enable text-to-speech for Universal Access preferences
* Have the system speak the text under the mouse
at certain points my app crashes (on 10.3.5). The crash is in HIToolbox:
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x9287f4e0 in TContainer::ListItemRef::ItemProperty(unsigned long) const ()
(gdb) bt
#0 0x9287f4e0 in TContainer::ListItemRef::ItemProperty(unsigned long) const ()
#1 0x928426bc in TListData::CachedData(Cell32 const&) const ()
#2 0x92a4d4d0 in TListView::GetOutlineCellTitle(unsigned long,
unsigned long) ()
#3 0x92a4c38c in TListView::GetCellAttribute(OpaqueEventRef*,
unsigned long, unsigned long, __CFString const*) ()
#4 0x92a4e424 in
TListView::GetNamedOutlineAttribute(OpaqueEventRef*, unsigned long
long) ()
#5 0x929a62d8 in OutlineAccessHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) ()
#6 0x927d1fc8 in DispatchEventToHandlers ()
#7 0x927d223c in SendEventToEventTargetInternal ()
#8 0x927d66bc in SendEventToEventTargetWithOptions ()
#9 0x92a50ae8 in Accessible::SendEvent(OpaqueEventRef*, bool) const ()
#10 0x929be194 in Accessible::GetNamedAttributeData(__CFString
const*, void const*, void const**, unsigned char*) ()
#11 0x929b830c in CarbonCopyAttributeValueCallback(__CFData const*,
unsigned long, __CFString const*, void const**, void*) ()
#12 0x92d5caf4 in _AXXMIGCopyAttributeValue ()
#13 0x92d5ff90 in _XCopyAttributeValue ()
#14 0x92d4fc80 in AccessibilityClientDefs_server ()
#15 0x92d6bedc in axServerMessageHandler ()
#16 0x901ad330 in __CFMachPortPerform ()
#17 0x901a9ab4 in __CFRunLoopDoSource1 ()
#18 0x90191980 in __CFRunLoopRun ()
#19 0x90195f1c in CFRunLoopRunSpecific ()
#20 0x927d5f88 in RunCurrentEventLoopInMode ()
#21 0x927dc6f0 in ReceiveNextEventCommon ()
#22 0x927fe1c8 in AcquireNextEventInMode ()
#23 0x927fb698 in RunApplicationEventLoop ()
#24 0x00007164 in main_trial_nondebug() ()
#25 0x00003c80 in main ()
When I install a kEventAccessibleGetNamedAttribute handler on my
app's data browser control, and use CallNextEventHandler to call
through to the system's, the crash happens during a call asking for
the kAXValueAttribute ("AXValue") attribute. As far as I can tell my
data browser callbacks are not being called by the system's handler,
so I'm not sure what I could be doing wrong.
Any suggestions?
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden