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

[🐞]: Moonlightlib makes servers unable to stop correctly #309

Closed
2 tasks done
TheOnlyMann opened this issue Feb 15, 2025 · 9 comments
Closed
2 tasks done

[🐞]: Moonlightlib makes servers unable to stop correctly #309

TheOnlyMann opened this issue Feb 15, 2025 · 9 comments
Labels
1.21 Minecraft Version bug Something isn't working NEOFORGE Minecraft Loader outdated Outdated version of Moonlight Lib server Server-related, Not client-related

Comments

@TheOnlyMann
Copy link

TheOnlyMann commented Feb 15, 2025

BEFORE CONTINUING:

  • Always check you are using the latest version of these mods and its dependencies
  • Remove known problematic rendering mods such as Optifine, Sodium and others

Version-Loader

1.21.1-NEOFORGE

Moonlight Lib Version

moonlight-1.21-2.17.24-neoforge.jar

Describe the Issue

server does not end when issuing stop, neoforge people says that this is related to moonlightlib

Log Attachment

Partially of latest.log

[14:20:50] [Server thread/ERROR] [minecraft/ProcessorMailbox]: Cound not schedule mailbox
java.util.concurrent.RejectedExecutionException: Task IOWorker-entities 2 false rejected from java.util.concurrent.ThreadPoolExecutor@5a941fb4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 801]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841) ~[?:?] {}
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376) ~[?:?] {}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorMailbox.registerForExecution(ProcessorMailbox.java:135) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorMailbox.tell(ProcessorMailbox.java:124) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ProcessorHandle.askEither(ProcessorHandle.java:31) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:computing_frames,re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.IOWorker.submitTask(IOWorker.java:240) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftbrifthelper.mixins.json:IOWorkerAccess from mod ftbrifthelper,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.IOWorker.synchronize(IOWorker.java:203) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftbrifthelper.mixins.json:IOWorkerAccess from mod ftbrifthelper,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.SimpleRegionStorage.synchronize(SimpleRegionStorage.java:46) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.storage.EntityStorage.flush(EntityStorage.java:131) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.PersistentEntitySectionManager.saveAll(PersistentEntitySectionManager.java:296) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbteambases-common.mixins.json:PersistentEntitySectionManagerAccess from mod ftbteambases,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.PersistentEntitySectionManager.close(PersistentEntitySectionManager.java:301) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbteambases-common.mixins.json:PersistentEntitySectionManagerAccess from mod ftbteambases,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.close(ServerLevel.java:1670) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:cupboard.mixins.json:ServerAddEntityMixin from mod cupboard,pl:mixin:APP:servercore.common.mixins.json:optimizations.ticking.chunk.random.ServerLevelMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:bugfix.chunk_deadlock.ServerLevelMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:perf.cache_strongholds.ServerLevelMixin from mod modernfix,pl:mixin:APP:supplementaries-common.mixins.json:ServerLevelMixin from mod supplementaries,pl:mixin:APP:servercore.common.mixins.json:features.activation_range.ServerLevelMixin from mod servercore,pl:mixin:APP:servercore.common.mixins.json:optimizations.sync_loads.ServerLevelMixin from mod servercore,pl:mixin:APP:immersiveengineering.mixins.json:coremods.ServerWorldMixin from mod immersiveengineering,pl:mixin:APP:weathergate.mixins.json:ServerLevelMixin from mod weathergate,pl:mixin:APP:fabric-api-lookup-api-v1.mixins.json:ServerWorldMixin from mod fabric_api_lookup_api_v1,pl:mixin:APP:ftbteambases-common.mixins.json:ServerLevelAccess from mod ftbteambases,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ServerWorldMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:ServerLevelMixin from mod kubejs,pl:mixin:APP:moonlight-common.mixins.json:ServerLevelMixin from mod moonlight,pl:mixin:A}
at TRANSFORMER/[email protected]/net.mehvahdjukaar.moonlight.api.misc.fake_level.FakeLevelManager.invalidateAll(FakeLevelManager.java:30) ~[moonlight-1.21-2.17.24-neoforge.jar%23551!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.mehvahdjukaar.moonlight.neoforge.MoonlightForge.onServerStopped(MoonlightForge.java:115) ~[moonlight-1.21-2.17.24-neoforge.jar%23551!/:?] {re:classloading}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350) ~[bus-8.0.2.jar%2367!/:?] {}
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315) ~[bus-8.0.2.jar%2367!/:?] {}
at TRANSFORMER/[email protected]/net.neoforged.neoforge.server.ServerLifecycleHooks.handleServerStopped(ServerLifecycleHooks.java:127) ~[neoforge-21.1.115-universal.jar%23379!/:?] {re:mixin,re:classloading,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:750) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:servercore.common.mixins.json:features.misc.MinecraftServerMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.neoforge.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:servercore.common.mixins.json:MinecraftServerMixin from mod servercore,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:MinecraftServerMixin from mod kubejs,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin from mod ae2,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[server-1.21.1-20240808.144430-srg.jar%23378!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:servercore.common.mixins.json:features.misc.MinecraftServerMixin from mod servercore,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:balm.neoforge.mixins.json:MinecraftServerMixin from mod balm,pl:mixin:APP:servercore.common.mixins.json:MinecraftServerMixin from mod servercore,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:kubejs.mixins.json:MinecraftServerMixin from mod kubejs,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin from mod ae2,pl:mixin:A}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {re:mixin}

OPTIONAL: To Produce

  1. Install server
  2. launch server
  3. issue stop on server

OPTIONAL: Which mods are affected?

FTB Oceanblock 2

FTBTeam/FTB-Modpack-Issues#6771

@TheOnlyMann TheOnlyMann added the bug Something isn't working label Feb 15, 2025
@github-actions github-actions bot added 1.21 Minecraft Version FABRIC Minecraft Loader NEOFORGE Minecraft Loader server Server-related, Not client-related details More info regarding the issue labels Feb 15, 2025
@Xelbayria
Copy link
Collaborator

Xelbayria commented Feb 15, 2025

Please use https://mclo.gs/ to share the full content of latest.log/crash-report. Don't use copy/paste, thanks.

@Xelbayria Xelbayria removed details More info regarding the issue FABRIC Minecraft Loader labels Feb 15, 2025
@TheOnlyMann
Copy link
Author

Please use https://mclo.gs/ to share the full content of latest.log/crash-report. Don't use copy/paste, thanks.

https://mclo.gs/UTtae3K
neat, didnt realize there is a copy paste feature.

@TheOnlyMann
Copy link
Author

also, i get that latest.log is better, but i dont have a good way to actually retrieve said logs other than using nano for the entire thing and futilely copypaste ing it

@Xelbayria
Copy link
Collaborator

Xelbayria commented Feb 15, 2025

actually, a full content of the latest.log and crash-report is a good way for a DEV to find out what's the problem and fix the issue if discovered.

a cropped/partially of latest.log is like telling a half of the whole picture. so yea

@TheOnlyMann
Copy link
Author

actually, a full content of the latest.log and crash-report is a good way for a DEV to find out what's the problem and fix the issue if discovered.

a cropped/partially of latest.log is like telling a half of the whole picture. so yea

i understand how it works, but because of how i set up my server i have to move the log file to the main user, and then use sftp to extract said file to my comptuer, and then psot that log here
if there is a better solution without goiing through the sftp stuff please let me know

@TheOnlyMann
Copy link
Author

its like trying to write a shakespere with 2 buttons
anyway, here's the log.
latest.log
https://mclo.gs/LeHJxkS

@MehVahdJukaar
Copy link
Owner

Are you using latest version?

@TheOnlyMann
Copy link
Author

Are you using latest version?

negative, just using the version that came with the original modpack. will try that.

@TheOnlyMann
Copy link
Author

can confirm the issues have gone away. will close this issue

@github-actions github-actions bot added details More info regarding the issue FABRIC Minecraft Loader labels Feb 15, 2025
@Xelbayria Xelbayria added outdated Outdated version of Moonlight Lib and removed details More info regarding the issue FABRIC Minecraft Loader labels Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21 Minecraft Version bug Something isn't working NEOFORGE Minecraft Loader outdated Outdated version of Moonlight Lib server Server-related, Not client-related
Projects
None yet
Development

No branches or pull requests

3 participants