{"action":"opened","issue":{"url":"https://api.github.com/repos/lirm/aeron-go/issues/15","repository_url":"https://api.github.com/repos/lirm/aeron-go","labels_url":"https://api.github.com/repos/lirm/aeron-go/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/lirm/aeron-go/issues/15/comments","events_url":"https://api.github.com/repos/lirm/aeron-go/issues/15/events","html_url":"https://github.com/lirm/aeron-go/issues/15","id":174055701,"number":15,"title":"[bug] Deadlock quitting pong","user":{"login":"stanliberman","id":7715308,"avatar_url":"https://avatars.githubusercontent.com/u/7715308?v=3","gravatar_id":"","url":"https://api.github.com/users/stanliberman","html_url":"https://github.com/stanliberman","followers_url":"https://api.github.com/users/stanliberman/followers","following_url":"https://api.github.com/users/stanliberman/following{/other_user}","gists_url":"https://api.github.com/users/stanliberman/gists{/gist_id}","starred_url":"https://api.github.com/users/stanliberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanliberman/subscriptions","organizations_url":"https://api.github.com/users/stanliberman/orgs","repos_url":"https://api.github.com/users/stanliberman/repos","events_url":"https://api.github.com/users/stanliberman/events{/privacy}","received_events_url":"https://api.github.com/users/stanliberman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T15:48:03Z","updated_at":"2016-08-30T15:48:03Z","closed_at":null,"body":"Stack:\r\n\r\nPC=0x58abb m=0\r\n\r\ngoroutine 0 [idle]:\r\nruntime.mach_semaphore_wait(0x1103, 0xc40000000e, 0x7fff5fbff580, 0x1dace0, 0x7fff5fbff430, 0x1dace0, 0x7fff5fbff440, 0x4ef13, 0xffffffffffffffff, 0x7fff5fbff470, ...)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/sys_darwin_amd64.s:418 +0xb\r\nruntime.semasleep1(0xffffffffffffffff, 0x7fff5fbff470)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/os_darwin.go:435 +0x4b\r\nruntime.semasleep.func1()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/os_darwin.go:451 +0x33\r\nruntime.systemstack(0x7fff5fbff468)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/asm_amd64.s:314 +0xab\r\nruntime.semasleep(0xffffffffffffffff, 0x0)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/os_darwin.go:452 +0x44\r\nruntime.notesleep(0x1db370)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/lock_sema.go:166 +0x9f\r\nruntime.stopm()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:1594 +0xad\r\nruntime.gcstopm()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:1798 +0x9a\r\nruntime.findrunnable(0xc420020a00, 0x0)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:1848 +0x9a8\r\nruntime.schedule()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:2120 +0x14c\r\nruntime.park_m(0xc4200c24e0)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:2183 +0x123\r\nruntime.mcall(0x7fff5fbff690)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/asm_amd64.s:240 +0x5b\r\n\r\ngoroutine 1 [semacquire, 1070 minutes]:\r\nsync.runtime_Semacquire(0xc420096194)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/sema.go:47 +0x30\r\nsync.(*Mutex).Lock(0xc420096190)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/sync/mutex.go:85 +0xd0\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).releasePublication(0xc420096148, 0xa, 0x0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:292 +0x112\r\ngithub.com/lirm/aeron-go/aeron.(*Publication).Close(0xc42001cbd0, 0xc40000000b, 0xc4200fa060)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/publication.go:92 +0x85\r\nmain.main()\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/examples/pong/pong.go:112 +0x5e6\r\n\r\ngoroutine 17 [syscall, 1376 minutes, locked to thread]:\r\nruntime.goexit()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/asm_amd64.s:2086 +0x1\r\n\r\ngoroutine 5 [syscall]:\r\nos/signal.signal_recv(0x1c5140)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/sigqueue.go:116 +0x157\r\nos/signal.loop()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/os/signal/signal_unix.go:22 +0x22\r\ncreated by os/signal.init.1\r\n\t/usr/local/Cellar/go/1.7/libexec/src/os/signal/signal_unix.go:28 +0x41\r\n\r\ngoroutine 6 [semacquire, 1306 minutes, locked to thread]:\r\nsync.runtime_Semacquire(0xc420096194)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/sema.go:47 +0x30\r\nsync.(*Mutex).Lock(0xc420096190)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/sync/mutex.go:85 +0xd0\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).releaseSubscription(0xc420096148, 0x8, 0xc4200ea090, 0x1, 0x1, 0x0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:377 +0x11e\r\ngithub.com/lirm/aeron-go/aeron.(*Subscription).Close(0xc4200ce500, 0xc4200e23e0, 0xc4200e23e0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/subscription.go:62 +0xab\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).Close(0xc420096148, 0x147e38, 0xc420096190)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:171 +0x1b5\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).onInterServiceTimeout(0xc420096148, 0x146f592464b84688)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:550 +0xfd\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).onHeartbeatCheckTimeouts(0xc420096148, 0x0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:563 +0x254\r\ngithub.com/lirm/aeron-go/aeron.(*ClientConductor).Run(0xc420096148, 0x1c4a40, 0xc42000cc70)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/clientconductor.go:207 +0x13c\r\ncreated by github.com/lirm/aeron-go/aeron.Connect\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/aeron.go:82 +0x319\r\n\r\ngoroutine 9 [select, 1376 minutes, locked to thread]:\r\nruntime.gopark(0x147d80, 0x0, 0x13816e, 0x6, 0x18, 0x2)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/proc.go:259 +0x13a\r\nruntime.selectgoImpl(0xc420030f30, 0x0, 0x18)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/select.go:423 +0x11d9\r\nruntime.selectgo(0xc420030f30)\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/select.go:238 +0x1c\r\nruntime.ensureSigM.func1()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/signal1_unix.go:304 +0x2d1\r\nruntime.goexit()\r\n\t/usr/local/Cellar/go/1.7/libexec/src/runtime/asm_amd64.s:2086 +0x1\r\n\r\ngoroutine 20 [runnable]:\r\ngithub.com/lirm/aeron-go/aeron.(*Subscription).Poll(0xc4200ce500, 0xc4200ee0c0, 0xa, 0x0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/aeron/subscription.go:69\r\nmain.main.func3(0xc4200ce500, 0xc4200ee0c0)\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/examples/pong/pong.go:105 +0x3e\r\ncreated by main.main\r\n\t/Users/e11778/gohome/src/github.com/lirm/aeron-go/examples/pong/pong.go:108 +0x57f\r\n\r\nrax    0xe\r\nrbx    0x1db260\r\nrcx    0x7fff5fbff3e0\r\nrdx    0x7fff5fbff468\r\nrdi    0x1103\r\nrsi    0x1db261\r\nrbp    0x7fff5fbff418\r\nrsp    0x7fff5fbff3e0\r\nr8     0x7fff5fbff448\r\nr9     0x0\r\nr10    0x0\r\nr11    0x246\r\nr12    0x1ee194258af1d\r\nr13    0x1ef8484969fc0\r\nr14    0x146f66e328b4fa00\r\nr15    0x17c5d8\r\nrip    0x58abb\r\nrflags 0x246\r\ncs     0x7\r\nfs     0x0\r\ngs     0x0"}}
{"actor":{"display_login":"stanliberman"}}