doadin / Baggins

zlib License
6 stars 7 forks source link

LibGratuity conflict with Bagnon #8

Closed WanderingFox closed 4 years ago

WanderingFox commented 4 years ago

Getting a C stack overflow in LibGratuity-3.0 after updating to the latest version of Baggins when attempting to open Bagnon.

Disabling baggins makes bagnon immediately start working, as does rolling back to an old (admittedly manually patched) version.

If this should be directed at bagnon's maintainer instead, please feel free to let me know :)

2x ...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: C stack overflow
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0-90042.lua:235: in function <...Ons\Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227>
...
Bagnon\common\Wildpants\features\commands.lua:28: in function `?'
FrameXML\ChatFrame.lua:4839: in function <FrameXML\ChatFrame.lua:4785>
[C]: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4502: in function <FrameXML\ChatFrame.lua:4501>
[C]: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:2998: in function <FrameXML\ChatFrame.lua:2991>
[C]: in function `UseAction'
FrameXML\SecureTemplates.lua:345: in function `handler'
FrameXML\SecureTemplates.lua:632: in function `SecureActionButton_OnClick'
[string "*:OnClick"]:4: in function <[string "*:OnClick"]:1>

Locals:
self = <table> {
 GetLibraryVersion = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:585
 argCheck = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:129
 error = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:75
 pcall = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:167
}
key = "IsItemCache"
(*temporary) = nil
(*temporary) = nil
(*temporary) = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:227
(*temporary) = <table> {
 GetLibraryVersion = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:585
 argCheck = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:129
 error = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:75
 pcall = <function> defined @LDB_Guild\lib\TabletLib\AceLibrary\AceLibrary.lua:167
}
(*temporary) = "IsItemCache"
(*temporary) = "C stack overflow"
lib = <table> {
 GetLine = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:178
 SetSpellBookItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 GetText = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:156
 SetHyperlink = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetShapeshift = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 FindDeformat = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:128
 SetPlayerBuff = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetCraftItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetQuestRewardSpell = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 MultiFind = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:114
 SetPetAction = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetUnitDebuff = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 CreateSetMethods = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:206
 NumLines = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:67
 Erase = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:51
 SetInboxItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetBuybackItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetGuildBankItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetUnitBuff = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetMerchantItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetQuestLogItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetUnit = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetTradeTargetItem = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetSpellByID = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 SetCraftSpell = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:210
 CreateTooltip = <function> defined @Baggins\Libs\LibGratuity-3.0\LibGratuity-3.0.lua:32
doadin commented 4 years ago

I think it should be directed at bagnon, the error isn't comeing from baggins code. The only reason baggins shows in that error is our copy of LibGratuity gets loaded first because our addon gets loaded first because our name. If theres no error with just bagnon then im guessing they use a modified version or you are.