Closed Patrikkk closed 4 years ago
I think this issue should be removed from 1.4.x project. It lacks critical information or even any clues can help us. I firmly believe this issue will never get solved
Btw I think the exception on console has no relevance to stack overflow. And I know there's many hidden or known bugs may cause stack overflow exception in terraria's worldgen code, it's very likely not a tshock bug.
It has not occurred ever since. So It was either fixed by #1812 , or it was a vanilla code overflow. I'll close it for now. Thanks for the feedback!
I fell into the trap of using base.Dispose(disposing)
at the end of the Dispose()
method like I've been doing for quite some time. For this case is wasn't doing me any favors.
1.4.0.4 Pre 8
This is occurring upon server closure. There is a specific plugin that is causing this error, and I bring this up simply because the error eludes me. All hooks aren't doing functions between server start and close, and the rest of the active methods are based on Chat Commands.
I stripped it down to just this, and it still returns the StackOverFlowException with it loaded. Without it the server will close without error.
namespace ItemClasses
{
[ApiVersion(2,1)]
public class Plugin : TerrariaPlugin
{
public override string Name
{
get { return "Item Classes"; }
}
public override Version Version
{
get { return new Version(2, 0, 0, 0); }
}
public override string Author
{
get { return "Duze"; }
}
public override string Description
{
get { return "Players can choose between any number of predefined classes."; }
}
public Plugin(Main game) : base(game)
{
}
public override void Initialize()
{
}
protected override void Dispose(bool disposing)
{
if (disposing)
{
}
base.Dispose();
}
}
}
Reproduction steps (if applicable)?
No info
Any stack traces or error messages (if known)?
Any screenshots?
Any log messages from files that end in
.log
or.txt
?What plugins and what versions of those plugins are you running?