Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerHangWatchdog crash after placing ME Stocking bus from GTM. #8434

Open
Cosmoros-git opened this issue Mar 23, 2025 · 12 comments
Open

ServerHangWatchdog crash after placing ME Stocking bus from GTM. #8434

Cosmoros-git opened this issue Mar 23, 2025 · 12 comments
Labels
bug Self explanatory?

Comments

@Cosmoros-git
Copy link

Cosmoros-git commented Mar 23, 2025

Describe the bug

Crash on joining my locally hosted server.

The last thing I did was place stocking ME hatch from GTM onto electrolizer multi. The game died shortly after. Why it did not like that one specific hatch I am unsure.

Thread: Server Watchdog
Suspected Mod:
Applied Energistics 2 (ae2), Version: 15.3.2-beta
Issue tracker URL: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues
at TRANSFORMER/[email protected]/appeng.me.service.StatisticsService.getChunks(StatisticsService.java:145)

crash-2025-03-23_19.58.11-server.txt
crash-2025-03-23_19.55.32-server.txt

How to reproduce the bug

Really unique situation. Unsure.

Expected behavior

Not crash server?

Additional details

Monifactory Modpack
I have been using them extensively, this is the first time I got my world to break due to them.

This is the link to my server's full setup, with save file, mods and configuration.

I managed to enter the world in a single player, so is it only a server situation?

Which minecraft version are you using?

1.20

On which mod loaders does it happen?

Forge

Crash log

Attachments

@Cosmoros-git Cosmoros-git added the bug Self explanatory? label Mar 23, 2025
@Cosmoros-git
Copy link
Author

Image
It appears if you place is like this it will crash the server.

@shartte
Copy link
Member

shartte commented Mar 24, 2025

can you check if those are on a chunk border?

@Cosmoros-git
Copy link
Author

can you check if those are on a chunk border?

Will come home take a look. My base this run is not chunk aligned and to fix the issue I have to open save in single player to make it run.

@Cosmoros-git
Copy link
Author

Cosmoros-git commented Mar 24, 2025

Image

Seems to be all in the same chunk.
Also, each time the crash happens I have a rollback.

@shartte
Copy link
Member

shartte commented Mar 24, 2025

With the release of 1.21.5 imminent, I'll probably not be able to look at this immediately, but will do so later.

@Cosmoros-git
Copy link
Author

With the release of 1.21.5 imminent, I'll probably not be able to look at this immediately, but will do so later.

No problem, I think I am just straining AE too much it's starting to complain.

@shartte
Copy link
Member

shartte commented Mar 24, 2025

With the release of 1.21.5 imminent, I'll probably not be able to look at this immediately, but will do so later.

No problem, I think I am just straining AE too much it's starting to complain.

The toggle buses you use are extremely intensive since a disconnect will cause AE2 to build its grid. I just think this is happening in a loop or something like that.

@Cosmoros-git
Copy link
Author

With the release of 1.21.5 imminent, I'll probably not be able to look at this immediately, but will do so later.

No problem, I think I am just straining AE too much it's starting to complain.

The toggle buses you use are extremely intensive since a disconnect will cause AE2 to build its grid. I just think this is happening in a loop or something like that.

Unsure, they seem to be more on the buss interface trick rather than full AE rebuild. Also I would have noticed the issue of lag spikes due to how I have to passive them.

But yes, something for sure starts looping really hard when I place them like that. However, it seems to be lacking in logs.

@Cosmoros-git
Copy link
Author

Cosmoros-git commented Mar 24, 2025

It seems like Stocking bus/hatch are in fact extremely laggy in situations of their disconnect and will cause the server to lag, However, the situation from my example appears to be in the infinite loop after which the server does not recover.

@Cosmoros-git
Copy link
Author

#8437

I think a similar issue, is probably the same culprit of lag.

@Cosmoros-git
Copy link
Author

crash-2025-03-26_03.40.15-server.txt

Lemme add another probably rare reason as to why the game crashed. Happened on server startup. Could be related. But probably not.

@Cosmoros-git
Copy link
Author

Cosmoros-git commented Mar 27, 2025

crash-2025-03-27_08.07.16-server.txt
crash-2025-03-27_08.02.11-server.txt

Applied Energistics 2 (ae2), Version: 15.3.2-beta
	Issue tracker URL: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues
	at TRANSFORMER/[email protected]/appeng.me.service.helpers.NetworkCraftingProviders$ProviderState.<init>(NetworkCraftingProviders.java:158)

Now it's not starting.

I'm going to upload my saved file to Google Drive so you can probably take a look at the logging tools you have on your end. Because it seems I found a mem leak + infinite loop. The server starts, then just dies while consuming more and more CPU and RAM.

I suspect toggle/stocking the bus is a MAJOR reason why this happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Self explanatory?
Projects
None yet
Development

No branches or pull requests

2 participants