On Fri, Jul 8, 2022 at 9:19 AM Richiise Nugraha wrote:
>
> Hi, i was testing this code on Go playground and it works just fine, however
> if i run with `-race` it throws `pointer arithmetic result points to invalid
> allocation` although it has the same address. What really causes this?, like
>
Hi, i was testing this code on Go playground and it works just fine,
however if i run with `-race` it throws `pointer arithmetic result points
to invalid allocation` although it has the same address. What really causes
this?, like the address (untouched) still a valid allocation
ptr = 0xc000138