{"action":"created","issue":{"url":"https://api.github.com/repos/gocql/gocql/issues/526","labels_url":"https://api.github.com/repos/gocql/gocql/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/gocql/gocql/issues/526/comments","events_url":"https://api.github.com/repos/gocql/gocql/issues/526/events","html_url":"https://github.com/gocql/gocql/issues/526","id":117054232,"number":526,"title":"Panic in Pool.Pick","user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T05:28:32Z","updated_at":"2015-11-16T05:34:05Z","closed_at":null,"body":"Stack Trace:\r\n```\r\n\u001B[35m[2015-11-15T10:52:33.49Z] [GEARD] [geard.go:437] [CRITICAL] PANIC: runtime error: invalid memory address or nil pointer dereference\r\n/usr/local/go/src/runtime/panic.go:423 (0x4321f9)\r\n\tgopanic: reflectcall(nil, unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))\r\n/usr/local/go/src/runtime/panic.go:42 (0x4308b9)\r\n\tpanicmem: panic(memoryError)\r\n/usr/local/go/src/runtime/sigpanic_unix.go:24 (0x44770a)\r\n\tsigpanic: panicmem()\r\n/go/src/github.com/channelmeter/gocql/connectionpool.go:188 (0x70456f)\r\n\t(*policyConnPool).Pick: conn = p.hostConnPools[host.Info().Peer].Pick(qry)\r\n/go/src/github.com/channelmeter/gocql/session.go:429 (0x7463be)\r\n\t(*Session).executeBatch: host, conn := s.pool.Pick(nil)\r\n/go/src/github.com/channelmeter/gocql/session.go:460 (0x746697)\r\n\t(*Session).ExecuteBatch: _, err := s.executeBatch(batch)\r\n/go/src/github.com/channelmeter/geard/tasks/youtube/video.go:277 (0x5c3135)\r\n```\r\n\r\nI've been getting this during times of increased load, and when queries time out - also not sure what is nil in this situation `host`, `host.Info()` or `p.hostConnPools[host.Info().Peer]`.\r\n\r\nI'm also at ad901edec6273959e31837afa3942b374efa2b5e, not sure if anything regarding this has changed since then."},"comment":{"url":"https://api.github.com/repos/gocql/gocql/issues/comments/156919825","html_url":"https://github.com/gocql/gocql/issues/526#issuecomment-156919825","issue_url":"https://api.github.com/repos/gocql/gocql/issues/526","id":156919825,"user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T05:34:05Z","updated_at":"2015-11-16T05:34:05Z","body":"It looks like 64eb2479f81d0adf1521cbf84318f5e78401b82f/#510 is hitting a similar issue I was."}}