lib customglow lua error #1488


Open
  • user_5npppjuhrj9bnfiz created this issue Apr 29, 2026

    hi there, on retail 3.3.30 version, sometimes I will get this lua error. I believe this has something to do with using "Highlight Effect". When this error occurs, the glow from the highlight effect (I was using glow border: Blizzard) will flash twice. This gif demonstrates it. 

     

    6769x ...minders/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:700: attempt to perform arithmetic on a secret number value (execution tainted by 'BuffReminders')
    [BuffReminders/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua]:700: in function <...minders/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:657>
    [Grid2/GridIndicatorEffects.lua]:86: in function 'Update'
    [Grid2/GridStatus.lua]:81: in function 'UpdateIndicators'
    [Grid2/modules/StatusAurasTemp.lua]:99: in function <Grid2/modules/StatusAurasTemp.lua:90>

    Locals:
    r=Frame <GridIndicator.lua:42>{
    BottomLeftCorner=Texture <NineSlice.lua:52>
    currentBackdrop=<table>
    colorCurveText=FontString <Cooldown.xml:3>
    RightEdge=Texture <NineSlice.lua:52>
    coolText=FontString <Cooldown.xml:3>
    stackText=FontString <IndicatorIcon.lua:44>
    _ButtonGlow=Frame <LibCustomGlow-1.0.lua:708>
    Cooldown=Cooldown <IndicatorIcon.lua:22>
    backdropInfo=<table>
    TopRightCorner=Texture <NineSlice.lua:52>
    Icon=Texture <IndicatorIcon.lua:16>
    TextFrame=Frame <IndicatorIcon.lua:39>
    __glowEnabled=true
    TopEdge=Texture <NineSlice.lua:52>
    Center=Texture <NineSlice.lua:52>
    BottomEdge=Texture <NineSlice.lua:52>
    TopLeftCorner=Texture <NineSlice.lua:52>
    BottomRightCorner=Texture <NineSlice.lua:52>
    LeftEdge=Texture <NineSlice.lua:52>
    }
    color=<table>{
    1=1
    2=0.388235
    3=0.278431
    4=1
    }
    frequency=0.120000
    frameLevel=8
    throttle=0.020833
    f=Frame <LibCustomGlow-1.0.lua:708>{
    spark=Texture <LibCustomGlow-1.0.lua:559>
    outerGlowOver=Texture <LibCustomGlow-1.0.lua:588>
    color=<table>
    innerGlow=Texture <LibCustomGlow-1.0.lua:566>
    throttle=0.020833
    outerGlow=Texture <LibCustomGlow-1.0.lua:581>
    animOut=AnimationGroup <UnknownFile:0>
    animIn=AnimationGroup <UnknownFile:0>
    innerGlowOver=Texture <LibCustomGlow-1.0.lua:573>
    ants=Texture <LibCustomGlow-1.0.lua:596>
    }
    width=19.999937
    height=19.999998
    (for state)=<table>{
    spark=true
    outerGlow=true
    ants=true
    outerGlowOver=true
    innerGlow=true
    innerGlowOver=true
    }
    (for control)="spark"
    texture="spark"
    (*temporary)=<no value>
    (*temporary)=1
    (*temporary)=1
    (*temporary)=nil
    (*temporary)="attempt to perform arithmetic on a secret number value (execution tainted by 'BuffReminders')"
    ButtonGlowTextures=<table>{
    spark=true
    outerGlow=true
    ants=true
    outerGlowOver=true
    innerGlow=true
    innerGlowOver=true
    }
    ButtonGlowPool=<table>
    Masque=nil

     

  • michaelsp posted a comment Apr 29, 2026

    Which statuses are you trying to highlight with a glow effet ? Debuffs statuses are secret in midnight so they simply cannot be highlighted.

  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    they are all buff statuses (rejuves, lifebloom, atonement, etc) All are nonsecret. 

     

    The highlights all still work but after 12.05, this library is giving these errors. 

  • michaelsp posted a comment Apr 29, 2026

    Aaccording to the LUA error the addon is crashing because  something is secret, so there is some secret status linked to a highlighted indicator.

    Can you post or send my your profile in text format (General/Profiles/Export&Import to export a profile).


    Edited Apr 29, 2026
  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    yes thank you. I have 3 indicators that have active glows (actually have status that glow them). The statuses are rejuvenation, germination, lifebloom, and atonement. The glows all work correctly. 

     



    Shared Text ehwrz5d5 - ShareText


    Edited Apr 29, 2026
  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    This is with only grid2, bugsack buggrabber enabled. I still cannot tell why the lua error. Can consistently replicate but cannot tell what is triggering it. 

     

  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    Here are two more examples. I think the lua error only occurs sometimes when there are also debuffs present though still not consistently replicable

  • michaelsp posted a comment Apr 29, 2026

    After watching the highlight code, grid2 never calls the libcustomglowlibrary with secrets, if there is some secret value the code simply do nothing.

    But the customglowlibrary is shared by many addons, so any addon passing any secret can taint/break the library.

    Try using grid2 alone, disabling other addons  specially addons that are including/using the libcustomglow library too, like BuffReminders.

     


    Edited Apr 29, 2026
  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    Yes of course. The above gifs are with grid2, buggrabber bugsack only. No other addons. 

     

    Since it only seems to happen when a debuff is present, maybe one part in the process somehow was asking for secret for debuffs instead of the nonsecret buffs. Maybe a blizzard issue also. 


    Edited Apr 29, 2026
  • michaelsp posted a comment Apr 29, 2026

    The lua error posted is crashing in the libray code provided by BuffReminders addon. So at least this addon was not disabled:

     

    [BuffReminders/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua]:700: in function <...minders/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:657>

  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    Oh the original crash was with some other addons. The gif I posted above was with grid2 only. I will get the crash report from grid2 only and report back. 


    Edited Apr 29, 2026
  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    Yeah the error is very similar with grid2 being the only addon. I can confirm that this only happens when a debuff is present as well. 

     

    14x ...s/Grid2/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:700: attempt to perform arithmetic on a secret number value (execution tainted by 'Grid2')
    [Grid2/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua]:700: in function <...s/Grid2/Libs/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:657>
    [Grid2/GridIndicatorEffects.lua]:86: in function 'Update'
    [Grid2/GridStatus.lua]:81: in function 'UpdateIndicators'
    [Grid2/modules/StatusAurasTemp.lua]:99: in function <Grid2/modules/StatusAurasTemp.lua:90>

     

    Locals:
    r=Frame <GridIndicator.lua:42>{
    BottomLeftCorner=Texture <NineSlice.lua:52>
    currentBackdrop=<table>
    colorCurveText=FontString <Cooldown.xml:3>
    RightEdge=Texture <NineSlice.lua:52>
    coolText=FontString <Cooldown.xml:3>
    stackText=FontString <IndicatorIcon.lua:44>
    _ButtonGlow=Frame <LibCustomGlow-1.0.lua:708>
    Cooldown=Cooldown <IndicatorIcon.lua:22>
    __glowEnabled=true
    backdropInfo=<table>
    TopRightCorner=Texture <NineSlice.lua:52>
    Icon=Texture <IndicatorIcon.lua:16>
    TextFrame=Frame <IndicatorIcon.lua:39>
    TopEdge=Texture <NineSlice.lua:52>
    Center=Texture <NineSlice.lua:52>
    BottomEdge=Texture <NineSlice.lua:52>
    TopLeftCorner=Texture <NineSlice.lua:52>
    BottomRightCorner=Texture <NineSlice.lua:52>
    LeftEdge=Texture <NineSlice.lua:52>
    }
    color=<table>{
    1=1
    2=0.388235
    3=0.278431
    4=1
    }
    frequency=0.120000
    frameLevel=8
    throttle=0.020833
    f=Frame <LibCustomGlow-1.0.lua:708>{
    spark=Texture <LibCustomGlow-1.0.lua:559>
    outerGlowOver=Texture <LibCustomGlow-1.0.lua:588>
    color=<table>
    innerGlow=Texture <LibCustomGlow-1.0.lua:566>
    throttle=0.020833
    outerGlow=Texture <LibCustomGlow-1.0.lua:581>
    animOut=AnimationGroup <UnknownFile:0>
    animIn=AnimationGroup <UnknownFile:0>
    innerGlowOver=Texture <LibCustomGlow-1.0.lua:573>
    ants=Texture <LibCustomGlow-1.0.lua:596>
    }
    width=19.999985
    height=20.000006
    (for state)=<table>{
    spark=true
    outerGlow=true
    ants=true
    outerGlowOver=true
    innerGlow=true
    innerGlowOver=true
    }
    (for control)="spark"
    texture="spark"
    (*temporary)=<no value>
    (*temporary)=1
    (*temporary)=1
    (*temporary)=nil
    (*temporary)="attempt to perform arithmetic on a secret number value (execution tainted by 'Grid2')"
    ButtonGlowTextures=<table>{
    spark=true
    outerGlow=true
    ants=true
    outerGlowOver=true
    innerGlow=true
    innerGlowOver=true
    }
    ButtonGlowPool=<table>
    Masque=nil

  • michaelsp posted a comment Apr 29, 2026

    It should not be related to debuffs or buffs, it looks like a much more weird issue with the secrets system, can you do this test ?

     

    1. Goto Statuses > Targeting&Distances > Range

    2. Change the Range from "38 yards" to "Heal Range"

    3. Reload the UI.

    4. Report back  if this fixes the issue or not


    Edited Apr 29, 2026
  • michaelsp posted a comment Apr 29, 2026

    You can try out version 3.3.31-beta. This version should not crash even with the standard 38y range.

    Maybe now the highlight is not going to work just in the same way than before,  because the crash is caused by a bug in a external library that i cannot fix, so i had to implement a non-perfect/ugly workaround.


    Edited Apr 29, 2026
  • user_5npppjuhrj9bnfiz posted a comment Apr 29, 2026

    hi sorry for the late reply. I will report back after raid night, in a few hours. This surely is a weird error! 

     

    On my priest, I was using spell range and on druid was 38 yards. Both were having that weird lua errors. 


To post a comment, please login or register a new account.