The most common cause of this error is an out-of-bounds array write or dereferencing an invalid pointer.