{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/12268","labels_url":"https://api.github.com/repos/golang/go/issues/12268/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12268/comments","events_url":"https://api.github.com/repos/golang/go/issues/12268/events","html_url":"https://github.com/golang/go/issues/12268","id":102501738,"number":12268,"title":"x/exp/shiny: example/basic crashes on window move darwin","user":{"login":"jnjackins","id":449232,"avatar_url":"https://avatars.githubusercontent.com/u/449232?v=3","gravatar_id":"","url":"https://api.github.com/users/jnjackins","html_url":"https://github.com/jnjackins","followers_url":"https://api.github.com/users/jnjackins/followers","following_url":"https://api.github.com/users/jnjackins/following{/other_user}","gists_url":"https://api.github.com/users/jnjackins/gists{/gist_id}","starred_url":"https://api.github.com/users/jnjackins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnjackins/subscriptions","organizations_url":"https://api.github.com/users/jnjackins/orgs","repos_url":"https://api.github.com/users/jnjackins/repos","events_url":"https://api.github.com/users/jnjackins/events{/privacy}","received_events_url":"https://api.github.com/users/jnjackins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-22T04:05:32Z","updated_at":"2015-08-22T04:05:32Z","closed_at":null,"body":"go version: go version devel +2468227 Fri Aug 21 22:32:43 2015 +0000 darwin/amd64\r\ngolang/x/exp: tip (a5b2ce41f70b6be92fbee9c4d6ef52738e35a8c9)\r\n\r\nThe following happens the moment I click the window title bar:\r\n\r\n```\r\n$ go run main.go \r\n2015/08/22 13:02:53 sendLifecycle: StageAlive\r\n2015/08/22 13:02:53 sendLifecycle: StageVisible\r\n2015/08/22 13:02:53 sendLifecycle: StageFocused\r\nfatal error: unexpected signal during runtime execution\r\n[signal 0xb code=0x1 addr=0x10 pc=0x7fff8c38a0e9]\r\n\r\nruntime stack:\r\nruntime.throw(0x417a9c0, 0x2a)\r\n\t/Users/jnj/src/go/src/runtime/panic.go:527 +0x90\r\nruntime.sigpanic()\r\n\t/Users/jnj/src/go/src/runtime/sigpanic_unix.go:12 +0x5a\r\n\r\ngoroutine 1 [syscall, locked to thread]:\r\nruntime.cgocall(0x4003400, 0xc82005de10, 0xc800000000)\r\n\t/Users/jnj/src/go/src/runtime/cgocall.go:120 +0x11b fp=0xc82005ddf0 sp=0xc82005ddc0\r\ngolang.org/x/exp/shiny/driver/gldriver._Cfunc_startDriver()\r\n\tgolang.org/x/exp/shiny/driver/gldriver/_obj/_cgo_gotypes.go:128 +0x31 fp=0xc82005de10 sp=0xc82005ddf0\r\ngolang.org/x/exp/shiny/driver/gldriver.main(0x4189c08, 0x0, 0x0)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:68 +0x193 fp=0xc82005de90 sp=0xc82005de10\r\ngolang.org/x/exp/shiny/driver/gldriver.Main(0x4189c08)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/gldriver.go:26 +0x30 fp=0xc82005df20 sp=0xc82005de90\r\ngolang.org/x/exp/shiny/driver.main(0x4189c08)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/driver_darwin.go:15 +0x21 fp=0xc82005df30 sp=0xc82005df20\r\ngolang.org/x/exp/shiny/driver.Main(0x4189c08)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/driver.go:24 +0x21 fp=0xc82005df40 sp=0xc82005df30\r\nmain.main()\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/example/basic/main.go:84 +0x23 fp=0xc82005df50 sp=0xc82005df40\r\nruntime.main()\r\n\t/Users/jnj/src/go/src/runtime/proc.go:111 +0x2b0 fp=0xc82005dfa0 sp=0xc82005df50\r\nruntime.goexit()\r\n\t/Users/jnj/src/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82005dfa8 sp=0xc82005dfa0\r\n\r\ngoroutine 17 [chan receive, locked to thread]:\r\ngolang.org/x/exp/shiny/driver/gldriver.drawgl(0x44578a0)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:87 +0xd1\r\n\r\ngoroutine 5 [chan receive]:\r\nmain.main.func1(0x47a42e0, 0x4208d40)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/example/basic/main.go:52 +0x65d\r\ngolang.org/x/exp/shiny/driver/gldriver.driverStarted.func1()\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:75 +0x47\r\ncreated by golang.org/x/exp/shiny/driver/gldriver.driverStarted\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:77 +0x2b\r\n\r\ngoroutine 18 [select]:\r\ngolang.org/x/exp/shiny/driver/internal/pump.(*Pump).run(0xc820090080)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/internal/pump/pump.go:62 +0x4df\r\ncreated by golang.org/x/exp/shiny/driver/internal/pump.Make\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/internal/pump/pump.go:15 +0x116\r\n\r\ngoroutine 19 [runnable, locked to thread]:\r\ngolang.org/x/exp/shiny/driver/gldriver.drawLoop(0xc8200600e0, 0x44121c0)\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/cocoa.go:117 +0x2a6\r\ncreated by golang.org/x/exp/shiny/driver/gldriver.(*screenImpl).NewWindow\r\n\t/Users/jnj/src/golang.org/x/exp/shiny/driver/gldriver/screen.go:103 +0x28e\r\n\r\ngoroutine 34 [syscall, locked to thread]:\r\nruntime.goexit()\r\n\t/Users/jnj/src/go/src/runtime/asm_amd64.s:1696 +0x1\r\nexit status 2\r\n```"}}