{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/4515","repository_url":"https://api.github.com/repos/hashicorp/consul","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/4515/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/4515/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/4515/events","html_url":"https://github.com/hashicorp/consul/issues/4515","id":349502469,"node_id":"MDU6SXNzdWUzNDk1MDI0Njk=","number":4515,"title":"panic: runtime error: invalid memory address or nil pointer dereference","user":{"login":"easyhhvm","id":5356990,"node_id":"MDQ6VXNlcjUzNTY5OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5356990?v=4","gravatar_id":"","url":"https://api.github.com/users/easyhhvm","html_url":"https://github.com/easyhhvm","followers_url":"https://api.github.com/users/easyhhvm/followers","following_url":"https://api.github.com/users/easyhhvm/following{/other_user}","gists_url":"https://api.github.com/users/easyhhvm/gists{/gist_id}","starred_url":"https://api.github.com/users/easyhhvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easyhhvm/subscriptions","organizations_url":"https://api.github.com/users/easyhhvm/orgs","repos_url":"https://api.github.com/users/easyhhvm/repos","events_url":"https://api.github.com/users/easyhhvm/events{/privacy}","received_events_url":"https://api.github.com/users/easyhhvm/received_events","type":"User","site_admin":false},"labels":[{"id":64219391,"node_id":"MDU6TGFiZWw2NDIxOTM5MQ==","url":"https://api.github.com/repos/hashicorp/consul/labels/bug","name":"bug","color":"fc2929","default":true},{"id":287599024,"node_id":"MDU6TGFiZWwyODc1OTkwMjQ=","url":"https://api.github.com/repos/hashicorp/consul/labels/crash","name":"crash","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-10T12:47:28Z","updated_at":"2018-08-13T12:02:28Z","closed_at":null,"author_association":"NONE","body":"\r\n#### Overview of the Issue\r\n\r\n(consul_1.2.2) Version: 'v1.2.2'\r\n==> Starting Consul agent...\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x106b896]\r\n\r\ngoroutine 1 [running]:\r\ngithub.com/hashicorp/consul/agent.(*Agent).consulConfig(0xc42012e000, 0xc42009a2d0, 0xdf8475800, 0xc420094240)\r\n\t/go/src/github.com/hashicorp/consul/agent/agent.go:824 +0x3d6\r\ngithub.com/hashicorp/consul/agent.(*Agent).Start(0xc42012e000, 0xc42012e000, 0x0)\r\n\t/go/src/github.com/hashicorp/consul/agent/agent.go:311 +0x2a7\r\ngithub.com/hashicorp/consul/command/agent.(*cmd).run(0xc420259800, 0xc42002e0b0, 0x1, 0x1, 0x0)\r\n\t/go/src/github.com/hashicorp/consul/command/agent/agent.go:219 +0x454\r\ngithub.com/hashicorp/consul/command/agent.(*cmd).Run(0xc420259800, 0xc42002e0b0, 0x1, 0x1, 0xc42038ef00)\r\n\t/go/src/github.com/hashicorp/consul/command/agent/agent.go:74 +0x50\r\ngithub.com/hashicorp/consul/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc4201ff320, 0xc4201ff320, 0x40, 0xc42038f200)\r\n\t/go/src/github.com/hashicorp/consul/vendor/github.com/mitchellh/cli/cli.go:242 +0x1eb\r\nmain.realMain(0xc420094058)\r\n\t/go/src/github.com/hashicorp/consul/main.go:53 +0x3ee\r\nmain.main()\r\n\t/go/src/github.com/hashicorp/consul/main.go:20 +0x22\r\n\r\n#### Overview of the Issue\r\n(consul_1.0.0) Version: 'v1.0.0'\r\n==> Starting Consul agent...\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xe53d4e]\r\n\r\ngoroutine 1 [running]:\r\ngithub.com/hashicorp/consul/agent.(*Agent).consulConfig(0xc42021c4e0, 0xc420158320, 0xc42015e360, 0xc420178d80)\r\n\t/gopath/src/github.com/hashicorp/consul/agent/agent.go:646 +0x32e\r\ngithub.com/hashicorp/consul/agent.(*Agent).Start(0xc42021c4e0, 0xc42021c4e0, 0x0)\r\n\t/gopath/src/github.com/hashicorp/consul/agent/agent.go:248 +0x169\r\ngithub.com/hashicorp/consul/command.(*AgentCommand).run(0xc4202bc1e0, 0xc42000e0b0, 0x1, 0x1, 0x0)\r\n\t/gopath/src/github.com/hashicorp/consul/command/agent.go:320 +0x4e0\r\ngithub.com/hashicorp/consul/command.(*AgentCommand).Run(0xc4202bc1e0, 0xc42000e0b0, 0x1, 0x1, 0xc4201d3620)\r\n\t/gopath/src/github.com/hashicorp/consul/command/agent.go:267 +0x50\r\ngithub.com/hashicorp/consul/vendor/github.com/mitchellh/cli.(*CLI).Run(0xc420229320, 0xc420229320, 0x40, 0xc42029f6a0)\r\n\t/gopath/src/github.com/hashicorp/consul/vendor/github.com/mitchellh/cli/cli.go:242 +0x1eb\r\nmain.realMain(0xef5bd7)\r\n\t/gopath/src/github.com/hashicorp/consul/main.go:52 +0x3fb\r\nmain.main()\r\n\t/gopath/src/github.com/hashicorp/consul/main.go:19 +0x22"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/412495245","html_url":"https://github.com/hashicorp/consul/issues/4515#issuecomment-412495245","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/4515","id":412495245,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQ5NTI0NQ==","user":{"login":"easyhhvm","id":5356990,"node_id":"MDQ6VXNlcjUzNTY5OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5356990?v=4","gravatar_id":"","url":"https://api.github.com/users/easyhhvm","html_url":"https://github.com/easyhhvm","followers_url":"https://api.github.com/users/easyhhvm/followers","following_url":"https://api.github.com/users/easyhhvm/following{/other_user}","gists_url":"https://api.github.com/users/easyhhvm/gists{/gist_id}","starred_url":"https://api.github.com/users/easyhhvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easyhhvm/subscriptions","organizations_url":"https://api.github.com/users/easyhhvm/orgs","repos_url":"https://api.github.com/users/easyhhvm/repos","events_url":"https://api.github.com/users/easyhhvm/events{/privacy}","received_events_url":"https://api.github.com/users/easyhhvm/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T12:02:28Z","updated_at":"2018-08-13T12:02:28Z","author_association":"NONE","body":"### configuration\r\n{\r\n  \"datacenter\": \"xxx\",\r\n  \"data_dir\": \"/data/consul/\",\r\n  \"log_level\": \"INFO\",\r\n  \"node_name\": \"X1\",\r\n  \"bind_addr\": \"10.1.2.3\",\r\n  \"client_addr\": \"127.0.0.1\",\r\n  \"ports\": {\r\n     \"serf_wan\": -1,\r\n     \"dns\": -1\r\n  },\r\n  \"reconnect_timeout\": \"10h\",\r\n  \"reconnect_timeout_wan\": \"10h\",\r\n  \"enable_script_checks\": true,\r\n  \"ui\": true,\r\n}\r\n### \r\nThank you\r\nUsing \"serf_wan\": -1 and \"reconnect_timeout_wan\" at the same time will produce errors."}}
{"actor":{"display_login":"easyhhvm"}}