Exception in server tick loop

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

Xombie11

New Member
Jul 29, 2019
20
0
0
haven't been able to find if its caused by a certain action but every now and again while i'm playing the mindcrack pack (i have other mods installed) the game freezes for a few seconds and then i get an error report saying Exception in server tick loop this. is in single player the error report is this: http://pastebin.com/Pz6NKDny
 

Xombie11

New Member
Jul 29, 2019
20
0
0
Its happened a lot and ive been doing different things each time ive even not been doing any thing at the time and its happened
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
Code:
Description: Exception in server tick loop
 
java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
        at java.util.ArrayList$Itr.next(Unknown Source)
        at codechicken.chunkloader.PlayerChunkViewerManager.calculateChunkChanges(PlayerChunkViewerManager.java:155)

Looks like someone was checking out a chunkloader, why it whould crash no idea.
How much Ram is in the server or your pc if your playing single player?

Code:
Memory: 376557312 bytes (359 MB) / 1209700352 bytes (1153 MB) up to 6364332032 bytes (6069 MB)

IF you have 6GB of ram installed try to lower this to max 5GB
 

Xombie11

New Member
Jul 29, 2019
20
0
0
its in single player i've not used any chunkloaders or the world anchors in railcraft i've got 6 GB of RAM in the launcher i've had 5.75 GB selected. so do you think the problem is that i've given it to much RAM?
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
Yups, 6GB in the launcher means your PC has 6GB in total. You need to keep in mind that windows (or any other OS you might be using) also uses RAM. For windows i suggest MAX RAM -1.5 GB (so 6GB-1.5=4.5 MAX).

IF your running a seperate server on the same machine (not singleplayer) you also need to withdraw the ram you dedicate to the server).
 
  • Like
Reactions: Ashzification

Ashzification

New Member
Jul 29, 2019
7,425
1
0
Do note also, that the launcher will only allow you to allocate the computers usable RAM. This is the memory that is not required to run the system. It's always good to leave a buffer of 1-2 GB (Nessiroj's 1.5 deducted).
 
  • Like
Reactions: Nessiroj

Hawkknight88

New Member
Jul 29, 2019
8
0
0
I'm seeing this problem as well. One person told me to change

maximumChunksPerTicket to 50​
maximumTicketCount to 300​
in forgeChunkLoading.cfg​

http://pastebin.com/GCgbAVaK is my crash log. Upping my RAM has not seemed to stop the crashes. Note that I have Millenaire installed, although the crashes happen without it as well.

I just played a bit to verify upping my RAM (to 4GB, I have 8 total) still crashed. It definitely took longer, but it still crashed.
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
So we know that atleast your ram is "filling with junk"", can you upload a new serverlog?
 

Hawkknight88

New Member
Jul 29, 2019
8
0
0
I have 5GB out of 8GB allocated in the FTB launcher. I started playing, then just afk'd in my base when I went to make dinner and came back to the crash.

http://pastebin.com/DcBssgpQ

edit: I was trying a test world to test some builds (superflat desert) and WOW it crashes quickly. I get about 1-2 minutes of play. Here is that server log: http://pastebin.com/Rn7Ufj98

I thought the output of the console window might help as well. Here is the console output around the crash: http://pastebin.com/0ZPtAy7v
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
It keeps crashing on this:
Code:
java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
        at java.util.ArrayList$Itr.next(Unknown Source)
        at codechicken.chunkloader.PlayerChunkViewerManager.calculateChunkChanges(PlayerChunkViewerManager.java:155)
        at codechicken.chunkloader.ChunkLoaderEventHandler.tickEnd(ChunkLoaderEventHandler.java:40)
        at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:22)
        at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:138)
        at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:282)

The console gives:
Code:
2013-01-24 23:05:55 [INFO] [STDOUT] CLIENT ERROR: MLEntityGenericAsymmFemale@1527295584: Geeta Majhwar/4073118071197878432/in@691a6939: Invalid destination for getHouseTH goal: -1460/64/1166 (house: -1458/64/1167, TH: -1453/67/1142)
2013-01-24 23:07:32 [INFO] [STDERR] java.util.ConcurrentModificationException
2013-01-24 23:07:32 [INFO] [STDERR] at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
2013-01-24 23:07:32 [INFO] [STDERR] at java.util.ArrayList$Itr.next(Unknown Source)
2013-01-24 23:07:32 [INFO] [STDERR] at codechicken.chunkloader.PlayerChunkViewerManager.calculateChunkChanges(PlayerChunkViewerManager.java:155)
2013-01-24 23:07:32 [INFO] [STDERR] at

Are you using chunkloaders? The console suggests that something can't find getHouseTH.
The error gets thrown in the console instantly after unloading dimension 1
 

Hawkknight88

New Member
Jul 29, 2019
8
0
0
That console output looks a like a Millenaire thing. Perhaps Millenaire is fighting to keep chunks loaded that Chicken Chunks is trying to unload?

To answer your question, I am not using tethers/chunk loaders at all. Perhaps I should use some near Millenaire villages and see if that resolves anything. It wouldn't surprise me, in the least, if Millenaire was the issue. (But I like it, and it gives me goals in the game).

Some server seems to believe Millenaire/Mystcraft collide and cause crashes.
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
please do, and let us know what happens, there are prob more ppl who will get this error in the future :)
 

Hawkknight88

New Member
Jul 29, 2019
8
0
0
Reporting back. Placing Chunk loaders around the nearest Millenaire village (which was on the edge of my sight range from the home where I spend most of my time) seems to have fixed that issue... mostly. I see stray crashes sometimes but they are MUCH less than before.

It's not a good solution, but at least it makes it playable. Thank you for the suggestions!

For the record, that was with DireWolf20 pack (v4 I think. It just updated to v5 on 1/28). I have Advanced Machines and Millenaire installed on top of the default pack.
 
  • Like
Reactions: Nessiroj
Status
Not open for further replies.