crash in ThemeTextRelease
crash in ThemeTextRelease
- Subject: crash in ThemeTextRelease
- From: Jeremy Todd <email@hidden>
- Date: Sat, 04 Jun 2011 12:13:08 -0400
Hello,
We recently released an application with a crash reporter in it, and we're regularly getting a crash in the field with a call stack similar to this (not always identical though):
crash reason EXC_BREAKPOINT / EXC_I386_BPT crash address 0x9732b631
Frame Module Signature [Expand] Source
0 CoreFoundation __HALT
1 CoreFoundation __CFBasicHashRehash
2 CoreFoundation __CFBasicHashAddValue
3 CoreFoundation CFBasicHashAddValue
4 CoreFoundation CFDictionaryAddValue
5 HIToolbox TThemeTextCache::Release
6 HIToolbox ThemeTextRelease
7 HIToolbox DataEngine::GetTextDimensions
8 HIToolbox HIThemeGetTextDimensions
9 HIToolbox GetThemeTextDimensions
10 HIToolbox HIStandardMenuView::HIStandardMenuView
11 HIToolbox HIStandardMenuView::Construct
12 HIToolbox HIView::EventHandler
13 HIToolbox HIObject::Construct
14 HIToolbox HIObject::Create
15 HIToolbox HIObjectCreate
16 HIToolbox MenuData::CreateMenuContentView
17 HIToolbox MenuData::GetModalView
18 HIToolbox HIMenuGetContentView
19 Shortcut Shortcut@0x2319
20 Shortcut Shortcut@0x2113
21 HIToolbox DispatchEventToHandlers
22 HIToolbox SendEventToEventTargetInternal
23 HIToolbox SendEventToEventTargetWithOptions
24 HIToolbox SendTrackingStatus
25 HIToolbox SendBeginTracking
26 HIToolbox SetupMenuTracking
27 HIToolbox MenuSelectCore
28 HIToolbox _HandleMenuSelection2
29 HIToolbox _HandleMenuSelection
30 AppKit _NSHandleCarbonMenuEvent
31 AppKit _DPSNextEvent
32 AppKit -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
33 AppKit -[NSApplication run]
It seems to consistently relate to menus, eventually calling in to "HIToolbox ThemeTextRelease". I looked online and found a few other references to crashes with similar call stacks. Interestingly they were all in audio apps (Cubase, Ableton Live, and our iZotope RX), so perhaps they would all be using CoreAudio, but I can't see what that would have to do with the crash. Some of the crashes are more than 2 years old, and our reports are happening regularly even now, across 10.5 and 10.6.
Does anyone know of any issues with menus or text that might be relevant here? Or can anyone suggest a place for us to look in our app's code to find the cause? It seems like our use of NSMenu is suspect (we build and rebuild our app's menus quite often) so we'll certainly take a closer look there.
Regards,
Jeremy
_______________________________________________
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