Project

General

Profile

Actions

Bug #5931

closed

Random SEGV during execution on YARD specs

Added by vo.x (Vit Ondruch) almost 13 years ago. Updated about 7 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.3p0 (2011-10-30) [x86_64-linux]
[ruby-core:42235]

Description

Hello, I experience random segfauls when running YARD 0.7.4 test suite. Note that the Ruby was build using GCC 4.7. You can find the logs either here:

http://koji.fedoraproject.org/koji/getfile?taskID=3734043&name=build.log
http://koji.fedoraproject.org/koji/getfile?taskID=3734068&name=build.log

Or see the one attached bellow:

$ LANG=en_US.utf8 rspec spec
/usr/share/rubygems/rubygems/custom_require.rb:36: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0026 p:---- s:0094 b:0094 l:000093 d:000093 CFUNC :require
c:0025 p:0053 s:0090 b:0090 l:000089 d:000089 METHOD /usr/share/rubygems/rubygems/custom_require.rb:36
c:0024 p:0012 s:0083 b:0083 l:000a10 d:000082 BLOCK /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard.rb:46
c:0023 p:---- s:0080 b:0080 l:000079 d:000079 FINISH
c:0022 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :each
c:0021 p:0157 s:0075 b:0075 l:000a10 d:000a10 TOP /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard.rb:45
c:0020 p:---- s:0072 b:0072 l:000071 d:000071 FINISH
c:0019 p:---- s:0070 b:0070 l:000069 d:000069 CFUNC :require
c:0018 p:0053 s:0066 b:0066 l:001c78 d:001c78 METHOD /usr/share/rubygems/rubygems/custom_require.rb:36
c:0017 p:0083 s:0059 b:0059 l:001cf8 d:001cf8 TOP /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/spec/spec_helper.rb:8
c:0016 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0015 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC :require
c:0014 p:0053 s:0051 b:0051 l:001d98 d:001d98 METHOD /usr/share/rubygems/rubygems/custom_require.rb:36
c:0013 p:0028 s:0044 b:0044 l:001e18 d:001e18 TOP /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/spec/core_ext/array_spec.rb:1
c:0012 p:---- s:0042 b:0042 l:000041 d:000041 FINISH
c:0011 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :load
c:0010 p:0025 s:0036 b:0036 l:001e98 d:001f20 BLOCK /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698
c:0009 p:---- s:0033 b:0033 l:000032 d:000032 FINISH
c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :map
c:0007 p:0023 s:0028 b:0028 l:001e98 d:001e98 METHOD /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698
c:0006 p:0074 s:0025 b:0025 l:000ba8 d:000ba8 METHOD /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22
c:0005 p:0055 s:0020 b:0020 l:002000 d:002000 METHOD /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80
c:0004 p:0101 s:0014 b:0014 l:002098 d:002098 METHOD /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69
c:0003 p:0021 s:0007 b:0006 l:001588 d:002118 BLOCK /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001328 d:001328 TOP
-- Ruby level backtrace information ----------------------------------------
/usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in block in autorun' /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in run'
/usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in run_in_process' /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in run'
/usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in load_spec_files' /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in map'
/usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in block in load_spec_files' /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in load'
/builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/spec/core_ext/array_spec.rb:1:in <top (required)>' /usr/share/rubygems/rubygems/custom_require.rb:36:in require'
/usr/share/rubygems/rubygems/custom_require.rb:36:in require' /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/spec/spec_helper.rb:8:in <top (required)>'
/usr/share/rubygems/rubygems/custom_require.rb:36:in require' /usr/share/rubygems/rubygems/custom_require.rb:36:in require'
/builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard.rb:45:in <top (required)>' /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard.rb:45:in each'
/builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard.rb:46:in block in <top (required)>' /usr/share/rubygems/rubygems/custom_require.rb:36:in require'
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
-- C level backtrace information -------------------------------------------
/usr/lib64/libruby.so.1.9(+0x1532c9) [0x7fa683fb42c9]
/usr/lib64/libruby.so.1.9(+0x577e9) [0x7fa683eb87e9]
/usr/lib64/libruby.so.1.9(rb_bug+0xb3) [0x7fa683eb9023]
/usr/lib64/libruby.so.1.9(+0xf545f) [0x7fa683f5645f]
/lib64/libpthread.so.0(+0xef90) [0x7fa683c53f90]
/usr/lib64/libruby.so.1.9(+0x6b5e8) [0x7fa683ecc5e8]
/usr/lib64/libruby.so.1.9(+0x13e445) [0x7fa683f9f445]
/usr/lib64/libruby.so.1.9(+0x6b0aa) [0x7fa683ecc0aa]
/usr/lib64/libruby.so.1.9(+0x13f7ed) [0x7fa683fa07ed]
/usr/lib64/libruby.so.1.9(+0x6b0aa) [0x7fa683ecc0aa]
/usr/lib64/libruby.so.1.9(+0x13e399) [0x7fa683f9f399]
/usr/lib64/libruby.so.1.9(st_foreach+0x48) [0x7fa683f5e058]
/usr/lib64/libruby.so.1.9(+0x13e47c) [0x7fa683f9f47c]
/usr/lib64/libruby.so.1.9(+0x6b0aa) [0x7fa683ecc0aa]
/usr/lib64/libruby.so.1.9(+0x6d1a9) [0x7fa683ece1a9]
/usr/lib64/libruby.so.1.9(+0x6d400) [0x7fa683ece400]
/usr/lib64/libruby.so.1.9(+0x6d79e) [0x7fa683ece79e]
/usr/lib64/libruby.so.1.9(+0x1009ea) [0x7fa683f619ea]
/usr/lib64/libruby.so.1.9(rb_usascii_str_new+0x6) [0x7fa683f636e6]
/usr/lib64/libruby.so.1.9(rb_file_expand_path+0x36) [0x7fa683ec8b06]
/usr/lib64/libruby.so.1.9(+0x5e223) [0x7fa683ebf223]
/usr/lib64/libruby.so.1.9(+0x5e38c) [0x7fa683ebf38c]
/usr/lib64/libruby.so.1.9(rb_require_safe+0x5a7) [0x7fa683ebff27]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(rb_yield+0x178) [0x7fa683fb0078]
/usr/lib64/libruby.so.1.9(rb_ary_each+0x52) [0x7fa683e8c002]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(rb_iseq_eval+0x15a) [0x7fa683fb0d9a]
/usr/lib64/libruby.so.1.9(+0x5dbb0) [0x7fa683ebebb0]
/usr/lib64/libruby.so.1.9(rb_require_safe+0x46c) [0x7fa683ebfdec]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(rb_iseq_eval+0x15a) [0x7fa683fb0d9a]
/usr/lib64/libruby.so.1.9(+0x5dbb0) [0x7fa683ebebb0]
/usr/lib64/libruby.so.1.9(rb_require_safe+0x46c) [0x7fa683ebfdec]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(rb_iseq_eval+0x15a) [0x7fa683fb0d9a]
/usr/lib64/libruby.so.1.9(+0x5dbb0) [0x7fa683ebebb0]
/usr/lib64/libruby.so.1.9(+0x5dcb9) [0x7fa683ebecb9]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(rb_yield+0x178) [0x7fa683fb0078]
/usr/lib64/libruby.so.1.9(+0x30f1d) [0x7fa683e91f1d]
/usr/lib64/libruby.so.1.9(+0x14d52b) [0x7fa683fae52b]
/usr/lib64/libruby.so.1.9(+0x143532) [0x7fa683fa4532]
/usr/lib64/libruby.so.1.9(+0x148b58) [0x7fa683fa9b58]
/usr/lib64/libruby.so.1.9(+0x14975d) [0x7fa683faa75d]
/usr/lib64/libruby.so.1.9(rb_exec_end_proc+0x19f) [0x7fa683ebe0cf]
/usr/lib64/libruby.so.1.9(+0x5d17a) [0x7fa683ebe17a]
/usr/lib64/libruby.so.1.9(ruby_cleanup+0x12f) [0x7fa683ebe2ef]
/usr/lib64/libruby.so.1.9(ruby_run_node+0x3f) [0x7fa683ebe58f]
/usr/bin/ruby() [0x40086b]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fa682f73745]
/usr/bin/ruby() [0x400899]
-- Other runtime information -----------------------------------------------

  • Loaded script: /usr/bin/rspec
  • Loaded features:
    0 enumerator.so
    1 /usr/lib64/ruby/enc/encdb.so
    2 /usr/lib64/ruby/enc/trans/transdb.so
    3 /usr/share/rubygems/rubygems/defaults.rb
    4 /usr/lib64/ruby/rbconfig.rb
    5 /usr/share/rubygems/rubygems/deprecate.rb
    6 /usr/share/rubygems/rubygems/exceptions.rb
    7 /usr/share/rubygems/rubygems/defaults/operating_system.rb
    8 /usr/share/rubygems/rubygems/custom_require.rb
    9 /usr/share/rubygems/rubygems.rb
    10 /usr/share/rubygems/rubygems/version.rb
    11 /usr/share/rubygems/rubygems/requirement.rb
    12 /usr/share/rubygems/rubygems/dependency.rb
    13 /usr/share/rubygems/rubygems/platform.rb
    14 /usr/share/rubygems/rubygems/specification.rb
    15 /usr/share/rubygems/rubygems/path_support.rb
    16 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/filter_manager.rb
    17 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/dsl.rb
    18 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/extensions/kernel.rb
    19 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/extensions/instance_eval_with_args.rb
    20 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/extensions/module_eval_with_args.rb
    21 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/extensions/ordered.rb
    22 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/extensions.rb
    23 /usr/lib64/ruby/pathname.so
    24 /usr/share/ruby/pathname.rb
    25 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/ruby_project.rb
    26 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/load_path.rb
    27 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/deprecation.rb
    28 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/backward_compatibility.rb
    29 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/reporter.rb
    30 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/metadata_hash_builder.rb
    31 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/hooks.rb
    32 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/extensions/kernel.rb
    33 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/subject.rb
    34 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/let.rb
    35 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/metadata.rb
    36 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/pending.rb
    37 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/world.rb
    38 /usr/lib64/ruby/etc.so
    39 /usr/share/ruby/fileutils.rb
    40 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb
    41 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/project_initializer.rb
    42 /usr/share/ruby/optparse.rb
    43 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/option_parser.rb
    44 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/drb_options.rb
    45 /usr/lib64/ruby/strscan.so
    46 /usr/share/ruby/erb.rb
    47 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/configuration_options.rb
    48 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb
    49 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/drb_command_line.rb
    50 /usr/lib64/ruby/socket.so
    51 /usr/share/ruby/socket.rb
    52 /usr/share/ruby/thread.rb
    53 /usr/lib64/ruby/fcntl.so
    54 /usr/share/ruby/drb/eq.rb
    55 /usr/share/ruby/drb/invokemethod.rb
    56 /usr/share/ruby/drb/drb.rb
    57 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb
    58 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example.rb
    59 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/shared_example_group.rb
    60 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb
    61 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core/version.rb
    62 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/monkey/spork/test_framework/rspec.rb
    63 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/monkey.rb
    64 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/core.rb
    65 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec/autorun.rb
    66 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/extensions/array.rb
    67 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/extensions/object.rb
    68 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/extensions.rb
    69 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/extensions/instance_eval_with_args.rb
    70 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/pretty.rb
    71 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/base_matcher.rb
    72 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/matcher.rb
    73 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/operator_matcher.rb
    74 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/dsl.rb
    75 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be.rb
    76 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be_close.rb
    77 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be_instance_of.rb
    78 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be_kind_of.rb
    79 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/be_within.rb
    80 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/block_aliases.rb
    81 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/change.rb
    82 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/cover.rb
    83 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/eq.rb
    84 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/eql.rb
    85 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/equal.rb
    86 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/errors.rb
    87 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/exist.rb
    88 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/generated_descriptions.rb
    89 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/has.rb
    90 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/have.rb
    91 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/include.rb
    92 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/match.rb
    93 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/match_array.rb
    94 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/method_missing.rb
    95 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/raise_error.rb
    96 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/respond_to.rb
    97 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/satisfy.rb
    98 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/throw_symbol.rb
    99 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers/compatibility.rb
    100 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/matchers.rb
    101 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/fail_with.rb
    102 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/errors.rb
    103 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/deprecation.rb
    104 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/handler.rb
    105 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/version.rb
    106 /usr/share/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb
    107 /usr/share/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb
    108 /usr/share/gems/gems/diff-lcs-1.1.2/lib/diff/lcs.rb
    109 /usr/share/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb
    110 /usr/share/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb
    111 /usr/share/ruby/prettyprint.rb
    112 /usr/share/ruby/pp.rb
    113 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations/differ.rb
    114 /usr/share/gems/gems/rspec-expectations-2.8.0/lib/rspec/expectations.rb
    115 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/extensions/instance_exec.rb
    116 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/method_double.rb
    117 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/methods.rb
    118 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/argument_matchers.rb
    119 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/proxy.rb
    120 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/mock.rb
    121 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/argument_expectation.rb
    122 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/message_expectation.rb
    123 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/order_group.rb
    124 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/errors.rb
    125 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/error_generator.rb
    126 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/space.rb
    127 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/extensions/marshal.rb
    128 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/serialization.rb
    129 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/any_instance/chain.rb
    130 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/any_instance/message_chains.rb
    131 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/any_instance/recorder.rb
    132 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/any_instance.rb
    133 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/framework.rb
    134 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/version.rb
    135 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks/example_methods.rb
    136 /usr/share/gems/gems/rspec-mocks-2.8.0/lib/rspec/mocks.rb
    137 /usr/share/gems/gems/rspec-core-2.8.0/lib/rspec.rb
    138 /usr/lib64/ruby/continuation.so
    139 /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard/core_ext/insertion.rb
    140 /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard/core_ext/hash.rb
    141 /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard/core_ext/array.rb
    142 /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard/core_ext/module.rb
    143 /builddir/build/BUILD/rubygem-yard-0.7.4/usr/share/gems/gems/yard-0.7.4/lib/yard/core_ext/string.rb
  • Process memory map:
    00400000-00401000 r-xp 00000000 09:02 28314186 /usr/bin/ruby
    00600000-00601000 r--p 00000000 09:02 28314186 /usr/bin/ruby
    00601000-00602000 rw-p 00001000 09:02 28314186 /usr/bin/ruby
    01c4c000-025d1000 rw-p 00000000 00:00 0 [heap]
    7fa67b672000-7fa67b687000 r-xp 00000000 09:02 28311783 /lib64/libgcc_s-4.7.0-20120123.so.1
    7fa67b687000-7fa67b886000 ---p 00015000 09:02 28311783 /lib64/libgcc_s-4.7.0-20120123.so.1
    7fa67b886000-7fa67b887000 rw-p 00014000 09:02 28311783 /lib64/libgcc_s-4.7.0-20120123.so.1
    7fa67b887000-7fa67b888000 r-xp 00000000 09:02 28443527 /usr/lib64/ruby/continuation.so
    7fa67b888000-7fa67ba87000 ---p 00001000 09:02 28443527 /usr/lib64/ruby/continuation.so
    7fa67ba87000-7fa67ba88000 r--p 00000000 09:02 28443527 /usr/lib64/ruby/continuation.so
    7fa67ba88000-7fa67ba89000 rw-p 00001000 09:02 28443527 /usr/lib64/ruby/continuation.so
    7fa67ba89000-7fa67ba8a000 r-xp 00000000 09:02 28443535 /usr/lib64/ruby/fcntl.so
    7fa67ba8a000-7fa67bc89000 ---p 00001000 09:02 28443535 /usr/lib64/ruby/fcntl.so
    7fa67bc89000-7fa67bc8a000 r--p 00000000 09:02 28443535 /usr/lib64/ruby/fcntl.so
    7fa67bc8a000-7fa67bc8b000 rw-p 00001000 09:02 28443535 /usr/lib64/ruby/fcntl.so
    7fa67bc8b000-7fa67bcad000 r-xp 00000000 09:02 28443550 /usr/lib64/ruby/socket.so
    7fa67bcad000-7fa67beac000 ---p 00022000 09:02 28443550 /usr/lib64/ruby/socket.so
    7fa67beac000-7fa67bead000 r--p 00021000 09:02 28443550 /usr/lib64/ruby/socket.so
    7fa67bead000-7fa67beae000 rw-p 00022000 09:02 28443550 /usr/lib64/ruby/socket.so
    7fa67beae000-7fa67beb3000 r-xp 00000000 09:02 28443552 /usr/lib64/ruby/strscan.so
    7fa67beb3000-7fa67c0b2000 ---p 00005000 09:02 28443552 /usr/lib64/ruby/strscan.so
    7fa67c0b2000-7fa67c0b3000 r--p 00004000 09:02 28443552 /usr/lib64/ruby/strscan.so
    7fa67c0b3000-7fa67c0b4000 rw-p 00005000 09:02 28443552 /usr/lib64/ruby/strscan.so
    7fa67c0b4000-7fa67c0b7000 r-xp 00000000 09:02 28443534 /usr/lib64/ruby/etc.so
    7fa67c0b7000-7fa67c2b6000 ---p 00003000 09:02 28443534 /usr/lib64/ruby/etc.so
    7fa67c2b6000-7fa67c2b7000 r--p 00002000 09:02 28443534 /usr/lib64/ruby/etc.so
    7fa67c2b7000-7fa67c2b8000 rw-p 00003000 09:02 28443534 /usr/lib64/ruby/etc.so
    7fa67c2b8000-7fa67c2be000 r-xp 00000000 09:02 28443543 /usr/lib64/ruby/pathname.so
    7fa67c2be000-7fa67c4bd000 ---p 00006000 09:02 28443543 /usr/lib64/ruby/pathname.so
    7fa67c4bd000-7fa67c4be000 r--p 00005000 09:02 28443543 /usr/lib64/ruby/pathname.so
    7fa67c4be000-7fa67c4bf000 rw-p 00006000 09:02 28443543 /usr/lib64/ruby/pathname.so
    7fa67c4bf000-7fa67c4c1000 r-xp 00000000 09:02 28838229 /usr/lib64/ruby/enc/trans/transdb.so
    7fa67c4c1000-7fa67c6c1000 ---p 00002000 09:02 28838229 /usr/lib64/ruby/enc/trans/transdb.so
    7fa67c6c1000-7fa67c6c2000 r--p 00002000 09:02 28838229 /usr/lib64/ruby/enc/trans/transdb.so
    7fa67c6c2000-7fa67c6c3000 rw-p 00003000 09:02 28838229 /usr/lib64/ruby/enc/trans/transdb.so
    7fa67c6c3000-7fa67c6c5000 r-xp 00000000 09:02 28838187 /usr/lib64/ruby/enc/encdb.so
    7fa67c6c5000-7fa67c8c4000 ---p 00002000 09:02 28838187 /usr/lib64/ruby/enc/encdb.so
    7fa67c8c4000-7fa67c8c5000 r--p 00001000 09:02 28838187 /usr/lib64/ruby/enc/encdb.so
    7fa67c8c5000-7fa67c8c6000 rw-p 00002000 09:02 28838187 /usr/lib64/ruby/enc/encdb.so
    7fa67c8c6000-7fa682cf0000 r--p 00000000 09:02 28312395 /usr/lib/locale/locale-archive
    7fa682cf0000-7fa682d4d000 r-xp 00000000 09:02 28312306 /lib64/libfreebl3.so
    7fa682d4d000-7fa682f4c000 ---p 0005d000 09:02 28312306 /lib64/libfreebl3.so
    7fa682f4c000-7fa682f4d000 r--p 0005c000 09:02 28312306 /lib64/libfreebl3.so
    7fa682f4d000-7fa682f4e000 rw-p 0005d000 09:02 28312306 /lib64/libfreebl3.so
    7fa682f4e000-7fa682f52000 rw-p 00000000 00:00 0
    7fa682f52000-7fa6830fc000 r-xp 00000000 09:02 28312351 /lib64/libc-2.15.so
    7fa6830fc000-7fa6832fc000 ---p 001aa000 09:02 28312351 /lib64/libc-2.15.so
    7fa6832fc000-7fa683300000 r--p 001aa000 09:02 28312351 /lib64/libc-2.15.so
    7fa683300000-7fa683302000 rw-p 001ae000 09:02 28312351 /lib64/libc-2.15.so
    7fa683302000-7fa683307000 rw-p 00000000 00:00 0
    7fa683307000-7fa683401000 r-xp 00000000 09:02 28312359 /lib64/libm-2.15.so
    7fa683401000-7fa683600000 ---p 000fa000 09:02 28312359 /lib64/libm-2.15.so
    7fa683600000-7fa683601000 r--p 000f9000 09:02 28312359 /lib64/libm-2.15.so
    7fa683601000-7fa683602000 rw-p 000fa000 09:02 28312359 /lib64/libm-2.15.so
    7fa683602000-7fa683609000 r-xp 00000000 09:02 28312355 /lib64/libcrypt-2.15.so
    7fa683609000-7fa683809000 ---p 00007000 09:02 28312355 /lib64/libcrypt-2.15.so
    7fa683809000-7fa68380a000 r--p 00007000 09:02 28312355 /lib64/libcrypt-2.15.so
    7fa68380a000-7fa68380b000 rw-p 00008000 09:02 28312355 /lib64/libcrypt-2.15.so
    7fa68380b000-7fa683839000 rw-p 00000000 00:00 0
    7fa683839000-7fa68383c000 r-xp 00000000 09:02 28312357 /lib64/libdl-2.15.so
    7fa68383c000-7fa683a3b000 ---p 00003000 09:02 28312357 /lib64/libdl-2.15.so
    7fa683a3b000-7fa683a3c000 r--p 00002000 09:02 28312357 /lib64/libdl-2.15.so
    7fa683a3c000-7fa683a3d000 rw-p 00003000 09:02 28312357 /lib64/libdl-2.15.so
    7fa683a3d000-7fa683a44000 r-xp 00000000 09:02 28312381 /lib64/librt-2.15.so
    7fa683a44000-7fa683c43000 ---p 00007000 09:02 28312381 /lib64/librt-2.15.so
    7fa683c43000-7fa683c44000 r--p 00006000 09:02 28312381 /lib64/librt-2.15.so
    7fa683c44000-7fa683c45000 rw-p 00007000 09:02 28312381 /lib64/librt-2.15.so
    7fa683c45000-7fa683c5b000 r-xp 00000000 09:02 28312377 /lib64/libpthread-2.15.so
    7fa683c5b000-7fa683e5b000 ---p 00016000 09:02 28312377 /lib64/libpthread-2.15.so
    7fa683e5b000-7fa683e5c000 r--p 00016000 09:02 28312377 /lib64/libpthread-2.15.so
    7fa683e5c000-7fa683e5d000 rw-p 00017000 09:02 28312377 /lib64/libpthread-2.15.so
    7fa683e5d000-7fa683e61000 rw-p 00000000 00:00 0
    7fa683e61000-7fa68404e000 r-xp 00000000 09:02 28314179 /usr/lib64/libruby.so.1.9.1
    7fa68404e000-7fa68424e000 ---p 001ed000 09:02 28314179 /usr/lib64/libruby.so.1.9.1
    7fa68424e000-7fa684256000 rw-p 001ed000 09:02 28314179 /usr/lib64/libruby.so.1.9.1
    7fa684256000-7fa684272000 rw-p 00000000 00:00 0
    7fa684272000-7fa684292000 r-xp 00000000 09:02 28312344 /lib64/ld-2.15.so
    7fa684382000-7fa684383000 ---p 00000000 00:00 0
    7fa684383000-7fa68448d000 rw-p 00000000 00:00 0
    7fa68448f000-7fa684491000 rw-p 00000000 00:00 0
    7fa684491000-7fa684492000 r--p 0001f000 09:02 28312344 /lib64/ld-2.15.so
    7fa684492000-7fa684493000 rw-p 00020000 09:02 28312344 /lib64/ld-2.15.so
    7fa684493000-7fa684494000 rw-p 00000000 00:00 0
    7fffd7c84000-7fffd7c99000 rw-p 00000000 00:00 0 [stack]
    7fffd7cde000-7fffd7cdf000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    [NOTE]
    You may have encountered a bug in the Ruby interpreter or extension libraries.
    Bug reports are welcome.
    For details: http://www.ruby-lang.org/bugreport.html

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)Closed05/07/2011Actions
Related to Ruby master - Bug #6387: 1.9.3p194 crashed on require in ubuntuClosed05/02/2012Actions

