After running the example in ubuntu18.04,it generates an error message:Assertion 'ws' failed. but in ubuntu16.04,it's no error.