BenWoodworth/knbt

Test fails on mingwX64

Closed this issue · 2 comments

BinaryNbtReaderTest.should_decode_to_class_correctly:

> Task :mingwX64ProcessResources NO-SOURCE
> Task :mingwX64MainKlibrary
> Task :compileTestKotlinMingwX64
> Task :linkDebugTestMingwX64

Expiring Daemon because JVM heap space is exhausted
Daemon will be stopped at the end of the build after running out of JVM memory
Expiring Daemon because JVM heap space is exhausted
Expiring Daemon because JVM heap space is exhausted

> Task :mingwX64Test FAILED

35 tests completed, 1 failed

net.benwoodworth.knbt.internal.BinaryNbtReaderTest.should_decode_to_class_correctly FAILED
    Unknown

4 actionable tasks: 4 executed
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mingwX64Test'.
> Test running process exited unexpectedly.
  Current test: should_decode_to_class_correctly


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

BUILD FAILED in 4m
Error: Process completed with exit code 1.

Crashing on the first call to free (plus the other calls if I comment the earlier ones out):

free(strm.ptr)
free(inbuf)
free(outbuf)

Pipeline passed for mingw :)