mojira.dev
MC-147845

resources.zip in world folder makes game crash when clicking resource packs button

In Minecraft 1.14 Pre-Release 1(I have not checked other snapshots this is just the one i found it in) If you have a resource pack zipped to load with the world it works just fine the problem is when you click the resource packs button when a resource pack is being loaded from a zip file in the world folder.

1.14 Pre-Release 1\: [^crash-2019-04-10_22.13.32-client.txt]

---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 4/10/19 10:13 PM
Description: Rendering screen

java.lang.IllegalStateException: Image is not allocated.
	at ctp.g(SourceFile:143)
	at ctp.a(SourceFile:325)
	at ctp.a(SourceFile:320)
	at ctp.a(SourceFile:316)
	at dtn.a(SourceFile:31)
	at dtn.<init>(SourceFile:16)
	at dus.a(SourceFile:50)
	at dci$a.a(SourceFile:87)
	at dci$a.render(SourceFile:114)
	at cwc.renderList(SourceFile:437)
	at cwc.render(SourceFile:191)
	at dcf.render(SourceFile:116)
	at djz.a(SourceFile:688)
	at cva.d(SourceFile:946)
	at cva.b(SourceFile:410)
	at net.minecraft.client.main.Main.main(SourceFile:154)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at ctp.g(SourceFile:143)
	at ctp.a(SourceFile:325)
	at ctp.a(SourceFile:320)
	at ctp.a(SourceFile:316)
	at dtn.a(SourceFile:31)
	at dtn.<init>(SourceFile:16)
	at dus.a(SourceFile:50)
	at dci$a.a(SourceFile:87)
	at dci$a.render(SourceFile:114)
	at cwc.renderList(SourceFile:437)
	at cwc.render(SourceFile:191)
	at dcf.render(SourceFile:116)

-- Screen render details --
Details:
	Screen name: dcf
	Mouse location: Scaled: (167, 167). Absolute: (334.000000, 335.000000)
	Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [djm['BJTMastermind'/206, l='MpServer', x=-20.69, y=57.00, z=41.09]]
	Chunk stats: MultiplayerChunkCache: 2209, 1763
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: {}
	Level spawn location: World: (0,57,0), Chunk: (at 0,3,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 3783910 game time, 6000 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at dhc.a(SourceFile:420)
	at cva.b(SourceFile:1912)
	at cva.b(SourceFile:418)
	at net.minecraft.client.main.Main.main(SourceFile:154)

-- System Details --
Details:
	Minecraft Version: 1.14 Pre-Release 1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1740269840 bytes (1659 MB) / 2801795072 bytes (2672 MB) up to 3221225472 bytes (3072 MB)
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
	Launched Version: 1.14 Pre-Release 1
	LWJGL: 3.2.1 build 12
	OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.6.0 NVIDIA 399.24, NVIDIA Corporation
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: vanilla, programer_art, file/Better Bedrock texture, file/resources
	Current Language: English (US)
	CPU: 4x Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz

Attachments

Comments 8

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.

We do not have enough information to find the cause of this issue.
Please attach the crash report (.minecraft/crash-reports/crash-<DATE>-client.txt) here.

If no crash report was created, please attach the launcher log (.minecraft/launcher_log.txt) here.

Once attached, the report will be reopened automatically.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

Ive added the crash report

The reason for this bug is due to `pack.png`. Whenever there is a pack.png file in the packaged resource pack, this bug occurs. Deleting it will prevent crashing.

See the attached resources.zip. Drop it in any world file, then test with pack.png included and then delete the pack.png and try again to see that crashing stops. No other file is included in the RP except the image, mcmeta, and 'assets/minecraft' folder with nothing inside.

Is it possible to add the bit about the 'pack.png' part to the report? I'm assuming since that seems to be what is causing the crash in testing, that's probably also what the crash report refers to in 'Image is not allocated'.

That did fix it but ive had it work fine in older versions before with the pack.png file included like in 1.12.X and 1.13.X

Can confirm, issue is definitely occurring only when there is a pack.png

Confirmed 1.14 pre-release 3

BJTMastermind

Nathan Adams

Unconfirmed

Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2

Minecraft 1.14 Pre-Release 4

Retrieved