unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* `hash' called on unexpected T_NODE object
@ 2014-07-22 15:17 Philip Cunningham
  2014-07-22 16:39 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Cunningham @ 2014-07-22 15:17 UTC (permalink / raw)
  To: unicorn-public

[-- Attachment #1: Type: text/plain, Size: 2099 bytes --]

Hello

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)
2014-07-22T14:47:34.306602+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_request.rb:80:in `read'
2014-07-22T14:47:34.306627+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:572:in `process_client'
2014-07-22T14:47:34.306629+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:666:in `worker_loop'
2014-07-22T14:47:34.306632+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:521:in `spawn_missing_workers'
2014-07-22T14:47:34.306653+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:532:in `maintain_worker_count'
2014-07-22T14:47:34.306657+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:290:in `join'
2014-07-22T14:47:34.306658+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/bin/unicorn:126:in `<top (required)>'
2014-07-22T14:47:34.306659+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
2014-07-22T14:47:34.306660+00:00 app[web.2]:    from /app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
2014-07-22T14:47:34.461811+00:00 app[web.2]: E, [2014-07-22T14:47:34.461628 #2] ERROR -- : reaped #<Process::Status: pid 122 exit 1> worker=0
```

Cheers
Philip


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: `hash' called on unexpected T_NODE object
  2014-07-22 15:17 `hash' called on unexpected T_NODE object Philip Cunningham
@ 2014-07-22 16:39 ` Eric Wong
  2014-07-22 16:53   ` Jonathan del Strother
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2014-07-22 16:39 UTC (permalink / raw)
  To: Philip Cunningham; +Cc: unicorn-public

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: `hash' called on unexpected T_NODE object
  2014-07-22 16:39 ` Eric Wong
@ 2014-07-22 16:53   ` Jonathan del Strother
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan del Strother @ 2014-07-22 16:53 UTC (permalink / raw)
  To: Eric Wong; +Cc: Philip Cunningham, unicorn-public

I also run into similar problems maybe every week or so.  For
comparison, here's my collection of C extensions :

bcrypt-ruby-3.0.1
fast_xs-0.8.0
ffi-1.9.3
hiredis-0.4.5
kgio-2.8.0
mysql2-0.3.13
nokogiri-1.5.11
oily_png-1.1.1
posix-spawn-0.3.6
raindrops-0.12.0
rmagick-2.13.2
taglib-ruby-0.6.0
thread_safe-0.3.4
unicorn-4.6.2
websocket-driver-0.3.2


On 22 July 2014 17:39, Eric Wong <e@80x24.org> wrote:
> 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.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-22 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 15:17 `hash' called on unexpected T_NODE object Philip Cunningham
2014-07-22 16:39 ` Eric Wong
2014-07-22 16:53   ` Jonathan del Strother

Code repositories for project(s) associated with this inbox:

	../../../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).