475 - Health bar error
What steps will reproduce the problem?
1. target something
2.
3.
What is the expected output? What do you see instead?
screenshot:
http://img375.imageshack.us/img375/8646/wowscrnshot070109131012z.jpg
What version of the product are you using?
Newest version as per curse client (4.0.0Beta1)
Do you have an error log of what happened?
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| cremor | Wed, 29 Jul 2009 15:38:52 | Changed status from Waiting to Replied |
| Shefki | Tue, 28 Jul 2009 05:37:57 | Changed status from Replied to Waiting |
| sfan27 | Mon, 27 Jul 2009 17:59:43 | Changed status from Waiting to Replied |
| Shefki | Sun, 26 Jul 2009 04:27:32 | Changed status from Replied to Waiting |
| esullivan | Thu, 09 Jul 2009 21:10:10 | Changed status from Waiting to Replied |
| Shefki | Thu, 09 Jul 2009 20:32:18 | Changed status from Replied to Waiting |
| esullivan | Thu, 09 Jul 2009 13:11:29 | Changed status from Waiting to Replied |
| Shefki | Thu, 09 Jul 2009 07:17:48 | Changed status from Replied to Waiting |
| sfan27 | Thu, 09 Jul 2009 06:48:35 | Changed status from Waiting to Replied |
| Shefki | Wed, 08 Jul 2009 22:54:56 | Changed status from Replied to Waiting |
| esullivan | Fri, 03 Jul 2009 12:56:26 | Changed status from Waiting to Replied |
| Shefki | Fri, 03 Jul 2009 08:17:52 | Changed status from New to Waiting |
| esullivan | Wed, 01 Jul 2009 18:16:25 | Create |
Facts
- Last updated on
- 29 Jul 2009
- Reported on
- 01 Jul 2009
- Status
- Replied - Someone has replied after waiting for more information.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- #26
cremor Thu, 13 Aug 2009 18:48:23I think this one is also related:
[2009/08/13 20:20:24-2408-x5]: PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:164 Usage: UnitGUID("unit")
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:164 in function `UpdateInfo'
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:79 in function `GetValue'
PitBull4-v4.0.0-beta3-4-g444072c\ModuleHandling\BarModule.lua:40 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:34
PitBull4-v4.0.0-beta3-4-g444072c\ModuleHandling\BarModule.lua:263 in function `UpdateFrame'
PitBull4-v4.0.0-beta3-4-g444072c\ModuleHandling\Module.lua:288 in function `Update'
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:159 in function `ClearFramesByGUID'
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:244 in function `FixCastData'
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:53 in function `FixCastDataAndUpdateAll'
PitBull4-v4.0.0-beta3-4-g444072c\Modules\CastBar\CastBar.lua:30 in function <...nterface\AddOns\PitBull4\Modules\CastBar\CastBar.lua:30
- #25
strikeq Tue, 11 Aug 2009 23:22:29Haven't got this error in awhile, but now it's back
- #24
cremor Fri, 31 Jul 2009 16:22:13Also got it in a newer version, v4.0.0-beta2-36-g7cdf1c4
[2009/07/31 18:20:16-2331-x1]: frame = PitBull4_Groups_MTTargetsUnitButton1; unit = nil; guid = 0x0400000001F69227; is_shown = nil:
Usage: UnitHealth("unit"):
PitBull4-v4.0.0-beta2-36-g7cdf1c4\ModuleHandling\BarModule.lua:39: in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:33>
PitBull4-v4.0.0-beta2-36-g7cdf1c4\ModuleHandling\BarModule.lua:216: in function `UpdateFrame'
PitBull4-v4.0.0-beta2-36-g7cdf1c4\ModuleHandling\Module.lua:288: in function `Update'
PitBull4-v4.0.0-beta2-36-g7cdf1c4\UnitFrame.lua:619: in function `Update'
PitBull4-v4.0.0-beta2-36-g7cdf1c4\UnitFrame.lua:645: in function `UpdateGUID'
PitBull4-v4.0.0-beta2-36-g7cdf1c4\Main.lua:1269: in function `CheckGUIDForUnitID'
PitBull4-v4.0.0-beta2-36-g7cdf1c4\Main.lua:1280: in function `?'
CallbackHandler-1.0-3 (Ace3):146: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):119: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118>
<in C code>: in function `TurnOrActionStop'
<string>:"TURNORACTION":4: in function <[string "TURNORACTION"]:1>
-- #23
cremor Wed, 29 Jul 2009 15:38:51Seems like someone managed to get the error in a newer version:
http://www.wowace.com/addons/pitbull4/tickets/529-power-bar-lua-error/
- #22
Shefki Tue, 28 Jul 2009 05:37:49I believe I've found the root cause of this. And the latest alpha push includes a fix for this. The timer for wacky frames was still updating them because we were checking if they were shown as opposed to checking if they were visible. This meant when a group was hidden, the guid would get cleared and then the wacky timer would come along and remove it.
It does not entirely explain the errors you are getting however, because I can't find a way to get the unit not to be set on the frame but the guid to be set. So this may not be the fix to this problem. However, either way we shouldn't have been updating those frames since they weren't visible anyway.
As a result I'm leaving the ticket open. If you guys stop seeing these errors for a while then I'll eventually close it. So please only post here if you're running v4.0.0-beta2-34-g1510aa4 or newer.
- #21
Shefki Mon, 27 Jul 2009 22:15:10BetterInBox is just mentioned because it's providing Ace3 for you.
The second error is showing up because the first one is being trapped by the code I put in. Usually without the code I put in the execution would stop at the first error.
After looking through these errors they probably are all caused by the same root cause but not really coming from the same place. Some of them come from the delayed reaper code that tears down group frames after you haven't been in a group frame for 5 minutes and slowly removes the frame over 10 minutes. So it's entirely possible that the error doesn't show until 15 minutes after the root cause.
Basically the problem is the guid set on the frame should always be cleared if the frame is hidden. But somehow the frames are being hidden and the guid is being left set on them. Which is perplexing.
- #20
sfan27 Mon, 27 Jul 2009 17:59:42I had two simultaneous errors. Both of them show BetterInbox, another addon, as well as pitbull. I was nowhere near a mailbox, and didn't receive new mail, so I don't get what BetterInbox has to do with anything.
Edit: Also, I wasn't in a group
[2009/07/27 10:54:03-899-x1]: frame = PitBull4_Groups_Party targetsUnitButton4; unit = nil; guid = 0xF13000830E658505; is_shown = nil:
Usage: UnitHealth("unit"):
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\BarModule.lua:39 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:33
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\BarModule.lua:216 in function `UpdateFrame'
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\Module.lua:288 in function `Update'
PitBull4-v4.0.0-beta2-33-g1a828df\UnitFrame.lua:619 in function `Update'
PitBull4-v4.0.0-beta2-33-g1a828df\GroupHeader.lua:1001 in function <Interface\AddOns\PitBull4\GroupHeader.lua:996
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceTimer-3.0-5 (BetterInbox):160: in function <...ddOns\BetterInbox\libs\AceTimer-3.0\AceTimer-3.0.lua:132
--
[2009/07/27 10:54:03-899-x1]: PitBull4-v4.0.0-beta2-33-g1a828df\Modules\HealthBar\HealthBar.lua:86 Usage: UnitHealthMax("unit")
PitBull4-v4.0.0-beta2-33-g1a828df\Modules\HealthBar\HealthBar.lua:86 in function `GetValue'
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\BarModule.lua:39 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:33
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\BarModule.lua:216 in function `UpdateFrame'
PitBull4-v4.0.0-beta2-33-g1a828df\ModuleHandling\Module.lua:288 in function `Update'
PitBull4-v4.0.0-beta2-33-g1a828df\UnitFrame.lua:619 in function `Update'
PitBull4-v4.0.0-beta2-33-g1a828df\GroupHeader.lua:1001 in function <Interface\AddOns\PitBull4\GroupHeader.lua:996
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceTimer-3.0-5 (BetterInbox):160: in function <...ddOns\BetterInbox\libs\AceTimer-3.0\AceTimer-3.0.lua:132
---
- #19
Shefki Sun, 26 Jul 2009 04:26:50I'm still working through how to fix this properly. The logs are helpful. The problem is that for some reason state on some frames is getting well out of sync with what it should be. So the errors are mostly just a side effect.
People who wish to help track this down should run the latest alpha which includes debug code to try and trace this down for me. Error logs with the extra data produced from this will be helpful. Thanks.
- #18
cremor Thu, 23 Jul 2009 20:54:38Got another error, I think it is related to the other ones:
[2009/07/23 22:54:07-2306-x1]: PitBull4-v4.0.0-beta2-8-ge94b734\Modules\PowerBar\PowerBar.lua:89 Usage: UnitPower("unit"[, type])
PitBull4-v4.0.0-beta2-8-ge94b734\Modules\PowerBar\PowerBar.lua:89 in function <...erface\AddOns\PitBull4\Modules\PowerBar\PowerBar.lua:88
PitBull4-v4.0.0-beta2-8-ge94b734\Modules\PowerBar\PowerBar.lua:108 in function `GetValue'
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:38 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:32
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:211 in function `UpdateFrame'
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\Module.lua:287 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\UnitFrame.lua:612 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\GroupHeader.lua:1000 in function <Interface\AddOns\PitBull4\GroupHeader.lua:995
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):160: in function <Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:132
- #17
cremor Wed, 22 Jul 2009 21:02:57Just got it with the modified code:
[2009/07/22 23:01:26-2301-x1]: frame = PitBull4_Groups_MTTargetsUnitButton3 unit = nil:
Usage: UnitHealth("unit"):
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:38 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:32
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:211 in function `UpdateFrame'
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\Module.lua:287 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\UnitFrame.lua:612 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\UnitFrame.lua:638 in function `UpdateGUID'
PitBull4-v4.0.0-beta2-8-ge94b734\Main.lua:1265 in function `CheckGUIDForUnitID'
PitBull4-v4.0.0-beta2-8-ge94b734\Main.lua:1276 in function `?'
CallbackHandler-1.0-3 (Ace3):146: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):119: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118
<in C code>: in function `TurnOrActionStop'
<string>:"TURNORACTION":4: in function <[string "TURNORACTION"]:1>
---
[2009/07/22 23:01:26-2301-x1]: PitBull4-v4.0.0-beta2-8-ge94b734\Modules\HealthBar\HealthBar.lua:87 Usage: UnitHealthMax("unit")
PitBull4-v4.0.0-beta2-8-ge94b734\Modules\HealthBar\HealthBar.lua:87 in function `GetValue'
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:38 in function <...terface\AddOns\PitBull4\ModuleHandling\BarModule.lua:32
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\BarModule.lua:211 in function `UpdateFrame'
PitBull4-v4.0.0-beta2-8-ge94b734\ModuleHandling\Module.lua:287 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\UnitFrame.lua:612 in function `Update'
PitBull4-v4.0.0-beta2-8-ge94b734\UnitFrame.lua:638 in function `UpdateGUID'
PitBull4-v4.0.0-beta2-8-ge94b734\Main.lua:1265 in function `CheckGUIDForUnitID'
PitBull4-v4.0.0-beta2-8-ge94b734\Main.lua:1276 in function `?'
CallbackHandler-1.0-3 (Ace3):146: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):119: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118
<in C code>: in function `TurnOrActionStop'
<string>:"TURNORACTION":4: in function <[string "TURNORACTION"]:1>