553 - Vehicle Error and Lag Researched
What steps will reproduce the problem?
1. Install !CooldownFader (http://wow.curse.com/downloads/wow-addons/details/cooldown-fader.aspx) and Bartender4
2. Get in a vehicle and move forward.
3. An error message will now pop up, explaining that there is a bug in the CooldownFader code resulting from NULL return values in a hooksecurefunc to CooldownFrame_SetTimer. However, this bug is not with CooldownFader. Later down in the error message, it mentions that the error involves the frame BT4Button84. I have used both addons together for as long as Bartender4 has been out. I managed to catch three different types of similar error messages. Resetting the Bartender profile did not help, but it produced the third error instead of the first error. Disabling the vehicle bar in bartender also did not help.
Running WoW English 4.0.3a. Let me know if you need any other information.
Message: Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 attempt to compare number with nil
Time: 12/09/10 05:42:25
Count: 1
Stack: Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 in function <Interface\AddOns\!CooldownFader\!CooldownFader.lua:69
[C]: in function `CooldownFrame_SetTimer'
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1034 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1032
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:909 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:903
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:899 in function `method'
Interface\FrameXML\RestrictedFrames.lua:721 in function <Interface\FrameXML\RestrictedFrames.lua:713
[C]: ?
[C]: ?
Interface\FrameXML\RestrictedFrames.lua:740 in function `CallMethod'
[string " self:RunAttribute("UpdateState", message)..."]:2: in function <[string " self:RunAttribute("UpdateState", message)..."]:1>
(tail call): ?
[C]: ?
...
[string " self:SetAttribute("state", newstate)..."]:2: in function <[string " self:SetAttribute("state", newstate)..."]:1>
(tail call): ?
[C]: ?
Interface\FrameXML\RestrictedExecution.lua:441 in function <Interface\FrameXML\RestrictedExecution.lua:412
(tail call): ?
Interface\FrameXML\SecureHandlers.lua:113 in function <Interface\FrameXML\SecureHandlers.lua:108
[C]: ?
[C]: in function `SetAttribute'
Interface\FrameXML\SecureStateDriver.lua:114 in function <Interface\FrameXML\SecureStateDriver.lua:95
Interface\FrameXML\SecureStateDriver.lua:127 in function <Interface\FrameXML\SecureStateDriver.lua:119
Locals: cooldownFrame = BT4Button84Cooldown {
0 = <userdata>
}
start = nil
duration = nil
enable = nil
frame = BT4Button84 {
FlyoutBorderShadow = BT4Button84FlyoutBorderShadow {
}
actionName = BT4Button84Name {
}
action = 0
border = BT4Button84Border {
}
flash = BT4Button84Flash {
}
_state_action = <table> {
}
icon = BT4Button84Icon {
}
count = BT4Button84Count {
}
state_actions = <table> {
}
id = 84
normalTexture = BT4Button84NormalTexture {
}
0 = <userdata>
__LAB_Version = 15
cooldown = BT4Button84Cooldown {
}
config = <table> {
}
FlyoutBorder = BT4Button84FlyoutBorder {
}
_state_type = "custom"
state_types = <table> {
}
FlyoutArrow = BT4Button84FlyoutArrow {
}
hotkey = BT4Button84HotKey {
}
header = BT4Bar7 {
}
}
(*temporary) = 1
(*temporary) = BT4Button84 {
FlyoutBorderShadow = BT4Button84FlyoutBorderShadow {
}
actionName = BT4Button84Name {
}
action = 0
border = BT4Button84Border {
}
flash = BT4Button84Flash {
}
_state_action = <table> {
}
icon = BT4Button84Icon {
}
count = BT4Button84Count {
}
state_actions = <table> {
}
id = 84
normalTexture = BT4Button84NormalTexture {
}
0 = <userdata>
__LAB_Version = 15
cooldown = BT4Button84Cooldown {
}
config = <table> {
}
FlyoutBorder = BT4Button84FlyoutBorder {
}
_state_type = "custom"
state_types = <table> {
}
FlyoutArrow = BT4Button84FlyoutArrow {
}
hotkey = BT4Button84HotKey {
}
header = BT4Bar7 {
}
}
(*temporary) = 1
(*temporary) = "attempt to compare number with nil"
ignoreFrame = <function> defined @Interface\AddOns\!CooldownFader\!CooldownFader.lua:65
MIN_DURATION = 1.5
updateFrame = <unnamed> {
0 = <userdata>
timeToUpdate = 0.049999997392297
}
CreateUpdateFrame = <function> defined @Interface\AddOns\!CooldownFader\!CooldownFader.lua:59
fadedFrames = <table> {
(null) = true
(null) = true
}
endCooldown = <function> defined @Interface\AddOns\!CooldownFader\!CooldownFader.lua:18
.
.
.
.
.
The second error:
.
Message: Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 attempt to compare number with nil
Time: 12/09/10 08:29:43
Count: 1
Stack: [C]: ?
Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 in function <Interface\AddOns\!CooldownFader\!CooldownFader.lua:69
[C]: in function `CooldownFrame_SetTimer'
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1034 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1032
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:909 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:903
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:899 in function `method'
Interface\FrameXML\RestrictedFrames.lua:721 in function <Interface\FrameXML\RestrictedFrames.lua:713
[C]: ?
[C]: ?
Interface\FrameXML\RestrictedFrames.lua:740 in function `CallMethod'
[string " self:RunAttribute("UpdateState", message)..."]:2: in function <[string " self:RunAttribute("UpdateState", message)..."]:1>
(tail call): ?
...
[string " self:SetAttribute("state", newstate)..."]:2: in function <[string " self:SetAttribute("state", newstate)..."]:1>
(tail call): ?
[C]: ?
Interface\FrameXML\RestrictedExecution.lua:441 in function <Interface\FrameXML\RestrictedExecution.lua:412
(tail call): ?
Interface\FrameXML\SecureHandlers.lua:113 in function <Interface\FrameXML\SecureHandlers.lua:108
[C]: ?
[C]: in function `SetAttribute'
Interface\FrameXML\SecureStateDriver.lua:114 in function <Interface\FrameXML\SecureStateDriver.lua:95
Interface\FrameXML\SecureStateDriver.lua:127 in function <Interface\FrameXML\SecureStateDriver.lua:119
Locals:
.
.
.
.
.
.
The third error:
Message: Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 attempt to compare number with nil
Time: 12/09/10 09:45:52
Count: 224
Stack: [C]: ?
Interface\AddOns\!CooldownFader\!CooldownFader.lua:75 in function <Interface\AddOns\!CooldownFader\!CooldownFader.lua:69
[C]: in function `CooldownFrame_SetTimer'
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1034 in function `method'
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:606 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:603
...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:688 in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:650
Locals:
| User | When | Change |
|---|---|---|
| Nevcairiel | Oct 22, 2011 at 18:07 UTC | Changed status from New to Invalid |
| Darceidus | Dec 10, 2010 at 02:41 UTC | Changed name from CooldownFrame_SetTimer Error to Vehicle Error and Lag Researched |
| Darceidus | Dec 09, 2010 at 15:56 UTC | Create |
- 3 comments
- 3 comments
Facts
- Last updated
- Oct 22, 2011
- Reported
- Dec 09, 2010
- Status
- Invalid - This was not a valid report.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #3
yvwiya Dec 13, 2010 at 22:41 UTC - 0 likesI will have to try that. Dissable Cooldowns when getting into a vehicle and see if that has the same effect as simply disabling Bartender. So far I have just been dissableing bartender and reseting UI every time I have to get into a vehicle as the only fix to the problem and it has worked.
- Reply
- #2
Nevcairiel Dec 13, 2010 at 09:21 UTC - 0 likesI have been doing alot of quests with vehicles, as well as vehicles in Instances, and i have not encountered any issues with it.
The error message you are quoting above does NOT happen without CooldownFader, and in fact, Bartender4 does the exact same thing as the default UI would, just calling CooldownFrame_SetTimer with the exact return values of GetActionCooldown.
Looking at CooldownFaders code, it has no check whatsoever if the input values are non-nil, and will just fail.
I actually discovered one small thing that could be responsible, i will investigate on that.
I suggest bringing this to !CooldownFaders author, as well.
- Reply
- #1
Darceidus Dec 10, 2010 at 02:25 UTC - 0 likesIn a related note, I see that there are other tickets that may be related to this:
http://www.wowace.com/addons/bartender4/tickets/545-constant-lag-spikes-when-doing-mounted-quest/ http://www.wowace.com/addons/bartender4/tickets/551-vehicle-errors/ http://www.wowace.com/addons/bartender4/tickets/547-mounted-actionbars/
I noticed that if I deleted the files in World of Warcraft\WTF\Account\<AccountName>, that the error would disappear but I would receive massive framerate loss whenever moving while riding a vehicle, similar to what those tickets are reporting. While my problem likely stems from compatibility with !CooldownFader, these other tickets are all using a mod called Cooldowns.
Edit: I tested again. Deleting these files clears my error message but causes unplayable framerate drops while in a vehicle: . bindings-cache.old . bindings-cache.wtf . cache.md5 . config-cache.old . config-cache.oldsynchronizeConfig . config-cache.wtf . macros-cache.old . macros-cache.text . SavedVariables.lua . SavedVariables.lua.bak .
I have also tested and confirmed that deleting my Addon folder and putting nothing except Bartender4 and !CooldownFader continues to cause the framerate drop.