Threads: Too many heap sections

BlitzMax Forums/BlitzMax Bug Reports/Threads: Too many heap sections

EDIT: This should be in bug reports! (please move)

I get a "fatal GC error" with text "too many heap sections" when building and running the following code in threaded mode (always at iteration #121):
SuperStrict

Framework BRL.StandardIO

Import BRL.Math

Local i%
Repeat
	i :+ 1
	GCSuspend
	Local d:Double[] = [0!]
	For Local i% = 1 To 100000
		d = [Sqr( d[0] + i )]
	Next
	GCResume
	Print "Iteration #"+i
Forever

Non threaded build runs fine.