chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
643 stars 76 forks source link

Some versions of Java deadlock when loading scenes with a single render thread. #1631

Closed ThatRedox closed 11 months ago

ThatRedox commented 11 months ago

With:

> java --version
openjdk 17 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode, sharing)

Chunky will deadlock when loading a scene with a single render thread. It appears to work properly on both my installs of Java 11 and 21. image

ThatRedox commented 11 months ago

Appears to be due to this JDK bug: https://bugs.openjdk.org/browse/JDK-8281524