[6.2] A lua error appears when changing zones on a DK #885


  • Defect
  • Fixed
Closed
Assigned to shadowed103
  • _ForgeUser17513716 created this issue Jun 24, 2015

    What steps will reproduce the problem?
    1. Log a DK;
    2. Turn on Lua errors;
    3. Use any portal, enter any dungeon.

    What version of the product are you using?
    v4.0.9

    Do you have an error log of what happened?
    http://pastebin.com/eV9gw9rG

    Please provide any additional information below.
    For some reason this function executes 6 times whenever you experience a loading screen.
    All this three variables are nil:

    local startTime, cooldown, cooled = GetRuneCooldown(id)
    


    Here's how I've fixed it, but I've no idea if that's a clear solution: http://pastebin.com/Bn4pyjtp

  • _ForgeUser17513716 added the tags New Defect Jun 24, 2015
  • Farmbuyer posted a comment Jul 5, 2015

    Seeing the same error here as of client 6.2, with the same six-times-all-nil behavior.

  • mcremor posted a comment Jul 5, 2015

    Same error also happens with the latest alpha version.

  • _ForgeUser291481 posted a comment Jul 25, 2015

    I also get a follow-up lua-error from Blizzard-frames due to it, which droped my FPS to the ground today:

    36x ShadowedUnitFrames\modules\runes-Runes.lua:87: attempt to perform arithmetic on local 'startTime' (a nil value) ShadowedUnitFrames\modules\runes-Runes.lua:87: in function `?' ShadowedUnitFrames\modules\units.lua:225: in function <ShadowedUnitFrames\modules\units.lua:222>  Locals: self = SUFUnitplayer {  vehicleUnit = "vehicle"  OnEnter = <function> defined @ShadowedUnitFrames\modules\units.lua:697  portrait = <unnamed> {  }  UnregisterAll = <function> defined @ShadowedUnitFrames\modules\units.lua:136  isDead = false  SetAuraAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:162  registeredEvents = <table> {  }  UnitClassToken = <function> defined @ShadowedUnitFrames\modules\units.lua:704  powerBar = <unnamed> {  }  RegisterNormalEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:62  SetVisibility = <function> defined @ShadowedUnitFrames\modules\units.lua:257  topFrameLevel = 5  RegisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:109  SetBlockColor = <function> defined @ShadowedUnitFrames\modules\units.lua:202  unitType = "player"  SetRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:189  visibility = <table> {  }  xpBar = <unnamed> {  }  indicators = <unnamed> {  }  unitInitialized = true  unitRealType = "player"  unit = "player"  ReregisterUnitEvents = <function> defined @ShadowedUnitFrames\modules\units.lua:41  portraitTexture = <unnamed> {  }  fontStrings = <table> {  }  unitGUID = "Player-1403-054D2724"  hasStateWatch = false  SetBarColor = <function> defined @ShadowedUnitFrames\modules\units.lua:198  comboPoints = <unnamed> {  }  altPowerBar = <unnamed> {  }  healAbsorb = <unnamed> {  }  runeBar = <unnamed> {  }  combatText = <unnamed> {  }  highFrame = <unnamed> {  }  OnLeave = <function> defined @FrameXML\UnitFrame.lua:399  UnregisterSingleEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:86  DisableRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:180  healthBar = <unnamed> {  }  fullUpdates = <table> {  }  UnregisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:126  0 = <userdata>  BlizzRegisterUnitEvent = <function> defined =[C]:-1  CreateOnUpdate = <function> defined @ShadowedUnitFrames\modules\units.lua:668  FullUpdate = <function> defined @ShadowedUnitFrames\modules\units.lua:33  RegisterUnitEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:103  unitOwner = "player" } event = "RUNE_POWER_UPDATE" unit = 1 (for generator) = <function> defined =[C]:-1 (for state) = <table> {  (null) = "UpdateUsable" } (for control) = <table> {  moduleClass = "DEATHKNIGHT"  moduleHasBar = true  Update = <function> defined @ShadowedUnitFrames\modules\runes.lua:116  OnLayoutWidgets = <function> defined @ShadowedUnitFrames\modules\helpers.lua:23  UpdateColors = <function> defined @ShadowedUnitFrames\modules\runes.lua:105  UpdateUsable = <function> defined @ShadowedUnitFrames\modules\runes.lua:76  OnEnable = <function> defined @ShadowedUnitFrames\modules\runes.lua:8  OnLayoutApplied = <function> defined @ShadowedUnitFrames\modules\runes.lua:40  moduleKey = "runeBar"  DisableTag = <function> defined @ShadowedUnitFrames\modules\helpers.lua:13  moduleName = "Rune bar"  OnDisable = <function> defined @ShadowedUnitFrames\modules\runes.lua:36  EnableTag = <function> defined @ShadowedUnitFrames\modules\helpers.lua:9 } handler = <table> {  moduleClass = "DEATHKNIGHT"  moduleHasBar = true  Update = <function> defined @ShadowedUnitFrames\modules\runes.lua:116  OnLayoutWidgets = <function> defined @ShadowedUnitFrames\modules\helpers.lua:23  UpdateColors = <function> defined @ShadowedUnitFrames\modules\runes.lua:105  UpdateUsable = <function> defined @ShadowedUnitFrames\modules\runes.lua:76  OnEnable = <function> defined @ShadowedUnitFrames\module
    


    The follow-up one:

    8x integer overflow attempting to store 2236121012 [C]: in function `format' FrameXML\RaidFrame.lua:181: in function `RaidInfoFrame_Update' FrameXML\RaidFrame.lua:84: in function `RaidFrame_OnEvent' Blizzard_RaidUI\Blizzard_RaidUI.lua:167: in function <Blizzard_RaidUI\Blizzard_RaidUI.lua:166>  Locals: scrollToSelected = true scrollFrame = RaidInfoScrollFrame {  0 = <userdata>  buttons = <table> {  }  scrollChild = RaidInfoScrollFrameScrollChild {  }  scrollUp = RaidInfoScrollFrameScrollBarScrollUpButton {  }  scrollDown = RaidInfoScrollFrameScrollBarScrollDownButton {  }  scrollBar = RaidInfoScrollFrameScrollBar {  }  offset = 0  buttonHeight = 30  update = <function> defined @FrameXML\RaidFrame.lua:143 } savedInstances = 4 savedWorldBosses = 0 instanceName = "The Everbloom" instanceID = 2236121012 instanceReset = 25852 instanceDifficulty = 2 locked = true extended = false instanceIDMostSig = 524550144 isRaid = false maxPlayers = 5 difficultyName = "Heroic" frameName = nil frameNameText = nil frameID = nil frameReset = nil width = nil offset = 0 buttons = <table> {  1 = RaidInfoScrollFrameButton1 {  }  2 = RaidInfoScrollFrameButton2 {  }  3 = RaidInfoScrollFrameButton3 {  }  4 = RaidInfoScrollFrameButton4 {  }  5 = RaidInfoScrollFrameButton5 {  }  6 = RaidInfoScrollFrameButton6 {  }  7 = RaidInfoScrollFrameButton7 {  } } numButtons = 7 buttonHeight = 30 mouseIsOverScrollFrame = false (for index) = 1 (for limit) = 7 (for step) = 1 i = 1 frame = RaidInfoScrollFrameButton1 {  difficulty = RaidInfoScrollFrameButton1Difficulty {  }  name = RaidInfoScrollFrameButton1Name {  }  instanceID = 2236121012  extended = RaidInfoScrollFrameButton1Extended {  }  0 = <userdata>  reset = RaidInfoScrollFrameButton1Reset {  } } index = 1
    


  • _ForgeUser17513716 posted a comment Jul 26, 2015

    Clarx, that error is not related to the one described to in the ticket. Basically, something in your raid lockouts causes Blizzard's code to break. I have the same issue on 2 of my characters. Even with no addons. You get the lua error 1) after a loading screen; 2) when you open Social -> Raid; 3) when you open raid lockouts.

  • _ForgeUser291481 posted a comment Aug 1, 2015

    @WonderfulHorrors: Go

    ok, the "follow-up" one is not related, you are right, as I got it now a few times on other toons then my DK, yet the first error is clearly DK-related and the one this ticket is all about.

  • Shadowed103 removed a tag New Aug 7, 2015
  • Shadowed103 added a tag Fixed Aug 7, 2015
  • Shadowed103 closed issue Aug 7, 2015

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