cmd/link: run tests failed with lots of cases in buildmode=shared #26400
What version of Go are you using (
changed the title
tests: run tests failed with lots of cases in buildmode=shared
Jul 16, 2018
Certainly something is fairly broken here :( It all seems totally erratic though, quite a few things seem to fail differently under gdb than when run directly. The one test that I tried that segfaulted under gdb was trying to write memory past the end of the heap:
%rdi is only 15 bytes before the end of the heap here. But I also see failures to allocate absurd amounts of memory, strings not comparing equal, it's all a mess. It would probably make sense to bisect to see when things started breaking.
I'm not going to have time to look at this for a week or so at best unfortunately.