Jump to content

Stack Overflow by MoveToConatiner

Pending 1.5.1

Getting server dropped due to XSkinMenu

] in <c41dc359ba5144b69f29223740a76cc3>:0
  at Item.SetParent (ItemContainer) [0x00040] in <c41dc359ba5144b69f29223740a76cc3>:0
  at Item.MoveToContainer (ItemContainer,int,bool,bool,BasePlayer,bool) [0x00504] in <c41dc359ba5144b69f29223740a76cc3>:0
  at Oxide.Plugins.XSkinMenu.SSI (BasePlayer,Item,ulong,string,bool,bool) [0x002dc] in <9f73060bc3b14bb593fc5842dd16eba1>:0
  at Oxide.Plugins.XSkinMenu.SetSkinCraftGive (BasePlayer,Item,bool) [0x000b9] in <9f73060bc3b14bb593fc5842dd16eba1>:0
  at Oxide.Plugins.XSkinMenu.OnItemAddedToContainer (ItemContainer,Item) [0x001fe] in <9f73060bc3b14bb593fc5842dd16eba1>:0
  at Oxide.Plugins.XSkinMenu.DirectCallHook (string,object&,object[]) [0x01003] in <9f73060bc3b14bb593fc5842dd16eba1>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod,object[]) [0x00083] in <87ce9ac9776a48658bc55eae6debe38b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (string,object[]) [0x000dc] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (string,object[]) [0x00063] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Plugins.PluginManager.CallHook (string,object[]) [0x0003e] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.OxideMod.CallHook (string,object[]) [0x0000e] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Interface.CallHook (string,object[]) [0x0000d] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at Oxide.Core.Interface.CallHook (string,object,object) [0x00011] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
  at ItemContainer.Insert (Item) [0x0005a] in <c41dc359ba5144b69f29223740a76cc3>:0

^ this goes recursively until server drops. Happens once, to few times a day 

Share this comment


Link to comment

You have not sent the full text of the error. Besides, you are the only one who reported this/similar error.

The error occurs when an item is assigned a parent container inside the SetParent method.
I have null checks in my code, so the error should not occur.

It might be a conflict with another plugin. Need to track down a more precise action where the error occurs.

Share this comment


Link to comment

Hi, 

attached file with stack trace. I see nothing about null in it. 

There is mainly repetitive block of hook, supposedly, on move to container. The SSI code has `MoveToContainer` call would that trigger hook on its own ? 

Conditions when it happens are not clear. Evens before do not have many clues so far.

Could be interaction with other plugins.. not obvious atm

 

xskinstacktrace.txt

Share this comment


Link to comment

Now I get it.
Revoke the players permission - "xskinmenu.give" - and observe if an overflow appears.

And I'll test the code later. Perhaps an infinite looping appears somewhere.

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.