FragLand / terracord

:evergreen_tree: A Discord <-> Terraria bridge plugin for TShock
GNU General Public License v3.0
33 stars 14 forks source link

Stack overflow with version 1.2 on mono 6.8 #76

Closed fiveofeight closed 4 years ago

fiveofeight commented 4 years ago

Expected Behavior

Actual Behavior/Symptoms

How to Reproduce Behavior/Symptoms

Terracord Version

* 1.2

Terraria/TShock Version

* Terraria 1.4.0.4/TShock 4.4.0 Pre-release 8

Discord.Net Version

*

.NET/Mono Version

terraria@localhost: mono TerrariaServer.exe Error Logging Enabled. TerrariaAPI Version: 2.1.0.0 (Protocol v1.4.0.4 (228), OTAPI 1.4.0.4) Stack overflow in unmanaged: IP: 0x561202b5555b, fault addr: 0x7ffe25191fa8 Stack overflow: IP: 0x561202b555aa, fault addr: 0x7ffe25189ffc Stacktrace: at <0xffffffff> at System.Reflection.RuntimeConstructorInfo.InternalInvoke (object,object[],bool) [0x00005] in :0 <...> at System.Reflection.RuntimeConstructorInfo.DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000c8> at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0001f> at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&) [0x001f8] in :0 at System.Activator.CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) <0x0013a> at System.Activator.CreateInstance (System.Type,object[]) <0x00022> at TerrariaApi.Server.ServerApi.LoadPlugins () [0x001ce] in :0 at TerrariaApi.Server.ServerApi.Initialize (string[],Terraria.Main) [0x0011a] in :0 at TerrariaApi.Server.HookManager.InitialiseAPI () [0x0004e] in :0 at TerrariaApi.Server.Hooking.GameHooks.OnPreInitialize () [0x00000] in :0 at OTAPI.Callbacks.Terraria.Main.InitializeBegin (Terraria.Main) [0x00009] in <369575e6d12f4f6eaab9caefb2264450>:0 at Terraria.Main.Initialize () [0x00000] in <369575e6d12f4f6eaab9caefb2264450>:0 at Terraria.Main.DedServ () [0x00081] in <369575e6d12f4f6eaab9caefb2264450>:0 at Terraria.Program.LaunchGame (string[],bool) [0x000ac] in <369575e6d12f4f6eaab9caefb2264450>:0 at Terraria.WindowsLaunch.Main (string[]) [0x0003a] in <369575e6d12f4f6eaab9caefb2264450>:0 at OTAPI.Shims.TShock.Program.StartServer (string[]) [0x0002d] in :0 at OTAPI.Shims.TShock.Program.Main (string[]) [0x00026] in :0 at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0002a] in :0

ldilley commented 4 years ago

Did you create the Terracord subdirectory for your configuration and log files? terracord.xml and terracord.log now reside under tshock\Terracord.

fiveofeight commented 4 years ago

Ah, I did not, my bad. I was following the instructions in the ReadMe.txt file which still says its under the tshock dir. I created the Terracord dir and moved the config file, and it works properly now.

Thank you for your work in updating the plugin for 1.4. :)

ldilley commented 4 years ago

Apologies for the confusion, @fiveofeight. I've updated the ReadMe.txt file contained in the 1.2.0 zip archive to reflect the proper path. I've also added you to the contributors section in the same file for pointing that out. Thank you!

If you do not mind, can you please leave this issue open so that we can track this symptom (and attempt to fix it)?

fiveofeight commented 4 years ago

No worries, I will leave the ticket open as requested.