crash in ObjectHeader #877

Closed
ghazel opened this Issue May 14, 2011 · 5 comments

Projects

None yet

2 participants

Contributor
ghazel commented May 14, 2011

Happened while running my app, parsing an XML document I think, but I'm not sure of the repro exactly. Maybe the crash report is useful:

rubinius 1.2.4dev (1.8.7 1b701675 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]


---------------------------------------------
CRASH: A fatal error has occured.

Backtrace:
ruby[0x5978b2]
/lib64/libpthread.so.0[0x2aaaab89fb10]
ruby(_ZNK8rubinius12ObjectHeader18slow_size_in_bytesEPNS_2VME+0x30)[0x5c1340]
ruby(_ZN8rubinius7ImmixGC15ObjectDescriber4sizeEN5immix7AddressE+0x41)[0x7148f1]
ruby(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x11e)[0x714dee]
ruby(_ZN8rubinius7ImmixGC7collectERNS_6GCDataE+0x165)[0x715c75]
ruby(_ZN8rubinius12ObjectMemory14collect_matureERNS_6GCDataE+0x6f)[0x5bdf9f]
ruby(_ZN8rubinius2VM13collect_maybeEPNS_9CallFrameE+0x17a)[0x68e36a]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_17SplatOnlyArgumentEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x319)[0x691189]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius4capi27capi_funcall_backend_nativeEPNS_23NativeMethodEnvironmentEPKciPNS_6ObjectEPNS_6SymbolEmPS6_S6_+0xd4)[0x702254]
ruby(rb_funcall2+0x173)[0x704de3]
/home/user/rubinius/gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.so(Nokogiri_wrap_xml_document+0x11d)[0x2aaabaa20dfd]
/home/user/rubinius/gems/1.8/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.so[0x2aaabaa21c3f]
ruby(_ZN8rubinius16GenericArguments6invokeEPNS_2VMEPNS_12NativeMethodEPNS_23NativeMethodEnvironmentERNS_9ArgumentsE+0xe44)[0x6b6bb4]
ruby(_ZN8rubinius12NativeMethod23executor_implementationINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x218)[0x6b7158]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x260)[0x690be0]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x2e0c)[0x5abe4c]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x260)[0x690be0]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x260)[0x690be0]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x4731)[0x5ad771]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_17SplatOnlyArgumentEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x231)[0x6910a1]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x4731)[0x5ad771]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_17SplatOnlyArgumentEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x231)[0x6910a1]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_2VMEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1c5)[0x697115]
ruby(_ZN8rubinius16BlockEnvironment4callEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x6973f2]
ruby(_ZN8rubinius4Proc9call_primEPNS_2VMEPNS_10ExecutableEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x1a9)[0x6d5669]
ruby(_ZN8rubinius10Primitives9proc_callEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0xdc)[0x61319c]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_2VMEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1c5)[0x697115]
ruby(_ZN8rubinius16BlockEnvironment4callEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x6973f2]
ruby(_ZN8rubinius4Proc9call_primEPNS_2VMEPNS_10ExecutableEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x1a9)[0x6d5669]
ruby(_ZN8rubinius10Primitives9proc_callEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0xdc)[0x61319c]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_2VMEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1c5)[0x697115]
ruby(_ZN8rubinius16BlockEnvironment4callEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x6973f2]
ruby(_ZN8rubinius10Primitives10block_callEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0xdc)[0x651e8c]
ruby(_ZN8rubinius4capi27capi_funcall_backend_nativeEPNS_23NativeMethodEnvironmentEPKciPNS_6ObjectEPNS_6SymbolEmPS6_S6_+0xd4)[0x702254]
ruby(rb_funcall+0x209)[0x7050c9]
/home/user/rubinius/gems/1.8/gems/curb-0.7.10/lib/curb_core.so[0x2aaabb8331bf]
/home/user/rubinius/gems/1.8/gems/curb-0.7.10/lib/curb_core.so(ruby_curl_multi_perform+0xb3)[0x2aaabb8332d3]
ruby(_ZN8rubinius16GenericArguments6invokeEPNS_2VMEPNS_12NativeMethodEPNS_23NativeMethodEnvironmentERNS_9ArgumentsE+0x274)[0x6b5fe4]
ruby(_ZN8rubinius12NativeMethod23executor_implementationINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x218)[0x6b7158]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_2VMEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1c5)[0x697115]
ruby(_ZN8rubinius16BlockEnvironment4callEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsEi+0x42)[0x6973f2]
ruby(_ZN8rubinius4Proc5yieldEPNS_2VMEPNS_9CallFrameERNS_9ArgumentsE+0xe4)[0x6d5824]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x4cdc)[0x5add1c]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_16GenericArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x260)[0x690be0]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x2e0c)[0x5abe4c]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x1ae)[0x69135e]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x2e0c)[0x5abe4c]
ruby(_ZN8rubinius8VMMethod19execute_specializedINS_14FixedArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x1e1)[0x6916f1]
ruby(_ZN8rubinius14CompiledMethod16default_executorEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE+0x96)[0x69be56]
ruby(_ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE+0x301d)[0x5ac05d]
ruby(_ZN8rubinius16BlockEnvironment19execute_interpreterEPNS_2VMEPNS_9CallFrameEPS0_RNS_9ArgumentsERNS_15BlockInvocationE+0x1c5)[0x697115]
Owner
evanphx commented May 25, 2011

Do you have any repro for this?

Contributor
ghazel commented May 25, 2011

I imagine if I start the process which parses XML files I'll eventually run in to it again. Is there something I can do to gather more information?

Owner
evanphx commented May 25, 2011

I just need to know what command to run to reproduce it locally.

Contributor
ghazel commented Jun 7, 2011

This occurred running the same code as #956, and no longer occurs with your curb patch. If you think that could have been the cause, go ahead and close this.

Owner
evanphx commented Jun 7, 2011

Wonderful!

@evanphx evanphx closed this Jun 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment