Crash when looping over string contents #31
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adding an
io.write(i)call to the loop adds a stack frame and prevents the crash.Crash when looping over string contents on arm64to Crash when looping over string contentsLooking at the
--asmoutput, this happens because the string addresses are incorrectly overwritten:The
--ssaoutput reveals that the addresses α1 and α2 are not marked as alive after the instructions finish:Fixed in
cli/q@8b1bcf9beb.