phanx-wow / PhanxChat

WoW AddOn — Removes chat frame clutter and adds some functionality.
Other
2 stars 3 forks source link

Error when joining BGs #17

Open ghost opened 7 years ago

ghost commented 7 years ago

When I click to Join a specific battleground, the following error is thrown and I cannot join the queue. If I disable Phanx, I can join fine.

Date: 2017-06-20 14:43:13 ID: 1 Error occured in: AddOn: PhanxChat Count: 1 Message: Error: AddOn PhanxChat attempted to call a forbidden function (JoinBattlefield()) from a tainted execution path. Debug:

Blizzard_PVPUI\Blizzard_PVPUI.lua:596: HonorFrame_Queue()

  [string "*:OnClick"]:1

Locals: None AddOns: PhanxChat, v7.1.0.1 BlizRuntimeLib_enUS v7.2.5.70200 (ck=dc5)

Phanx commented 7 years ago

I don't have an active account, so I can't actually test this. Here are some other things you can do to gather more info that might make it possible to fix the problem without testing. Do them while PhanxChat is the only addon enabled:

  1. Log in and try to join a BG without taking any other actions (don't click on anything, don't press any keys). Does the error still occur?

  2. Reload the UI, and try an alternate method of opening the BG queue window (eg. by clicking on the menu bar button, rather than by typing a slash command, or the other way around). Does the error still occur?

  3. Type /console taintLog 2. Reload the UI. Repeat whatever actions cause the error. Log out or exit (reloading the UI will not work). Find the Logs/taint.log file created inside your WoW program folder and attach it to the ticket.

(If you're not the OP, you won't be able to attach a file to a comment, so copy the log file into a gist and paste the link in your comment.)

Senatyan commented 6 years ago

I write with the help of Google translate strongly do not swear. I did what you asked for. Please fix my favorite addon for chat. taint.log

Senatyan commented 6 years ago

Hello. Please fix this bug. Phanx Chat is my favorite addon for chatting!

Phanx commented 6 years ago

Thanks, but I still need you to do the other parts of the test:

  1. Disable all addons except for PhanxChat.
  2. Log in. Do not click on anything or press any buttons except for what is listed below.
  3. Press the keyboard shortcut to open the battlegrounds window.
  4. Click to select a battleground.
  5. Click the Join button.

Do you still get the error?

If yes, then post the taint.log you got from that. (The log you posted includes lots of messages from other addons.)

If no, then try it again, but run around, click on things, press buttons, and open windows between logging in and trying to join a battleground. If the error happens now, post the taint.log from that.

If still no, then enable half of your other addons. If the error does not happen, disable those addons and enable the other half. When the error happens, disable half of the enabled addons. Continue this process until you narrow it down to one addon that makes the error happen when it and PhanxChat are the only addons enabled. If you are unable to identify a single addon as the cause, post a complete list of the addons you use.