{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/26156","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/26156/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/26156/comments","events_url":"https://api.github.com/repos/golang/go/issues/26156/events","html_url":"https://github.com/golang/go/issues/26156","id":337209185,"node_id":"MDU6SXNzdWUzMzcyMDkxODU=","number":26156,"title":"only print 1 for once ","user":{"login":"Bmixo","id":25509024,"node_id":"MDQ6VXNlcjI1NTA5MDI0","avatar_url":"https://avatars1.githubusercontent.com/u/25509024?v=4","gravatar_id":"","url":"https://api.github.com/users/Bmixo","html_url":"https://github.com/Bmixo","followers_url":"https://api.github.com/users/Bmixo/followers","following_url":"https://api.github.com/users/Bmixo/following{/other_user}","gists_url":"https://api.github.com/users/Bmixo/gists{/gist_id}","starred_url":"https://api.github.com/users/Bmixo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bmixo/subscriptions","organizations_url":"https://api.github.com/users/Bmixo/orgs","repos_url":"https://api.github.com/users/Bmixo/repos","events_url":"https://api.github.com/users/Bmixo/events{/privacy}","received_events_url":"https://api.github.com/users/Bmixo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-30T11:50:05Z","updated_at":"2018-06-30T11:50:05Z","closed_at":null,"author_association":"NONE","body":"go version go1.10.3 darwin/amd64\r\n\r\n\r\nM:ggo bmixo$ go run c.go \r\n1\r\n^Csignal: interrupt\r\n\r\nonly got once 1 printed until this proccess kill by system\r\n\r\ndid i did something wrong,why the \"1\" cannot print all along.\r\ni simply  code like this:\r\n\r\n\r\n\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\t\"time\"\r\n)\r\n\r\nfunc main() {\r\n\r\n\tgo func() {\r\n\t\tfor {\r\n\t\t\tfmt.Println(\"1\")\r\n\t\t\ttime.Sleep(1 * time.Second)\r\n\t\t}\r\n\t}()\r\n\tfor {\r\n\r\n\t\tgo func() {\r\n\r\n\t\t\tdefer fmt.Println(\"menory full\")\r\n\t\t\tfor {\r\n\t\t\t\ttime.Sleep(1 * time.Second)\r\n\t\t\t}\r\n\r\n\t\t}()\r\n\t}\r\n\r\n}\r\n\r\n\r\n\r\n\r\nlog:\r\n\r\nSampling process 12894 for 3 seconds with 1 millisecond of run time between samples\r\nCouldn't find _sigtramp symbol in expected dylibs\r\nSampling completed, processing symbols...\r\nAnalysis of sampling c (pid 12894) every 1 millisecond\r\nProcess:         c [12894]\r\nPath:            /private/var/folders/qr/dz3qm1wx4dzb78yg5j12m5940000gn/T/go-build741984086/b001/exe/c\r\nLoad Address:    0x1000000\r\nIdentifier:      c\r\nVersion:         ???\r\nCode Type:       X86-64\r\nParent Process:  go [12878]\r\n\r\nDate/Time:       2018-06-30 19:48:50.819 +0800\r\nLaunch Time:     2018-06-30 19:48:27.225 +0800\r\nOS Version:      Mac OS X 10.13.5 (17F77)\r\nReport Version:  7\r\nAnalysis Tool:   /usr/bin/sample\r\n\r\nPhysical footprint:         23.0G\r\nPhysical footprint (peak):  23.0G\r\n----"}}
{"actor":{"display_login":"Bmixo"}}