unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Philip Cunningham <philip@irisconnect.co.uk>
Cc: unicorn-public@bogomips.org
Subject: Re: `hash' called on unexpected T_NODE object
Date: Tue, 22 Jul 2014 16:39:00 +0000	[thread overview]
Message-ID: <20140722163900.GA1032@dcvr.yhbt.net> (raw)
In-Reply-To: <891E6723-963F-4794-A93A-0473B2B2976C@irisconnect.co.uk>

Philip Cunningham <philip@irisconnect.co.uk> wrote:
> We recently experienced an issue with our staging server on Heroku.
> It's the first time we've seen this error and the staging server
> hasn't been updated in a week or so. It's not clear to me how I should
> investigate this further so I would appreciate any assistance you
> might offer. Some details are below:

> ``` ruby version
> ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-linux]
> ```
> 
> ``` log
> 2014-07-22T14:47:34.306596+00:00 app[web.2]: /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_request.rb:80:in `parse': method `hash' called on unexpected T_NODE object (0x007fa3c36823d8 flags=0x33b21c) (NotImplementedError)

This is either a version mismatch from objects of different Ruby versions
or memory corruption caused by a C extension.  Since your install
hasn't been touched in a week, I suspect a buggy C extension.

Can you share a list of C extensions, in particular less popular/used
ones so others may have a look and see if there's any known issues?

Just in case, can you ensure you're not carrying around any .so files
between different Ruby versions/installations?

Thanks.

  reply	other threads:[~2014-07-22 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 15:17 `hash' called on unexpected T_NODE object Philip Cunningham
2014-07-22 16:39 ` Eric Wong [this message]
2014-07-22 16:53   ` Jonathan del Strother

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140722163900.GA1032@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=philip@irisconnect.co.uk \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).