Updated by naruse (Yui NARUSE) almost 13 years ago

  • Status changed from Open to Feedback

Could you try trunk/latest 1.9.3?
I doubt this is caused by the same reason of #5851.

Updated by vo.x (Vit Ondruch) almost 13 years ago

The patch fixing #5851 was applied, so that is definitely different issue. But yes, I can try it next week with trunk.

Updated by vo.x (Vit Ondruch) almost 13 years ago

It crashed on 8th retry with ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]. Going to try with trunk ...

Updated by vo.x (Vit Ondruch) almost 13 years ago

I gave it try with ruby 2.0.0dev (2012-02-21 trunk 34723) [x86_64-linux] and it does not segfaulted in 1000 runs. Now I'm wondering what was the fix, since I'd love to see it backported to Ruby 1.9.3.

Updated by normalperson (Eric Wong) almost 13 years ago

Vit Ondruch wrote:

I gave it try with ruby 2.0.0dev (2012-02-21 trunk 34723)
[x86_64-linux] and it does not segfaulted in 1000 runs. Now I'm
wondering what was the fix, since I'd love to see it backported to
Ruby 1.9.3.

Perhaps it was the gc.c change in r34719?
Can you revert that and see if you can reproduce the segfault?
Perhaps you can confirm my suspicion from [ruby-core:42794]

Updated by vo.x (Vit Ondruch) almost 13 years ago

Eric Wong wrote:

Vit Ondruch wrote:

I gave it try with ruby 2.0.0dev (2012-02-21 trunk 34723)
[x86_64-linux] and it does not segfaulted in 1000 runs. Now I'm
wondering what was the fix, since I'd love to see it backported to
Ruby 1.9.3.

Perhaps it was the gc.c change in r34719?
Can you revert that and see if you can reproduce the segfault?
Perhaps you can confirm my suspicion from [ruby-core:42794]

Seems to be something different. It works (I gave it 160 tries) although I reverted the r34719.

Updated by mame (Yusuke Endoh) about 12 years ago

  • Status changed from Feedback to Assigned
  • Assignee set to usa (Usaku NAKAMURA)

Usa-san, please!

--
Yusuke Endoh

Updated by usa (Usaku NAKAMURA) about 7 years ago

  • Status changed from Assigned to Rejected

1.9 is out of date

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0