-
Notifications
You must be signed in to change notification settings - Fork 44
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
1.21.1 NeoForge crash: Unreported exception thrown! #224
Comments
Hello, this seems to be a similar thing to #220. Another mod (I do not know which one) is playing or stopping sounds without doing so on the main thread. Could you maybe provide your full mod list here? Then we can maybe figure it out from the mods that overlap with the other report instead of combing through every single one. Edit: I suppose the crash report has the mod list actually .. |
here is the mod list |
Well looking through the mod list and some of the mods' sources I am not any smarter sadly. What I did notice is that you are running both Dynamic FPS and FPS reducer, which both mostly serve the same purpose (Dynamic FPS can also reduce FPS while you're idling now, though you have to enable it), so you might want to remove one of them. |
thank you I didn't notice, I'll remove one of them now |
Is this a modpack one can download by any chance? I'd like to do some testing but downloading 300 mods individually is kind of a lot of work lol .. |
no sadly it's my own (don't more people do this?) i just add more mods as they are updated to 1.21.1 |
Probably 😄 It's just easier for me if I can download a whole pack to test :) |
whole folder except backups: https://mega.nz/file/hU4H2ZxS#uxiBSzWzOLKD8Gd1dFbMBntpZNv9J-DY51Tp96S3WJk not sure if that's what you meant |
Oh I was already happy with the links you provided above :) |
Well I can not get any variation of your modpack to run sadly, NeoForge just crashes without a helpful error. Instead what might be useful is that I've created a slightly modified version of Dynamic FPS which will log a warning whenever something does something potentially dangerous with the sound engine from another thread: [test-thread/WARN]: Potentially dangerous call to SoundEngine.play from non-main thread!
java.lang.Throwable: null
at net.minecraft.class_1140.dynamic_fps$logOffThreadUsage(class_1140.java:2158) ~[transformed-mod-minecraft-v1.21.1.jar:?]
at net.minecraft.class_1140.handler$zlm000$dynamic_fps$play(class_1140.java:2147) ~[transformed-mod-minecraft-v1.21.1.jar:?]
at net.minecraft.class_1140.method_4854(class_1140.java) ~[transformed-mod-minecraft-v1.21.1.jar:?]
at net.minecraft.class_1144.method_4873(class_1144.java:255) ~[transformed-mod-minecraft-v1.21.1.jar:?]
at dynamic_fps.impl.DynamicFPSMod.playSoundOffthread(DynamicFPSMod.java:84) ~[dynamic-fps-3.7.3.i0:0/:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] As you can see in the example here I intentionally played a sound from a different thread, and it is pretty easy to pinpoint which mod caused this (this is not included in the jar below, I just did it for demonstration purposes). If you'd like you can download and install it, then if you get this crash again or just happen to look at the log we should have some more useful information. |
does it crash during the initial loading or on world creation? usually when it's on world creation or terrain loading, deleting config files fixes it I'll try once I'm back home, though it's not recommended (since that virus outbreak) to run unverified mod files |
Hmm ... If you'd like to verify the changes I've done I've pushed them here: You can download the mod from that commit by clicking on the green checkmark, clicking on |
thank you. |
Hello, I know you've said that you haven't had any crashes, but if you've had any play sessions it might be worth looking into the log files to see if the debug logging has logged something regardless. Could you see if you can find the string |
hey I haven't been able to play due to Oh the Biomes We've Gone crashing for a few weeks... the authors are looking for a solution |
finally, after many crashes from other mods being fixed, here is one instance of a |
Hmm. I should've maybe been more careful with which calls to the sound engine are logged, as this instance of the warning reports on a mod reading information instead of changing anything, so it's not the cause of any issues. |
Hello.
As your mod interacts with minecraft's sound engine and because I've seen a very recent bug that you fixed concerning a related topic (hash), I thought I'd post my case here
I was moving in a village when, after coming out from a house, sound started glitching and loud repeated noises of feathers falling played. I thought it was intentional until it crashed a few seconds later.
Logs don't seem to mention any mod other than the fact that it's related to Minecraft's sound engine?
latest.log: https://mclo.gs/cQVY5U8
debug.log: https://mclo.gs/rEPdqrw
crash report (probably the most important): https://mclo.gs/gWKhZqw
1.21.1 NeoForge 21.1.55
mod version:
dynamic-fps-3.7.3+minecraft-1.21.0-neoforge.jar
The text was updated successfully, but these errors were encountered: