Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-210848

Crash when taking a screenshot: Image is not allocated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.16.4, 1.16.5
    • None
    • OS: Windows 7
      RAM: Less than 3GB
      Java version: 1.8.0_202
      CPU: AMD A4-3300m APU with Radeon(tm) HD Graphics
    • Community Consensus
    • Crash
    • Very Important
    • Platform

      After taking lots of screenshots, sometimes the game will crash, sometimes it displays "Couldn't save screenshot: Could not write image to the PNG file 'C:\Users\lenovo\AppData\Roaming\.minecraft\screenshots\2021-01-08_11.34.16_4.png': Corrupt JPEG"

      log text (couldn't save screenshot):

      [11:34:22] [Render thread/INFO]: [CHAT] Couldn't save screenshot: Could not write image to the PNG file "C:\Users\lenovo\AppData\Roaming\.minecraft\screenshots\2021-01-08_11.34.21_4.png": Corrupt JPEG
      

      log text (crash):

      java.lang.IllegalStateException: Image is not allocated.
      	at det.h(SourceFile:155) ~[1.16.4.jar:?]
      	at det.a(SourceFile:388) ~[1.16.4.jar:?]
      	at dkh.a(SourceFile:79) ~[1.16.4.jar:?]
      	at dkh.b(SourceFile:46) ~[1.16.4.jar:?]
      	at dkh.a(SourceFile:41) ~[1.16.4.jar:?]
      	at dkh.a(SourceFile:32) ~[1.16.4.jar:?]
      	at djx.a(SourceFile:321) ~[1.16.4.jar:?]
      	at djx.c(SourceFile:433) ~[1.16.4.jar:?]
      	at djx$$Lambda$3673/2836713.run(Unknown Source) ~[?:?]
      	at aob.execute(SourceFile:94) ~[1.16.4.jar:?]
      	at djx.b(SourceFile:433) ~[1.16.4.jar:?]
      	at djx$$Lambda$2339/9925629.invoke(Unknown Source) ~[?:?]
      	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:37) ~[lwjgl-glfw-3.2.2.jar:build 10]
      	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10]
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10]
      	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:102) ~[1.16.4.jar:?]
      	at dez.e(SourceFile:308) ~[1.16.4.jar:?]
      	at djz.e(SourceFile:1068) ~[1.16.4.jar:?]
      	at djz.e(SourceFile:681) [1.16.4.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:215) [1.16.4.jar:?]
      

        1. crash-2021-01-07_19.31.00-client.txt
          4 kB
          刘舒阳
        2. testbug.log
          51 kB
          刘舒阳

            Unassigned Unassigned
            LaggyPlayer 刘舒阳
            Votes:
            10 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: