Crash when taking a screenshot: Image is not allocated
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:?]
Environment
OS: Windows 7
RAM: Less than 3GB
Java version: 1.8.0_202
CPU: AMD A4-3300m APU with Radeon(tm) HD Graphics
Linked Issues
is duplicated by1
Created Issue:
Crash: Image is not allowcated
After taking lots of screenshots, the game will crash when pressing F2 to take a screenshot.
log file:
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:?]Environment
OS: Windows 7
RAM: Less than 3GB
Java version: 1.8.0_202
CPU: AMD A4-3300m APU with Radeon(tm) HD Graphics
Crash: Image is not allowcated
Crash when taking a screenshot: Image is not allocated
After taking lots of screenshots, the game will crash
when pressing F2 to take a screenshot.log
file:
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:?]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 JPEGlog 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:?]
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 JPEGlog 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:?]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 JPEGlog 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:?]
is duplicated by
Thank you for your report!
We're tracking this issue in MC-210848, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Is it possible your computer ran out of storage/memory?