[BUG] Music triggers crashing, causing music to stop playing altogether until game is restarted
Chloroxite opened this issue ยท 0 comments
Describe the bug
At random intervals, the music will stop playing.
To Reproduce
Bug occurs, seemingly, at random. Usually during transitions from what I can tell.
Expected behavior
Music should continue playing and transition normally.
Screenshots
No response
Modpack Version
3.2
Server or singleplayer
Singleplayer
Version the world was created on:
3.2
Other...
No response
Additional context
As stated above, I'm suspecting the mod is crashing during transitions, though as for why I cannot say. I am running the game on Arch Linux, using Pipewire as my audio subsystem, as well as GraalVM as my JVM, if that somehow aids in tracking down the issue. Relevant log segment provided below:
[15:08:16] [pool-6-thread-1/FATAL] [Music Triggers]: Caught unknown exception while checking audio conditions! java.util.ConcurrentModificationException: null at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1633) ~[?:1.8.0_302] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_302] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_302] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_302] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_302] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[?:1.8.0_302] at mods.thecomputerizer.musictriggers.client.data.Trigger.updateEffectCache(Trigger.java:541) ~[Trigger.class:?] at mods.thecomputerizer.musictriggers.client.channels.ChannelManager.tickChannels(ChannelManager.java:467) ~[ChannelManager.class:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_922_ChannelManager_tickChannels_CustomTick.invoke(.dynamic) ~[?:?] at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?] at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?] at mods.thecomputerizer.theimpossiblelibrary.util.CustomTick.lambda$addCustomTickEvent$1(CustomTick.java:25) ~[CustomTick.class:1.12.2-0.3.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_302] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_302] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_302] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_302] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_302] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_302] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]