this does not fix your pb.
this is to fix the players that get rejected on updates supports 1 of 8
Stack overflow problems when loading save file
Discussion in 'Rust Discussion' started by MeatCircus, Jan 25, 2015.
-
So what is the answer to my previous post about the fix Assembly-csharp.dll for the updates did not work and hangs?
-
I dont have an answer lol
-
sorry but I have same problem in my server
it's happen last week and only solution was wipe the server now it's happen again ((
when the save file reaches 4mb server can resume working but with some bug(i.e. game stuck in night and day never come)
If you do not restart server there is no problem but if you restart server it can not be boot again and getting below errors;
Code:[2/5/2015 2:43:27 PM] Loading Save From server/Streamline/save/Procedural Map_4000_6738/0.sav [2/5/2015 2:43:30 PM] Destroyed 12934 old entities [2/5/2015 2:43:30 PM] Creating 62808 entities from save [2/5/2015 2:43:34 PM] Spawning 62808 entities [2/5/2015 2:43:36 PM] Spawned 25920/62808 [2/5/2015 2:43:38 PM] Spawned 45308/62808 [2/5/2015 2:43:40 PM] Loading Complete [2/5/2015 2:43:40 PM] Stability Warmup [2/5/2015 2:43:40 PM] 45977 blocks found [2/5/2015 2:43:40 PM] Updating Supports Pass 1 of 8 [2/5/2015 2:43:42 PM] StackOverflowException: The requested operation caused a stack overflow.[code][code][2/5/2015 8:57:37 AM] StackOverflowException: The requested operation caused a stack overflow. BuildingBlock+Support.Update (Boolean forced) BuildingBlock.UpdateSupports (Boolean forceUpdate) BuildingBlock.DistanceFromGround ()
Code:[2/5/2015 7:46:28 AM] [Oxide] 7:46 AM [Error] Failed to run a timer. (TargetException: Object does not match target type.)
http://oxidemod.org/attachments/assembly-csharp-dll.5958/
now no more StackOverflowException error and passing 8/8 but still can not complete progress and now getting below error;
Code:[2/5/2015 3:33:13 PM] Loading Save From server/Streamline/save/Procedural Map_4000_6738/0.sav [2/5/2015 3:33:16 PM] Destroyed 12939 old entities [2/5/2015 3:33:16 PM] Creating 62833 entities from save [2/5/2015 3:33:20 PM] Spawning 62833 entities [2/5/2015 3:33:22 PM] Spawned 26147/62833 [2/5/2015 3:33:24 PM] Spawned 45989/62833 [2/5/2015 3:33:26 PM] Loading Complete [2/5/2015 3:33:26 PM] Stability Warmup [2/5/2015 3:33:26 PM] 45977 blocks found [2/5/2015 3:33:26 PM] Updating Supports Pass 1 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 2 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 3 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 4 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 5 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 6 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 7 of 8 [2/5/2015 3:33:26 PM] Updating Supports Pass 8 of 8 [2/5/2015 3:33:26 PM] Checking Stability [2/5/2015 3:33:26 PM] Processing Queue [2/5/2015 3:33:28 PM] 0 / 39204 [2/5/2015 3:33:30 PM] 0 / 39204
Is there any way to boot server with some changes or it should be definetly need to be wipe because as I read from earlier posversion it can be boot again if we change some dll but what is the correct dll link for latest version 1191?
Also is there any other setting necessary for avoid this problem(i.e. what command should I type in console after server started)? -should I put this command in auto command plugin instead of type after each restart?
Your earliest reply for this matter will be highly appreciated mate
kind regards. -
i have no idea,
you can actually try to add this in the server startup command:
-server.stability false -
I saw you give edited dll file for earlier rust versions and just though that you have edited dll for latest version as well but understood that actually no need to edit dll file and just need to put above command in to the command line
I will try thank you -
yes i edited the dll because it was needed at that time
here this simple command should be enough -
thanks a lot but still not working
server gonna be wipe -
you can still patch stack size of RustDedicated.exe to solve this issue instead of modifing dll...
-
can you please clarfiy how can we do it? -
with visual studio you'll get editbin.exe (useable from visual studio commandline) and then just run:
Code:editbin.exe /stack:8388608 RustDedicated.exe
-
I sure that this problems starting right after save file reach 4mb and ram usage 2,2gb (it's happen 3 times already)
I just wipe the server and decreased to map size from 4000 to 2000 for avoid his problem near future(i.e. at least untill next rust update) -
the problem is caused by huge or complex contructions where many parts are invovled, game code tries to validate each other causing to deep recursion...
-
Code:
Spawned 16590/57015 Spawned 26509/57015 Spawned 31460/57015 TimeWarning: Spawning build/wall took 0.37 seconds (373ms) TimeWarning: Spawning build/pillar took 0.25 seconds (251ms) Spawned 35633/57015 Spawned 41681/57015 Spawned 48190/57015 TimeWarning: Spawning items/beartrap took 0.20 seconds (195ms) Spawned 52104/57015 Spawned 55598/57015 Loading Complete Stability Warmup 20718 blocks found Updating Supports Pass 1 of 8 StackOverflowException: The requested operation caused a stack overflow.
-
Wulf Community Admin
-
but what will be happen after change server stability from true to false?
[DOUBLEPOST=1423650241,1423587669][/DOUBLEPOST] -
Wulf Community Admin
-
server.stability = false = stability gets disable
that means that players don't need to care about building stability and can easily build flying houses! -
-
Moded exe file:
Mod edit: removed modified exe. Please use the other fixes mentioned in this thread or wait for an official fix.