Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: crash on write barrier insertion #33438
This code crashes when trying to insert a write barrier. It thinks the nil pointer being read from is a global pointer, then tries to find the symbol backing that pointer. Oops.
This will only happen for code that unconditionally panics while reading from the nil pointer. Not terribly interesting code, but it happens in Google. Things like:
Started failing with CL 156363