rubinius/rubinius — Issue #1552: SEGV while parsing specs
Author: emboss
Created: 2012-02-10 19:44:54+00:00
State: open

The parser seems to crash while running my specs in -X19 mode. Specs are at https://github.com/emboss/krypt/.

rbx -X19 -v: rubinius 2.0.0dev (1.9.3 b976944f yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]

Here's the crash report:

Rubinius Crash Report #rbxcrashreport

Error: signal \00SIGSEGV

[[Backtrace]]
/home/martin/rbx/bin/rbx[0x581d3c]
/lib64/libpthread.so.0[0x3f0ce0f500]
/home/martin/rbx/lib/ext/melbourne/rbx/melbourne20.so(+0x24b41)[0x7f90073f4b41]
/home/martin/rbx/lib/ext/melbourne/rbx/melbourne20.so(_ZN9melbourne9grammar197yyparseEPNS0_15rb_parser_stateE+0x1e99)[0x7f90073fbad9]
/home/martin/rbx/lib/ext/melbourne/rbx/melbourne20.so(_ZN9melbourne9grammar1911file_to_astElPKcii+0xcc)[0x7f900740689c]
/home/martin/rbx/lib/ext/melbourne/rbx/melbourne20.so(melbourne19_file_to_ast+0x6e)[0x7f9007406f7e]
/home/martin/rbx/bin/rbx(_ZN8rubinius12NativeMethod23executor_implementationINS_12TwoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x2f3)[0x6a0a43]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2388)[0x5a2738]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x207)[0x6703f7]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_12TwoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x249)[0x671149]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x207)[0x6703f7]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x207)[0x6703f7]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x207)[0x6703f7]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1f6)[0x677336]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment6invokeEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x85)[0x6779f5]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment4callEPNS_5StateEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x677b02]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x3986)[0x5a3d36]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xef)[0x58e8cf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x292c)[0x5a2cdc]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xef)[0x58e8cf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_12TwoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x249)[0x671149]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xef)[0x58e8cf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_14ThreeArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x251)[0x670dd1]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xaa)[0x58e62a]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x207)[0x6703f7]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache19empty_cache_privateEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xaa)[0x58e62a]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1f6)[0x677336]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment6invokeEPNS_5StateEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x85)[0x6779f5]
/home/martin/rbx/bin/rbx(_ZN8rubinius16BlockEnvironment4callEPNS_5StateEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x677b02]
/home/martin/rbx/bin/rbx(_ZN8rubinius4Proc4callEPNS_5StateEPNS_9CallFrameERNS_9ArgumentsE+0x2e2)[0x6d2fb2]
/home/martin/rbx/bin/rbx(_ZN8rubinius10Primitives9proc_callEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xcc)[0x6071bc]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache11empty_cacheEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xef)[0x58e8cf]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2bae)[0x5a2f5e]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache17empty_cache_vcallEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xaa)[0x58e48a]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2388)[0x5a2738]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0x1af)[0x671aaf]
/home/martin/rbx/bin/rbx(_ZN8rubinius14CompiledMethod16default_executorEPNS_5StateEPNS_9CallFrameEPNS_10ExecutableEPNS_6ModuleERNS_9ArgumentsE+0xca)[0x67d57a]
/home/martin/rbx/bin/rbx(_ZN8rubinius11InlineCache17empty_cache_vcallEPNS_5StateEPS0_PNS_9CallFrameERNS_9ArgumentsE+0xaa)[0x58e48a]
/home/martin/rbx/bin/rbx(_ZN8rubinius8VMMethod11interpreterEPNS_5StateEPS0_PNS_20InterpreterCallFrameE+0x2388)[0x5a2738]

[[System Info]]
sysname: Linux
nodename: localhost.localdomain
release: 3.1.6-1.fc16.x86_64
version: #1 SMP Wed Dec 21 22:41:17 UTC 2011
machine: x86_64