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
MeeniOP3mo ago
the crash report
IMS
IMS3mo 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
MeeniOP3mo ago
I'm getting it almost 100% anything I can collect that would help?
Lily
Lily3mo ago
how are you causing it
IMS
IMS3mo ago
they have specified multiple ways to cause it, none I can reproduce
Lily
Lily3mo 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
Lily3mo ago
a little old version but
IMS
IMS3mo ago
@Lily @Meeni @dragon what CPU/GPU are you all on
Lily
Lily3mo ago
im running a i7-8700 and a rtx 3060ti
dragon
dragon3mo ago
Intel i7 10700K and Nvidia RTX 3080
IMS
IMS3mo ago
all Windows?
Lily
Lily3mo ago
yeah
dragon
dragon3mo ago
11
IMS
IMS3mo ago
i have no clue how such an error could be exclusive to Windows
Meeni
MeeniOP3mo ago
win11 rx6700xt zen3
Lily
Lily3mo ago
im crashing jemalloc
dragon
dragon3mo ago
No description
IMS
IMS3mo ago
so all Windows 11 hm
dragon
dragon3mo ago
specs courtesy of speccy
IMS
IMS3mo ago
GOT IT I needed to use a different JVM now I can finally start fixing it
Lily
Lily3mo ago
I mean my log is giving me some methods
IMS
IMS3mo ago
are all of you on Adoptium/Temurin?
Meeni
MeeniOP3mo 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
Lily3mo ago
beginning
IMS
IMS3mo ago
um.
Lily
Lily3mo ago
im running temurin
IMS
IMS3mo ago
that's an entirely different crash
Lily
Lily3mo ago
hmm silly
IMS
IMS3mo ago
this... might be a temurin bug try the Microsoft JDK
Lily
Lily3mo ago
I can't reproduce my crash with microsoft jdk
IMS
IMS3mo ago
incredible @JellySquid the bug is exclusive to people using Temurin :agony:
dragon
dragon3mo ago
I'm not using Temurin afaik
IMS
IMS3mo ago
can reliably reproduce on temurin, cannot reproduce on Microsoft
Lily
Lily3mo ago
horror
IMS
IMS3mo 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
Lily3mo ago
silly
IMS
IMS3mo ago
this explains nothing
dragon
dragon3mo ago
No, mine crash report says JRE version: OpenJDK Runtime Environment Microsoft-938842
IMS
IMS3mo ago
yeah
Lily
Lily3mo ago
they are running neoforge
IMS
IMS3mo ago
i have no clue i am also running neoforge
Meeni
MeeniOP3mo ago
just crashed with MS jdk
Lily
Lily3mo ago
how many crashes are there maybe there are multiple
IMS
IMS3mo ago
as far as I can tell, the jemalloc crashes are entirely unrelated
Meeni
MeeniOP3mo ago
the common one has this signature c2 net.minecraft.class_287.fillExtendedData(I)V
IMS
IMS3mo ago
yes that's the one I keep removing code from screw it just try this
dragon
dragon3mo ago
I can also confirm the file you sent before this most recent one had no crashes for me
IMS
IMS3mo 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
MeeniOP3mo ago
seems to be working the 917pm one
dragon
dragon3mo ago
guess we'll see
IMS
IMS3mo 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
dragon3mo ago
so far no issues
Meeni
MeeniOP3mo ago
same
IMS
IMS3mo 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
pajic3mo ago
yeah, hold on appears to be fixed I'm getting constant OpenGL error spam though
IMS
IMS3mo ago
log?
pajic
pajic3mo 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
IMS3mo ago
okay turn on debug mode (ctrl D in shader list) should print a stacktrace
pajic
pajic3mo ago
prism didn't like that lol
IMS
IMS3mo 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
Lily3mo ago
pranked
Meeni
MeeniOP3mo ago
not sure what hte portal error is, but I took the end portal and nothing special happened to me
IMS
IMS3mo ago
:irrit: that's... impossible
IMS
IMS3mo ago
any other mods? oh litematica hm
pajic
pajic3mo ago
yeah i forgot i had litematica in this instance actually, could it be causing problems
IMS
IMS3mo ago
well it is but it should be compatible so here
pajic
pajic3mo ago
same thing pretty much
IMS
IMS3mo ago
spam too? that's impossible :irrit:
pajic
pajic3mo ago
yes, and only in spectator mode
dragon
dragon3mo ago
I'm not having any crashes, so I think the crash issue for NeoForge is resolved
IMS
IMS3mo ago
and this doesn't happen on b1...?
pajic
pajic3mo ago
i haven't checked, hold on
IMS
IMS3mo ago
this just looks like classic mod interference most likely, one of your mods is calling GLXX.glUseProgram directly and bypassing Iris' cache
previewBOT
previewBOT3mo 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
pajic3mo ago
sus
IMS
IMS3mo ago
that's 1.12... oh
pajic
pajic3mo ago
huh I'm pretty sure I changed the branch beforehand
IMS
IMS3mo ago
github auto changes it when you double click :irrit:
LargeHungryMan
LargeHungryMan3mo 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
dragon3mo ago
@IMS Sorry for the late hour ping, but I wanted to ask if you updated the Iris on CurseForge yet
IMS
IMS3mo ago
i did
dragon
dragon3mo 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
MeeniOP3mo ago
this is fixed with 1.8.0b2
Want results from more Discord servers?
Add your server