{"action":"created","issue":{"url":"https://api.github.com/repos/sorentwo/readthis/issues/23","labels_url":"https://api.github.com/repos/sorentwo/readthis/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sorentwo/readthis/issues/23/comments","events_url":"https://api.github.com/repos/sorentwo/readthis/issues/23/events","html_url":"https://github.com/sorentwo/readthis/issues/23","id":109358253,"number":23,"title":"NotImplementedError: method 'div' called on terminated object\"","user":{"login":"findchris","id":1185,"avatar_url":"https://avatars.githubusercontent.com/u/1185?v=3","gravatar_id":"","url":"https://api.github.com/users/findchris","html_url":"https://github.com/findchris","followers_url":"https://api.github.com/users/findchris/followers","following_url":"https://api.github.com/users/findchris/following{/other_user}","gists_url":"https://api.github.com/users/findchris/gists{/gist_id}","starred_url":"https://api.github.com/users/findchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findchris/subscriptions","organizations_url":"https://api.github.com/users/findchris/orgs","repos_url":"https://api.github.com/users/findchris/repos","events_url":"https://api.github.com/users/findchris/events{/privacy}","received_events_url":"https://api.github.com/users/findchris/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T18:38:47Z","updated_at":"2015-10-01T21:30:44Z","closed_at":"2015-10-01T21:30:44Z","body":"Hello again.\r\n\r\nIn the last 12 hours, I've seen the following error about 10 times:\r\n```ruby\r\nNotImplementedError: method `div' called on terminated object (0x007f948aef8028 flags=0x0 klass=0x0)\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/entity.rb:67 in new\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/entity.rb:67 in load\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/entity.rb:67 in load\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:71 in block in read\r\nvendor/bundle/ruby/2.1.0/gems/connection_pool-2.2.0/lib/connection_pool.rb:64 in block (2 levels) in with\r\nvendor/bundle/ruby/2.1.0/gems/connection_pool-2.2.0/lib/connection_pool.rb:63 in handle_interrupt\r\nvendor/bundle/ruby/2.1.0/gems/connection_pool-2.2.0/lib/connection_pool.rb:63 in block in with\r\nvendor/bundle/ruby/2.1.0/gems/connection_pool-2.2.0/lib/connection_pool.rb:60 in handle_interrupt\r\nvendor/bundle/ruby/2.1.0/gems/connection_pool-2.2.0/lib/connection_pool.rb:60 in with\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:346 in block in invoke\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:341 in block in instrument\r\nvendor/bundle/ruby/2.1.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166 in instrument\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:341 in instrument\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:345 in invoke\r\nvendor/bundle/ruby/2.1.0/bundler/gems/readthis-a774c6278aab/lib/readthis/cache.rb:68 in read\r\n```\r\n\r\nI am using the `Oj` serializer, and since it feels like a \"use after free\" condition, I figured it might be the C code in use by `Oj`, so I opened https://github.com/ohler55/oj/issues/265.\r\n\r\nI wanted to open this in case you might have encountered this and/or have any insight into debugging/resolving it.  Unfortunately, I haven't been able to reproduce yet.\r\n\r\nCheers.\r\n"},"comment":{"url":"https://api.github.com/repos/sorentwo/readthis/issues/comments/144855861","html_url":"https://github.com/sorentwo/readthis/issues/23#issuecomment-144855861","issue_url":"https://api.github.com/repos/sorentwo/readthis/issues/23","id":144855861,"user":{"login":"findchris","id":1185,"avatar_url":"https://avatars.githubusercontent.com/u/1185?v=3","gravatar_id":"","url":"https://api.github.com/users/findchris","html_url":"https://github.com/findchris","followers_url":"https://api.github.com/users/findchris/followers","following_url":"https://api.github.com/users/findchris/following{/other_user}","gists_url":"https://api.github.com/users/findchris/gists{/gist_id}","starred_url":"https://api.github.com/users/findchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/findchris/subscriptions","organizations_url":"https://api.github.com/users/findchris/orgs","repos_url":"https://api.github.com/users/findchris/repos","events_url":"https://api.github.com/users/findchris/events{/privacy}","received_events_url":"https://api.github.com/users/findchris/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T21:30:44Z","updated_at":"2015-10-01T21:30:44Z","body":"I'm convinced this is an `Oj` issue, as I don't know how `readthis` might be generating this error beyond its usage of `Oj`.\r\n\r\nTo your question, this was my first deploy to production of code using `readthis`, so it's not a `readthis` versioning issue.  The old cache has `ActiveSupport::Cache::Entry`s stored, which through a different `Oj` parse error."}}