oωo (owo-lib)

oωo (owo-lib)

17M Downloads

[linux][1.19] glfw crash when exiting creative inventory

FederAndInk opened this issue · 1 comments

commented

Hi, I have a crash when exiting the creative inventory, glfw doesn't seem happy when you destroy the cursors, do you have any idea?

---------------  T H R E A D  ---------------

Current thread (0x00007f87840159a0):  JavaThread "Render thread" [_thread_in_native, id=1777, stack(0x00007f8789300000,0x00007f8789400000)]

Stack: [0x00007f8789300000,0x00007f8789400000],  sp=0x00007f87893fdd60,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libglfw.so+0xbe13]  glfwDestroyCursor+0x83

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 19674  org.lwjgl.system.JNI.invokePV(JJ)V (0 bytes) @ 0x00007f87750f30ec [0x00007f87750f30a0+0x000000000000004c]
j  org.lwjgl.glfw.GLFW.glfwDestroyCursor(J)V+17
j  io.wispforest.owo.ui.util.CursorAdapter$$Lambda$32798+0x0000000804759b80.accept(Ljava/lang/Object;)V+7
J 18086 c2 java.lang.Iterable.forEach(Ljava/util/function/Consumer;)V [email protected] (39 bytes) @ 0x00007f87759f1570 [0x00007f87759f1360+0x0000000000000210]
j  io.wispforest.owo.ui.util.CursorAdapter.dispose()V+20
j  net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.handler$kad000$disposeCursorAdapter(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V+4
j  net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.removed()V+2
j  net.minecraft.client.MinecraftClient.setScreen(Lnet/minecraft/Screen;)V+222
j  net.minecraft.client.MinecraftClient.reset(Lnet/minecraft/Screen;)V+31
j  net.minecraft.client.MinecraftClient.disconnect(Lnet/minecraft/Screen;)V+119
j  net.minecraft.client.MinecraftClient.cleanUpAfterCrash()V+53
j  net.minecraft.client.MinecraftClient.run()V+207
j  net.minecraft.client.main.Main.main([Ljava/lang/String;Z)V+1471
j  net.minecraft.client.main.Main.main([Ljava/lang/String;)V+2
j  java.lang.invoke.LambdaForm$DMH+0x00000008000c0000.invokeStaticInit(Ljava/lang/Object;Ljava/lang/Object;)V+10 [email protected]
j  java.lang.invoke.LambdaForm$MH+0x00000008000c0800.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+19 [email protected]
j  net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(Ljava/lang/ClassLoader;)V+78
j  net.fabricmc.loader.impl.launch.knot.Knot.launch([Ljava/lang/String;Lnet/fabricmc/api/EnvType;)V+40
j  net.fabricmc.loader.impl.launch.knot.KnotClient.main([Ljava/lang/String;)V+4
j  java.lang.invoke.LambdaForm$DMH+0x00000008000c0000.invokeStaticInit(Ljava/lang/Object;Ljava/lang/Object;)V+10 [email protected]
j  java.lang.invoke.LambdaForm$MH+0x00000008000c0800.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+19 [email protected]
j  org.prismlauncher.launcher.impl.StandardLauncher.launch()V+149
j  org.prismlauncher.EntryPoint.listen()Lorg/prismlauncher/EntryPoint$ExitCode;+340
j  org.prismlauncher.EntryPoint.main([Ljava/lang/String;)V+0
v  ~StubRoutines::call_stub

link to full crash: https://gist.github.com/FederAndInk/1d2f6113b34f1170e664e987e75fa1fc
owo: v0.9.3+1.19
glfw-x11: v3.3.8
modpack: AQM2 v1.3.1 mc 1.19.2
fabric: 0.14.12

commented

issue solved, need to use lwjgl 3.3.1 and latest commit of glfw (at least after 3.3.8 as it must include the glfwInitAllocator symbol)