Closed findchris closed 8 years ago
Is it possible that you have previously cached template data? It seems like Oj may be trying to parse some data that isn't actually json.
If you deployed the 1.x series over old data that didn't have any serializer flags it wouldn't properly choose the right serializer for entity loading.
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
.
To your question, this was my first deploy to production of code using readthis
, so it's not a readthis
versioning issue. The old cache had ActiveSupport::Cache::Entry
s stored, which raised a different Oj
parse error.
Hello again.
In the last 12 hours, I've seen the following error about 10 times:
I 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 byOj
, so I opened https://github.com/ohler55/oj/issues/265.I 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.
Cheers.