Crash when looping over string contents #31
Labels
No labels
arch
arm
arch
x86
bug
duplicate
enhancement
help wanted
invalid
os
linux
os
mac
os
windows
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 2 hours
Due date
ed
2 hours
No due date set.
Dependencies
No dependencies set.
Reference
cli/q#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
8b1bcf9beb.