-
Notifications
You must be signed in to change notification settings - Fork 40
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
Certain Resourcepacks Cause Hard Crash on Load [Group Animated Sprites] #353
Comments
I get this error from time to time after enabling the resourcepack in game if it helps.
|
i've suffered a similar fatal jvm crash with the drink beer mod, only relevant info i'm getting in the log is this:
since the errorcodes are different, they could be for different reasons, but since this is the only reason i can think of for why the crash happens between these two mods, i'll post it as a comment under this issue, because i didn't want to make a dupe issue if they are for the same reason. it did also give the same jvm fatal error message shown here at times, but it didn't happen all of the time. |
More insight: |
I get the same issue myself with the texture pack https://www.curseforge.com/minecraft/texture-packs/jicklus had the same exit code of -1073740940 as well if it helps. |
Removing the entity folder also works for my machine. |
Figured out the specific textures causing the issue:
Removing these textures from the pack fixes the crashing. These textures may be redundant in the latest 1.18 resource pack version since there is a entity/shield/base.png texture however, the game should not crash for redundant textures. |
@heymanMC, can you try setting |
As jardhu said, this seem to be caused by Group Animated Sprites. Interesting that certain sprites are causing it though, certainly will be helpful in fixing this issue. |
I suspect it's something to do with texture size. Any texture in this directory that is larger than 32x32 causes crashes upon the game loading, reloading resource packs, entering a world, generating chunks, etc. The errors are almost always heap corruptions and access violations deep inside C libraries, which hinted to me that there's some kind of upper-level memory corruption going on. |
i've been able to recreate this with faithful 32x as well as bare bones; disabling group animated sprites fixed it. i got a pretty detailed crash log from the jre here with a similar access violation from other reports. i like this project a lot but this has honestly been a bit frustrating until i found a fix here. i hope maybe the log can help a bit :) |
taking a wild guess here, but it seems like the pointers are just being miscalculated with specific sprites - thus the access violation. to be more specific, i think the culprit could be a precision error from converting the ints edit: wasn't thinking, it would be the destination parameter of memcopy; so the issue causing the crash would most likely be in the conversion of |
System Information
Other mods and versions installed
How to trigger the behavior
Two ways:
or
Logs and screenshots
Crash while enabling the resourcepack in game: https://paste.ee/p/VgV7p
Crash while starting the game with the resourcepack: https://paste.ee/p/QPtRr
Resourcepacks
https://www.curseforge.com/minecraft/texture-packs/default-improved-plus
FwuffyPe†sOwO~#7236 also said they experience this with this pack:
https://www.curseforge.com/minecraft/texture-packs/dragon-dance-renaissance
I am going to try disabling parts of the pack (Default Improved) to try to get the game to load. Anything found will be commented here.
The text was updated successfully, but these errors were encountered: