Error while executing swarm join

Hi All,
I want to build the swarm package after getting the source code from github. It can successfully create when I execute

> swarm create 

command and this returns the cluster id. But when I execute the join command it is giving me the following error:

> INFO[0000] Registering on the discovery service every 20s...  addr= discovery=token://b78567f58a174d8f7b075d4407cc9814
> Segmentation fault (core dumped)

I execute following command to join another node. I guess there is no error in command itself.

swarm join --advertise= token://b78567f58a174d8f7b075d4407cc9814

-Thank you