Regional Flag[Bug] How to crash a Mac!Source
avatar
Kameril
Target Source
#0 - 2007/12/11 06:11:52 AM
One of my testers reported that he experiences crashes in Mac OS 10.4 when running my addon. I've tracked it down to this piece of code, which works fine on Windows.

local tooltip = CreateFrame("GameTooltip")
tooltip:SetOwner(UIParent, "ANCHOR_NONE")
local right1, right2 = tooltip:CreateFontString(), tooltip:CreateFontString()
local duplicate = tooltip:CreateFontString()
tooltip:AddFontStrings(duplicate, duplicate)
tooltip:AddFontStrings(duplicate, right1)
tooltip:AddFontStrings(duplicate, right2)

I removed the 'duplicate' font string and just created a new instance instead of assigning the same one and the crashes are gone.

avatar
Blue Poster
Target Source
#9 - 2007/12/13 07:03:16 PM
I'd like to see the actual crash report text ?

avatar
Blue Poster
Target Source
#25 - 2007/12/15 12:48:13 AM
Kameril, any chance you could ZIP your interface folder and mail it in ?

wowmacteam123@blizzard.com