Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Crashes rubinius #157

Closed
jammi opened this Issue Apr 28, 2012 · 5 comments

Comments

Projects
None yet
4 participants

jammi commented Apr 28, 2012

Hi, I filed this issue to rbx initially, but I think it belongs here.
The original is issue is for reference, and I think it explains similar EXC_BAD_ACCESS issues I've got in my app since depending on therubyracer in other rubies also:
rubinius/rubinius#1683

I have the same problem with therubyracer and RBX, I've tried the latest git of the therubyracer gem and same thing.

I'm using latest rbx-head with the 1.9 mode and archlinux x86-64.

I was trying to run this app in RBX: https://github.com/github/gitscm-next which seems to require therubyracer.

[diego@(none) gitscm-next]$ rails s

Invalid handle usage detected!
  handle:     0x4c59650
  checksum:   0xaf97fcb8
  references: 0
  type:       4aefc90
  object:     0
Abort!
script/rails(_ZN8rubinius5abortEv+0x5c) [0x5ee57c]
script/rails(_ZN8rubinius12NativeMethod23executor_implementationINS_13ZeroArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x2b0) [0x6f0ce0]
script/rails(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xf8) [0x5f30e8]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xf8) [0x5f30e8]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x213b) [0x6072eb]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x213b) [0x6072eb]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x213b) [0x6072eb]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x20c) [0x6bb50c]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2277) [0x607427]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_17SplatOnlyArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x220) [0x6bc970]
script/rails(_ZN8rubinius11InlineCache17empty_cache_vcallEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2c92]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x1f2e) [0x6070de]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xf8) [0x5f30e8]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af) [0x6bcc1f]
script/rails(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xd0) [0x6c8710]
script/rails(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xf8) [0x5f30e8]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod17execute_as_scriptEPNS_5StateEPNS_14CompiledMethodEPNS_9CallFrameE+0x195) [0x6bae25]
script/rails(_ZN8rubinius6System13vm_run_scriptEPNS_5StateERNS_11GCTokenImplEPNS_14CompiledMethodEPNS_9CallFrameE+0xc4) [0x7383d4]
script/rails(_ZN8rubinius10Primitives13vm_run_scriptEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x116) [0x64dd16]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod17execute_as_scriptEPNS_5StateEPNS_14CompiledMethodEPNS_9CallFrameE+0x195) [0x6bae25]
script/rails(_ZN8rubinius6System13vm_run_scriptEPNS_5StateERNS_11GCTokenImplEPNS_14CompiledMethodEPNS_9CallFrameE+0xc4) [0x7383d4]
script/rails(_ZN8rubinius10Primitives13vm_run_scriptEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x116) [0x64dd16]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod17execute_as_scriptEPNS_5StateEPNS_14CompiledMethodEPNS_9CallFrameE+0x195) [0x6bae25]
script/rails(_ZN8rubinius6System13vm_run_scriptEPNS_5StateERNS_11GCTokenImplEPNS_14CompiledMethodEPNS_9CallFrameE+0xc4) [0x7383d4]
script/rails(_ZN8rubinius10Primitives13vm_run_scriptEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x116) [0x64dd16]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xb2) [0x5f2e32]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod17execute_as_scriptEPNS_5StateEPNS_14CompiledMethodEPNS_9CallFrameE+0x195) [0x6bae25]
script/rails(_ZN8rubinius6System13vm_run_scriptEPNS_5StateERNS_11GCTokenImplEPNS_14CompiledMethodEPNS_9CallFrameE+0xc4) [0x7383d4]
script/rails(_ZN8rubinius10Primitives13vm_run_scriptEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x116) [0x64dd16]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius8VMMethod19execute_specializedINS_11OneArgumentEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x240) [0x6bc620]
script/rails(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2030) [0x6071e0]
script/rails(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x200) [0x6c25f0]
script/rails(_ZN8rubinius16BlockEnvironment6invokeEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x85) [0x6c2c85]
script/rails(_ZN8rubinius16BlockEnvironment4callEPNS_5StateEPNS_9CallFrameERNS_9ArgumentsEi+0x42) [0x6c2d92]
script/rails(rbx_yield_stack+0xdb) [0x7e5fcb]
[0x7f27c39f84a1]
Aborted
[diego@(none) gitscm-next]$ 

The same for me. Take a look http://travis-ci.org/#!/stereobooster/execjs/jobs/1335785
Any progress on this?

stereobooster added a commit to stereobooster/execjs that referenced this issue May 15, 2012

I had this issue when I tried to run the git-scm.com web site under rbx 2.0 too.

https://github.com/github/gitscm-next

This app uses therubyracer as well.

Owner

cowboyd commented Jun 16, 2012

fixed on master.

@cowboyd cowboyd closed this Jun 16, 2012

Any plans to publish it to rubygems?

stereobooster added a commit to stereobooster/execjs that referenced this issue Jun 20, 2012

@elthariel elthariel referenced this issue in rubinius/rubinius Oct 13, 2012

Closed

Rubinius - TheRubyRacer -- Invalid Handle #1954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment