mekanism / Mekanism

A mod for Minecraft
MIT License
1.36k stars 520 forks source link

log spam #7733

Open starixed opened 1 year ago

starixed commented 1 year ago

Issue description

my log is getting spammed by this: [10Feb2023 00:02:53.277] [Server thread/ERROR] [mekanism.common.Mekanism/]: Different orphan transmitter was already registered at location! [Coord4D: -267, 34, 19, dim=minecraft:overworld]

could it be a entangled block?

Steps to reproduce

No response

Minecraft version

1.19.2 (Latest)

Forge version

43.2.4

Mekanism version

10.3.8 (Latest)

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

pupnewfster commented 1 year ago

When is it spammed by that? If it is on shutdown from what users in discord have tracked it down to it seems to be due to FTB Chunks doing weird things.

starixed commented 1 year ago

yes when i hit save and quit, unfortunately minecraft gets stuck on saving the world and looking over the logs its just spamming that

starixed commented 1 year ago

i have to force quit minecraft through the task manager in order for it to close

pupnewfster commented 1 year ago

From what people on mek's discord have tracked it down to it is a bug with FTB Chunks that causes it to not exit gracefully.

SigmaFlame commented 1 year ago

We removed FTB Chunks from our server and still have this spam from the console at the server shutdown. Mekanism-1.19.2-10.3.8.477

pupnewfster commented 1 year ago

No idea, my best guess it is due to some mod causing something weird to happen during shutdown which causes our transmitters to basically get load calls happening without any unload call/processing, which some user did say removing FTB Chunks seemed to fix (but no idea if something else might also cause it). I will re-open this issue for now, mainly as a reminder to look into it a bit further because it could also be that there is some path that causes things to not fully flush invalid stuff on our end

natryl commented 1 year ago

Our server ended up with too many chunks loaded so I edited the ftbworld config to unload chunks from players inactive for more then 1 day. Now on shut down we have a very similar amount of mekanism errors from one base in particular that got unloaded. https://mclo.gs/PtpQotS image

zyxkad commented 1 year ago

We have this problem too, and we never used FTBChunks

zyxkad commented 1 year ago

It's annoying since it will block server to stop, anyway to disable this log at least?

Zonk1987 commented 1 year ago

I have the same Error on my server. I can't use the autorestart function anymore because of this because it is looping all the time.

https://mclo.gs/mtAHkhD

Razorxd1993 commented 1 year ago

Have the same error and an autorestart of the server is no longer possible.

pupnewfster commented 1 year ago

Not able to reproduce this in any of the ways I tried, could someone who can easily reproduce this issue run /mek debug (which enables a bit of extra logging relating to our transmitter networks) and then provide the latest log for it. Hopefully it might provide some insight into what sequence of events are happening.

voteforcats commented 8 months ago

This issue happened when I used /reload to reload CraftTweaker.

voteforcats commented 8 months ago

When the issue happened with debug mode enabled, it did not seem to show anything different in the logs when the issue happened, but here is that latest.log anyway.

latest.log

knzai commented 8 months ago

Same issue suddenly on an FTB Genesis (SP) install. I'm happy to zip up my save/world and put it somewhere if that helps.

Vany commented 7 months ago

another case. ATM9. All pipes had disconnected each other in chunkloaded hyperbox space. i have no idea what happened during this, but everything disconnects after i leaved and entered again to hyperbox. there is full set of muriatic acid and hdpe production and three entangloporters. ont the server console lots of this log lines, i used it to find this issue =)

MadSciSlack commented 7 months ago

I've got this happening in my custom modpack as well. I've only noted this happening server-side when I stop / restart. All of the pipes causing issues are mechanical (fluid) pipes. Some notes I've made from around when it started:

I'll try some experimenting to see if I can isolate what is causing this in my pack to see if I can isolate what change started this. It's tricky, because it only acts up server-side. I've been working on this pack for 15 months, so I'm really hoping your team can help investigate this further.

MadSciSlack commented 7 months ago

Update to previous: -Tested with Capable Cauldrons disabled with no change. -Tested with Create: Connected disabled with no change.

TheBerleyman commented 3 months ago

I'm hitting this issue on a server with a custom modpack most of the time when shutting-down the server.

Notably, we're using Hyperbox, as well. I've got a Fission Reactor in one box and Steam Turbine in another, as well as a few other boxes, but the chunk the boxes are in is chunkloaded (using an Anchor upgrade in a machine in the main dimension).

The possibility of an issue with Mekanism pipes interacting with the hyperboxes certainly seems worth looking into.

darthvader45 commented 3 months ago

Happening with my modded instance, using version 10.4.6.20 for 1.20.1. I literally cannot save my world with this error. I was only experimenting with the laser and laser tractor beam for the lulz.

darthvader45 commented 2 months ago

Happened again with ultimate logistical transporters, using 10.4.8.43 for 1.20.1. This is not good, if any Mekanism blocks can cause this. https://paste.ee/p/LmeoR Here's my recent latest.log to provide any necessary information.