Segmentation error thrown for threading over loop

I am encountering this strange error, and cannot decipher the messages. K is a NXN sparse array, d is an N-vector, with the entries close to 1.0. I am using Julia v1.1.0.

Threads.@threads for i in 1 : N
K[i,:]*=d[i];
end

signal (11): Segmentation fault
in expression starting at no file:0
in expression starting at no filein expression starting at no file:0
unknown function (ip: 0x7f8b9ecdb74b)