Iris 1.8.0b1 crashes the jvm

I get a jvm crash soon after joining a world (running vanillaAA shader) EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000020db526d815, pid=10728, tid=13144 J 39253 c2 net.minecraft.class_287.fillExtendedData(I)V (412 bytes) @ 0x0000020db526d815 [0x0000020db526d740+0x00000000000000d5] This is not a pure Iris instance, it has other mods (notably EMF listed in the stack traces, and betterclouds)
92 Replies
Meeni
MeeniOP4mo ago
the crash report
IMS
IMS4mo ago
I've known about this; tried to fix it earlier, wasn't sure if it was fixed... I can't reliably cause this
Meeni
MeeniOP4mo ago
I'm getting it almost 100% anything I can collect that would help?
Lily
Lily4mo ago
how are you causing it
IMS
IMS4mo ago
they have specified multiple ways to cause it, none I can reproduce
Lily
Lily4mo ago
I have gotten it to crash easily I can get it to crash by swapping shaders 5 times but only in a large window
Lily
Lily4mo ago
a little old version but
IMS
IMS4mo ago
@Lily @Meeni @dragon what CPU/GPU are you all on
Lily
Lily4mo ago
im running a i7-8700 and a rtx 3060ti
dragon
dragon4mo ago
Intel i7 10700K and Nvidia RTX 3080
IMS
IMS4mo ago
all Windows?
Lily
Lily4mo ago
yeah
dragon
dragon4mo ago
11
IMS
IMS4mo ago
i have no clue how such an error could be exclusive to Windows
Meeni
MeeniOP4mo ago
win11 rx6700xt zen3
Lily
Lily4mo ago
im crashing jemalloc
dragon
dragon4mo ago
No description
IMS
IMS4mo ago
so all Windows 11 hm
dragon
dragon4mo ago
specs courtesy of speccy
IMS
IMS4mo ago
GOT IT I needed to use a different JVM now I can finally start fixing it
Lily
Lily4mo ago
I mean my log is giving me some methods
IMS
IMS4mo ago
are all of you on Adoptium/Temurin?
Meeni
MeeniOP4mo ago
JRE version: OpenJDK Runtime Environment Temurin-21.0.4+7 (21.0.4+7) (build 21.0.4+7-LTS)
Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (21.0.4+7-LTS, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
JRE version: OpenJDK Runtime Environment Temurin-21.0.4+7 (21.0.4+7) (build 21.0.4+7-LTS)
Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (21.0.4+7-LTS, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
you had a different one?
Lily
Lily4mo ago
beginning
IMS
IMS4mo ago
um.
Lily
Lily4mo ago
im running temurin
IMS
IMS4mo ago
that's an entirely different crash
Lily
Lily4mo ago
hmm silly
IMS
IMS4mo ago
this... might be a temurin bug try the Microsoft JDK
Lily
Lily4mo ago
I can't reproduce my crash with microsoft jdk
IMS
IMS4mo ago
incredible @JellySquid the bug is exclusive to people using Temurin :agony:
dragon
dragon4mo ago
I'm not using Temurin afaik
IMS
IMS4mo ago
can reliably reproduce on temurin, cannot reproduce on Microsoft
Lily
Lily4mo ago
horror
IMS
IMS4mo ago
you were the one who sent the PID report, right?
JRE version: OpenJDK Runtime Environment Temurin-21.0.4+7 (21.0.4+7) (build 21.0.4+7-LTS)
JRE version: OpenJDK Runtime Environment Temurin-21.0.4+7 (21.0.4+7) (build 21.0.4+7-LTS)
it has this in it that's temurin wait yours wasn't temurin... :agony:
Lily
Lily4mo ago
silly
IMS
IMS4mo ago
this explains nothing
dragon
dragon4mo ago
No, mine crash report says JRE version: OpenJDK Runtime Environment Microsoft-938842
IMS
IMS4mo ago
yeah
Lily
Lily4mo ago
they are running neoforge
IMS
IMS4mo ago
i have no clue i am also running neoforge
Meeni
MeeniOP4mo ago
just crashed with MS jdk
Lily
Lily4mo ago
how many crashes are there maybe there are multiple
IMS
IMS4mo ago
as far as I can tell, the jemalloc crashes are entirely unrelated
Meeni
MeeniOP4mo ago
the common one has this signature c2 net.minecraft.class_287.fillExtendedData(I)V
IMS
IMS4mo ago
yes that's the one I keep removing code from screw it just try this
dragon
dragon4mo ago
I can also confirm the file you sent before this most recent one had no crashes for me
IMS
IMS4mo ago
well that's expected i deleted the whole thing this new one reverts to some old code that has a major flaw, but hopefully doesn't have this flaw
Meeni
MeeniOP4mo ago
seems to be working the 917pm one
dragon
dragon4mo ago
guess we'll see
IMS
IMS4mo ago
if this one works, I'm likely just going to post it as b2 there's a known issue with this code, but it's much much rarer to cause from what I can tell... and I don't want to postpone this
dragon
dragon4mo ago
so far no issues
Meeni
MeeniOP4mo ago
same
IMS
IMS4mo ago
cool I'll give it 10 minutes if no one can find a critical bug I'll post as b2 actually wait @pajic can you test this for the end portal bug
pajic
pajic4mo ago
yeah, hold on appears to be fixed I'm getting constant OpenGL error spam though
IMS
IMS4mo ago
log?
pajic
pajic4mo ago
it only happens in spectator mode... not much to see, just a constant barrage of this [03:32:10] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. No active program.'
IMS
IMS4mo ago
okay turn on debug mode (ctrl D in shader list) should print a stacktrace
pajic
pajic4mo ago
prism didn't like that lol
IMS
IMS4mo ago
F yeah, the stacktraces do not get outputted to the log file to save your PC you'll need to get them from the live console
Lily
Lily4mo ago
pranked
Meeni
MeeniOP4mo ago
not sure what hte portal error is, but I took the end portal and nothing special happened to me
IMS
IMS4mo ago
:irrit: that's... impossible
IMS
IMS4mo ago
any other mods? oh litematica hm
pajic
pajic4mo ago
yeah i forgot i had litematica in this instance actually, could it be causing problems
IMS
IMS4mo ago
well it is but it should be compatible so here
pajic
pajic4mo ago
same thing pretty much
IMS
IMS4mo ago
spam too? that's impossible :irrit:
pajic
pajic4mo ago
yes, and only in spectator mode
dragon
dragon4mo ago
I'm not having any crashes, so I think the crash issue for NeoForge is resolved
IMS
IMS4mo ago
and this doesn't happen on b1...?
pajic
pajic4mo ago
i haven't checked, hold on
IMS
IMS4mo ago
this just looks like classic mod interference most likely, one of your mods is calling GLXX.glUseProgram directly and bypassing Iris' cache
previewBOT
previewBOT4mo ago
maruohon/litematica (on dc426db5b2ff93cc56790287d203d03944facf5d) src/main/java/fi/dy/masa/litematica/mixin/MixinWorldRenderer.java
36 | private void onRenderLayer(RenderLayer renderLayer, double x, double y, double z, Matrix4f matrix4f, Matrix4f positionMatrix, CallbackInfo ci)
36 | private void onRenderLayer(RenderLayer renderLayer, double x, double y, double z, Matrix4f matrix4f, Matrix4f positionMatrix, CallbackInfo ci)
pajic
pajic4mo ago
sus
IMS
IMS4mo ago
that's 1.12... oh
pajic
pajic4mo ago
huh I'm pretty sure I changed the branch beforehand
IMS
IMS4mo ago
github auto changes it when you double click :irrit:
LargeHungryMan
LargeHungryMan4mo ago
Getting the same problem, only when i turn on shaders. It failed a few times and then was good for 5 mins then crashed when i opened inventory. Can get crash logs if helpful Actually mb this belongs with neoforge crash Was running ATM10 in neoforge
dragon
dragon4mo ago
@IMS Sorry for the late hour ping, but I wanted to ask if you updated the Iris on CurseForge yet
IMS
IMS4mo ago
i did
dragon
dragon4mo ago
awesome, I'll inform the people who use Iris and Sodium on my server. thanks for the quick response
samalando (ping on please)
Yeah it is compatible, shaders just make rendering goofy, but one of the new devs decided to do some tests but I don’t know if they were pushed
Meeni
MeeniOP4mo ago
this is fixed with 1.8.0b2
Want results from more Discord servers?
Add your server