New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby Bindings: No Support for rbenv #1622

Open
sanssecours opened this Issue Oct 15, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@sanssecours
Contributor

sanssecours commented Oct 15, 2017

Steps to Reproduce

  1. Install Swig and rbvenv

    brew install rbenv swig
  2. Install a recent Ruby version and use it

    rbenv install 2.4.1
    rbenv rbenv global 2.4.1
  3. Configure and build Elektra

    mkdir build
    cd build
    cmake ..                                       \
      -GNinja                                      \
      -DBUILD_STATIC=OFF                           \
      -DBUILD_FULL=OFF                             \
      -DENABLE_ASAN=OFF                            \
      -DENABLE_LOGGER=ON                           \
      -DENABLE_DEBUG=ON                            \
      -DCMAKE_EXPORT_COMPILE_COMMANDS=ON           \
      -DBUILD_DOCUMENTATION=OFF                    \
      -DBUILD_DOCSET=OFF                           \
      -DBUILD_PDF=OFF                              \
      -DPDFLATEX_COMPILER=(which latexmk)          \
      -DPDFLATEX_COMPILER_OPTIONS='-pdf;-f;-quiet' \
      -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5       \
      -DTOOLS="ALL"                                \
      -DBINDINGS="ALL;-swig_python2"               \
      -DPLUGINS="ALL;-jni;-python2;-lua"
    ninja
  4. Run all tests

    ninja test

Expected Result

All tests run successfully

Describe what actually happened

All of the Ruby binding tests fail

    Start 36: testruby_kdb

36: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_kdb.rb" "--verbose"
36: Environment variables:
36:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
36:  LD_LIBRARY_PATH=build/lib
36: Test timeout computed to be: 1500
36: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': incompatible library version - build/src/bindings/swig/ruby/_kdb.bundle (LoadError)
36: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
36: 	from src/bindings/swig/ruby/kdb.rb:12:in `<top (required)>'
36: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
36: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
36: 	from src/bindings/swig/ruby/tests/testruby_kdb.rb:10:in `<main>'
1/9 Test #36: testruby_kdb .....................***Failed    0.10 sec
test 37
    Start 37: testruby_key

37: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_key.rb" "--verbose"
37: Environment variables:
37:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
37:  LD_LIBRARY_PATH=build/lib
37: Test timeout computed to be: 1500
37: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': incompatible library version - build/src/bindings/swig/ruby/_kdb.bundle (LoadError)
37: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
37: 	from src/bindings/swig/ruby/kdb.rb:12:in `<top (required)>'
37: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
37: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
37: 	from src/bindings/swig/ruby/tests/testruby_key.rb:11:in `<main>'
2/9 Test #37: testruby_key .....................***Failed    0.10 sec
test 38
    Start 38: testruby_keyset

38: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_keyset.rb" "--verbose"
38: Environment variables:
38:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
38:  LD_LIBRARY_PATH=build/lib
38: Test timeout computed to be: 1500
38: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': incompatible library version - build/src/bindings/swig/ruby/_kdb.bundle (LoadError)
38: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
38: 	from src/bindings/swig/ruby/kdb.rb:12:in `<top (required)>'
38: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
38: 	from ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
38: 	from src/bindings/swig/ruby/tests/testruby_keyset.rb:10:in `<main>'
3/9 Test #38: testruby_keyset ..................***Failed    0.10 sec
test 39
    Start 39: testruby_tools_backendbuilder

39: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_backendbuilder.rb" "--verbose"
39: Environment variables:
39:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
39:  LD_LIBRARY_PATH=build/lib
39: Test timeout computed to be: 1500
39: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
39: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
39:
39: -- Crash Report log information --------------------------------------------
39:    See Crash Report log file under the one of following:
39:      * ~/Library/Logs/DiagnosticReports
39:      * /Library/Logs/DiagnosticReports
39:    for more details.
39: Don't forget to include the above Crash Report log file in bug reports.
39:
39: -- Control frame information -----------------------------------------------
39: c:0008 p:-17541402050134 s:0046 e:000045 TOP    [FINISH]
39: c:0007 p:---- s:0043 e:000042 CFUNC  :require
39: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
39: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
39: c:0004 p:---- s:0023 e:000022 CFUNC  :require
39: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
39: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_ba [FINISH]
39: c:0001 p:0000 s:0003 E:001e00 (none) [FINISH]
39:
39: -- Ruby level backtrace information ----------------------------------------
39: src/bindings/swig/ruby/tests/testruby_tools_backendbuilder.rb:10:in `<main>'
39: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
39: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
39: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
39: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
39: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
39:
39: -- Machine register context ------------------------------------------------
39:  rax: 0x0000000000000030 rbx: 0x000000010ce6f3e9 rcx: 0x0000000000000000
39:  rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
39:  rbp: 0x00007ffee32616b0 rsp: 0x00007ffee32616b0  r8: 0x000000001684e16d
39:   r9: 0x0000000000000017 r10: 0x00000000ffffe000 r11: 0x00007fa168400000
39:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
39:  r15: 0x000000010ce61b80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
39:
39: -- C level backtrace information -------------------------------------------
39: 0   ruby                                0x000000010cb63404 rb_vm_bugreport + 132
39: 1   ruby                                0x000000010ca01133 rb_bug_context + 467
39: 2   ruby                                0x000000010cae2a98 sigsegv + 72
39: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
39: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
39: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
39: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
39: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
39: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
39: 9   _kdbtools.bundle                    0x000000010ce61b90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
39:
39: -- Other runtime information -----------------------------------------------
39:
39: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_backendbuilder.rb
39:
39: * Loaded features:
39:
39:     0 enumerator.so
39:     1 thread.rb
39:     2 rational.so
39:     3 complex.so
39:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
39:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
39:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
39:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
39:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
39:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
39:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
39:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
39:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
39:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
39:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
39:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
39:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
39:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
39:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
39:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
39:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
39:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
39:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
39:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
39:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
39:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
39:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
39:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
39:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
39:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
39:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
39:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
39:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
39:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
39:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
39:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
39:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
39:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
39:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
39:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
39:
39: [NOTE]
39: You may have encountered a bug in the Ruby interpreter or extension libraries.
39: Bug reports are welcome.
39: For details: http://www.ruby-lang.org/bugreport.html
39:
39: [IMPORTANT]
39: Don't forget to include the Crash Report log file under
39: DiagnosticReports directory in bug reports.
39:
4/9 Test #39: testruby_tools_backendbuilder ....***Exception: Other  0.10 sec
test 40
    Start 40: testruby_tools_backendparser

40: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_backendparser.rb" "--verbose"
40: Environment variables:
40:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
40:  LD_LIBRARY_PATH=build/lib
40: Test timeout computed to be: 1500
40: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
40: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
40:
40: -- Crash Report log information --------------------------------------------
40:    See Crash Report log file under the one of following:
40:      * ~/Library/Logs/DiagnosticReports
40:      * /Library/Logs/DiagnosticReports
40:    for more details.
40: Don't forget to include the above Crash Report log file in bug reports.
40:
40: -- Control frame information -----------------------------------------------
40: c:0008 p:-17539359857032 s:0046 e:000045 TOP    [FINISH]
40: c:0007 p:---- s:0043 e:000042 CFUNC  :require
40: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
40: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
40: c:0004 p:---- s:0023 e:000022 CFUNC  :require
40: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
40: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_ba [FINISH]
40: c:0001 p:0000 s:0003 E:000680 (none) [FINISH]
40:
40: -- Ruby level backtrace information ----------------------------------------
40: src/bindings/swig/ruby/tests/testruby_tools_backendparser.rb:10:in `<main>'
40: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
40: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
40: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
40: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
40: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
40:
40: -- Machine register context ------------------------------------------------
40:  rax: 0x0000000000000030 rbx: 0x0000000101bec3e9 rcx: 0x0000000000000000
40:  rdx: 0xffffffffffffffe0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
40:  rbp: 0x00007ffeee4e46b0 rsp: 0x00007ffeee4e46b0  r8: 0x00000000d9a87cc6
40:   r9: 0x0000000000000017 r10: 0x00000000ffffffc0 r11: 0x00007f9d9a800000
40:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
40:  r15: 0x0000000101bdeb80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
40:
40: -- C level backtrace information -------------------------------------------
40: 0   ruby                                0x00000001018e0404 rb_vm_bugreport + 132
40: 1   ruby                                0x000000010177e133 rb_bug_context + 467
40: 2   ruby                                0x000000010185fa98 sigsegv + 72
40: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
40: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
40: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
40: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
40: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
40: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
40: 9   _kdbtools.bundle                    0x0000000101bdeb90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
40:
40: -- Other runtime information -----------------------------------------------
40:
40: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_backendparser.rb
40:
40: * Loaded features:
40:
40:     0 enumerator.so
40:     1 thread.rb
40:     2 rational.so
40:     3 complex.so
40:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
40:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
40:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
40:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
40:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
40:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
40:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
40:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
40:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
40:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
40:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
40:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
40:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
40:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
40:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
40:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
40:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
40:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
40:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
40:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
40:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
40:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
40:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
40:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
40:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
40:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
40:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
40:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
40:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
40:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
40:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
40:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
40:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
40:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
40:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
40:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
40:
40: [NOTE]
40: You may have encountered a bug in the Ruby interpreter or extension libraries.
40: Bug reports are welcome.
40: For details: http://www.ruby-lang.org/bugreport.html
40:
40: [IMPORTANT]
40: Don't forget to include the Crash Report log file under
40: DiagnosticReports directory in bug reports.
40:
5/9 Test #40: testruby_tools_backendparser .....***Exception: Other  0.10 sec
test 41
    Start 41: testruby_tools_modules

41: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_modules.rb" "--verbose"
41: Environment variables:
41:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
41:  LD_LIBRARY_PATH=build/lib
41: Test timeout computed to be: 1500
41: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
41: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
41:
41: -- Crash Report log information --------------------------------------------
41:    See Crash Report log file under the one of following:
41:      * ~/Library/Logs/DiagnosticReports
41:      * /Library/Logs/DiagnosticReports
41:    for more details.
41: Don't forget to include the above Crash Report log file in bug reports.
41:
41: -- Control frame information -----------------------------------------------
41: c:0008 p:-17561160789038 s:0046 e:000045 TOP    [FINISH]
41: c:0007 p:---- s:0043 e:000042 CFUNC  :require
41: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
41: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
41: c:0004 p:---- s:0023 e:000022 CFUNC  :require
41: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
41: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_mo [FINISH]
41: c:0001 p:0000 s:0003 E:001700 (none) [FINISH]
41:
41: -- Ruby level backtrace information ----------------------------------------
41: src/bindings/swig/ruby/tests/testruby_tools_modules.rb:10:in `<main>'
41: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
41: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
41: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
41: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
41: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
41:
41: -- Machine register context ------------------------------------------------
41:  rax: 0x0000000000000030 rbx: 0x000000010fa443e9 rcx: 0x0000000000000000
41:  rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
41:  rbp: 0x00007ffee068c6c0 rsp: 0x00007ffee068c6c0  r8: 0x0000000063606f2b
41:   r9: 0x0000000000000017 r10: 0x00000000fffff800 r11: 0x00007fc636000000
41:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
41:  r15: 0x000000010fa36b80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
41:
41: -- C level backtrace information -------------------------------------------
41: 0   ruby                                0x000000010f738404 rb_vm_bugreport + 132
41: 1   ruby                                0x000000010f5d6133 rb_bug_context + 467
41: 2   ruby                                0x000000010f6b7a98 sigsegv + 72
41: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
41: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
41: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
41: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
41: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
41: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
41: 9   _kdbtools.bundle                    0x000000010fa36b90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
41:
41: -- Other runtime information -----------------------------------------------
41:
41: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_modules.rb
41:
41: * Loaded features:
41:
41:     0 enumerator.so
41:     1 thread.rb
41:     2 rational.so
41:     3 complex.so
41:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
41:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
41:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
41:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
41:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
41:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
41:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
41:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
41:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
41:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
41:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
41:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
41:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
41:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
41:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
41:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
41:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
41:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
41:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
41:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
41:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
41:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
41:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
41:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
41:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
41:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
41:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
41:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
41:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
41:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
41:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
41:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
41:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
41:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
41:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
41:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
41:
41: [NOTE]
41: You may have encountered a bug in the Ruby interpreter or extension libraries.
41: Bug reports are welcome.
41: For details: http://www.ruby-lang.org/bugreport.html
41:
41: [IMPORTANT]
41: Don't forget to include the Crash Report log file under
41: DiagnosticReports directory in bug reports.
41:
6/9 Test #41: testruby_tools_modules ...........***Exception: Other  0.10 sec
test 42
    Start 42: testruby_tools_plugindatabase

42: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_plugindatabase.rb" "--verbose"
42: Environment variables:
42:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
42:  LD_LIBRARY_PATH=build/lib
42: Test timeout computed to be: 1500
42: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
42: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
42:
42: -- Crash Report log information --------------------------------------------
42:    See Crash Report log file under the one of following:
42:      * ~/Library/Logs/DiagnosticReports
42:      * /Library/Logs/DiagnosticReports
42:    for more details.
42: Don't forget to include the above Crash Report log file in bug reports.
42:
42: -- Control frame information -----------------------------------------------
42: c:0008 p:-17554706721118 s:0046 e:000045 TOP    [FINISH]
42: c:0007 p:---- s:0043 e:000042 CFUNC  :require
42: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
42: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
42: c:0004 p:---- s:0023 e:000022 CFUNC  :require
42: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
42: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_pl [FINISH]
42: c:0001 p:0000 s:0003 E:001760 (none) [FINISH]
42:
42: -- Ruby level backtrace information ----------------------------------------
42: src/bindings/swig/ruby/tests/testruby_tools_plugindatabase.rb:10:in `<main>'
42: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
42: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
42: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
42: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
42: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
42:
42: -- Machine register context ------------------------------------------------
42:  rax: 0x0000000000000030 rbx: 0x000000010f04c3e9 rcx: 0x0000000000000000
42:  rdx: 0xffffffffffffffe0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
42:  rbp: 0x00007ffee10846b0 rsp: 0x00007ffee10846b0  r8: 0x00000000a307782a
42:   r9: 0x0000000000000017 r10: 0x00000000fffffc00 r11: 0x00007fba30700000
42:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
42:  r15: 0x000000010f03eb80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
42:
42: -- C level backtrace information -------------------------------------------
42: 0   ruby                                0x000000010ed40404 rb_vm_bugreport + 132
42: 1   ruby                                0x000000010ebde133 rb_bug_context + 467
42: 2   ruby                                0x000000010ecbfa98 sigsegv + 72
42: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
42: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
42: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
42: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
42: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
42: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
42: 9   _kdbtools.bundle                    0x000000010f03eb90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
42:
42: -- Other runtime information -----------------------------------------------
42:
42: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_plugindatabase.rb
42:
42: * Loaded features:
42:
42:     0 enumerator.so
42:     1 thread.rb
42:     2 rational.so
42:     3 complex.so
42:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
42:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
42:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
42:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
42:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
42:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
42:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
42:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
42:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
42:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
42:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
42:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
42:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
42:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
42:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
42:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
42:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
42:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
42:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
42:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
42:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
42:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
42:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
42:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
42:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
42:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
42:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
42:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
42:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
42:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
42:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
42:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
42:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
42:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
42:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
42:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
42:
42: [NOTE]
42: You may have encountered a bug in the Ruby interpreter or extension libraries.
42: Bug reports are welcome.
42: For details: http://www.ruby-lang.org/bugreport.html
42:
42: [IMPORTANT]
42: Don't forget to include the Crash Report log file under
42: DiagnosticReports directory in bug reports.
42:
7/9 Test #42: testruby_tools_plugindatabase ....***Exception: Other  0.10 sec
test 43
    Start 43: testruby_tools_pluginspec

43: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_pluginspec.rb" "--verbose"
43: Environment variables:
43:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
43:  LD_LIBRARY_PATH=build/lib
43: Test timeout computed to be: 1500
43: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
43: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
43:
43: -- Crash Report log information --------------------------------------------
43:    See Crash Report log file under the one of following:
43:      * ~/Library/Logs/DiagnosticReports
43:      * /Library/Logs/DiagnosticReports
43:    for more details.
43: Don't forget to include the above Crash Report log file in bug reports.
43:
43: -- Control frame information -----------------------------------------------
43: c:0008 p:-17532618294666 s:0046 e:000045 TOP    [FINISH]
43: c:0007 p:---- s:0043 e:000042 CFUNC  :require
43: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
43: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
43: c:0004 p:---- s:0023 e:000022 CFUNC  :require
43: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
43: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_pl [FINISH]
43: c:0001 p:0000 s:0003 E:000cb0 (none) [FINISH]
43:
43: -- Ruby level backtrace information ----------------------------------------
43: src/bindings/swig/ruby/tests/testruby_tools_pluginspec.rb:10:in `<main>'
43: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
43: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
43: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
43: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
43: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
43:
43: -- Machine register context ------------------------------------------------
43:  rax: 0x0000000000000030 rbx: 0x000000010830c3e9 rcx: 0x0000000000000000
43:  rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
43:  rbp: 0x00007ffee7dc46c0 rsp: 0x00007ffee7dc46c0  r8: 0x0000000010d100e5
43:   r9: 0x0000000000000017 r10: 0x00000000ffffffe0 r11: 0x00007f910d100000
43:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
43:  r15: 0x00000001082feb80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
43:
43: -- C level backtrace information -------------------------------------------
43: 0   ruby                                0x0000000108000404 rb_vm_bugreport + 132
43: 1   ruby                                0x0000000107e9e133 rb_bug_context + 467
43: 2   ruby                                0x0000000107f7fa98 sigsegv + 72
43: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
43: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
43: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
43: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
43: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
43: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
43: 9   _kdbtools.bundle                    0x00000001082feb90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
43:
43: -- Other runtime information -----------------------------------------------
43:
43: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_pluginspec.rb
43:
43: * Loaded features:
43:
43:     0 enumerator.so
43:     1 thread.rb
43:     2 rational.so
43:     3 complex.so
43:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
43:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
43:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
43:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
43:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
43:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
43:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
43:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
43:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
43:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
43:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
43:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
43:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
43:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
43:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
43:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
43:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
43:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
43:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
43:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
43:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
43:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
43:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
43:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
43:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
43:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
43:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
43:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
43:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
43:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
43:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
43:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
43:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
43:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
43:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
43:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
43:
43: [NOTE]
43: You may have encountered a bug in the Ruby interpreter or extension libraries.
43: Bug reports are welcome.
43: For details: http://www.ruby-lang.org/bugreport.html
43:
43: [IMPORTANT]
43: Don't forget to include the Crash Report log file under
43: DiagnosticReports directory in bug reports.
43:
8/9 Test #43: testruby_tools_pluginspec ........***Exception: Other  0.10 sec
test 44
    Start 44: testruby_tools_specreader

44: Test command: ~/.rbenv/shims/ruby "src/bindings/swig/ruby/tests/testruby_tools_specreader.rb" "--verbose"
44: Environment variables:
44:  RUBYLIB=build/src/bindings/swig/ruby/tests/..:src/bindings/swig/ruby/tests/..
44:  LD_LIBRARY_PATH=build/lib
44: Test timeout computed to be: 1500
44: build/src/bindings/swig/ruby/_kdbtools.bundle: [BUG] Segmentation fault at 0x00000000000438
44: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
44:
44: -- Crash Report log information --------------------------------------------
44:    See Crash Report log file under the one of following:
44:      * ~/Library/Logs/DiagnosticReports
44:      * /Library/Logs/DiagnosticReports
44:    for more details.
44: Don't forget to include the above Crash Report log file in bug reports.
44:
44: -- Control frame information -----------------------------------------------
44: c:0008 p:-17565245036588 s:0046 e:000045 TOP    [FINISH]
44: c:0007 p:---- s:0043 e:000042 CFUNC  :require
44: c:0006 p:0132 s:0038 e:000037 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
44: c:0005 p:0008 s:0026 e:000025 TOP    src/bindings/swig/ruby/kdbtools.rb:12 [FINISH]
44: c:0004 p:---- s:0023 e:000022 CFUNC  :require
44: c:0003 p:0132 s:0018 e:000017 METHOD ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55
44: c:0002 p:0008 s:0006 e:000005 EVAL   src/bindings/swig/ruby/tests/testruby_tools_sp [FINISH]
44: c:0001 p:0000 s:0003 E:000360 (none) [FINISH]
44:
44: -- Ruby level backtrace information ----------------------------------------
44: src/bindings/swig/ruby/tests/testruby_tools_specreader.rb:10:in `<main>'
44: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
44: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
44: src/bindings/swig/ruby/kdbtools.rb:12:in `<top (required)>'
44: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
44: ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
44:
44: -- Machine register context ------------------------------------------------
44:  rax: 0x0000000000000030 rbx: 0x000000010fa953e9 rcx: 0x0000000000000000
44:  rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
44:  rbp: 0x00007ffee063b6c0 rsp: 0x00007ffee063b6c0  r8: 0x00000000dcfd498b
44:   r9: 0x0000000000000017 r10: 0x00000000fffff800 r11: 0x00007fcdcfd00000
44:  r12: 0x0000000000000000 r13: 0x0000000000000001 r14: 0x0000000000000004
44:  r15: 0x000000010fa87b80 rip: 0x00007fff3f6d084b rfl: 0x0000000000010246
44:
44: -- C level backtrace information -------------------------------------------
44: 0   ruby                                0x000000010f789404 rb_vm_bugreport + 132
44: 1   ruby                                0x000000010f627133 rb_bug_context + 467
44: 2   ruby                                0x000000010f708a98 sigsegv + 72
44: 3   libsystem_platform.dylib            0x00007fff5bb10f5a _sigtramp + 26
44: 4   Ruby                                0x00007fff3f6d084b ruby_xmalloc + 17
44: 5   Ruby                                0x00007fff3f75bd5f st_init_strcasetable + 16
44: 6   Ruby                                0x00007fff3f6ae6e2 rb_enc_init + 29
44: 7   Ruby                                0x00007fff3f6af512 rb_usascii_encoding + 21
44: 8   Ruby                                0x00007fff3f7759f6 rb_intern + 23
44: 9   _kdbtools.bundle                    0x000000010fa87b90 _GLOBAL__sub_I_kdbtoolsRUBY_wrap.cxx + 16
44:
44: -- Other runtime information -----------------------------------------------
44:
44: * Loaded script: src/bindings/swig/ruby/tests/testruby_tools_specreader.rb
44:
44: * Loaded features:
44:
44:     0 enumerator.so
44:     1 thread.rb
44:     2 rational.so
44:     3 complex.so
44:     4 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/encdb.bundle
44:     5 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/enc/trans/transdb.bundle
44:     6 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/unicode_normalize.rb
44:     7 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/rbconfig.rb
44:     8 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/compatibility.rb
44:     9 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/defaults.rb
44:    10 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/deprecate.rb
44:    11 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/errors.rb
44:    12 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/version.rb
44:    13 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/requirement.rb
44:    14 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/platform.rb
44:    15 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/basic_specification.rb
44:    16 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/stub_specification.rb
44:    17 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/util/list.rb
44:    18 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/x86_64-darwin16/stringio.bundle
44:    19 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/specification.rb
44:    20 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/exceptions.rb
44:    21 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/dependency.rb
44:    22 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_gem.rb
44:    23 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb
44:    24 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb
44:    25 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems.rb
44:    26 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/path_support.rb
44:    27 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/version.rb
44:    28 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/core_ext/name_error.rb
44:    29 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/levenshtein.rb
44:    30 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/jaro_winkler.rb
44:    31 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checker.rb
44:    32 ~/.rbenv/versions/2.4.1/lib/ruby/2.4.0/delegate.rb
44:    33 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
44:    34 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
44:    35 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/name_error_checkers.rb
44:    36 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/method_name_checker.rb
44:    37 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/spell_checkers/null_checker.rb
44:    38 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean/formatter.rb
44:    39 ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.2/lib/did_you_mean.rb
44:
44: [NOTE]
44: You may have encountered a bug in the Ruby interpreter or extension libraries.
44: Bug reports are welcome.
44: For details: http://www.ruby-lang.org/bugreport.html
44:
44: [IMPORTANT]
44: Don't forget to include the Crash Report log file under
44: DiagnosticReports directory in bug reports.
44:
9/9 Test #44: testruby_tools_specreader ........***Exception: Other  0.10 sec

0% tests passed, 9 tests failed out of 9

Label Time Summary:
bindings    =   0.89 sec (9 tests)
kdbtests    =   0.10 sec (1 test)
memleak     =   0.89 sec (9 tests)

Total Test time (real) =   0.91 sec

The following tests FAILED:
	 36 - testruby_kdb (Failed)
	 37 - testruby_key (Failed)
	 38 - testruby_keyset (Failed)
	 39 - testruby_tools_backendbuilder (OTHER_FAULT)
	 40 - testruby_tools_backendparser (OTHER_FAULT)
	 41 - testruby_tools_modules (OTHER_FAULT)
	 42 - testruby_tools_plugindatabase (OTHER_FAULT)
	 43 - testruby_tools_pluginspec (OTHER_FAULT)
	 44 - testruby_tools_specreader (OTHER_FAULT)
Errors while running CTest

System Information

  • Elektra Version: master
  • OS: macOS 10.13
  • rbenv: rbenv 1.1.1

@sanssecours sanssecours referenced this issue Oct 15, 2017

Merged

Ruby plugin #1341

5 of 6 tasks complete
@markus2330

This comment has been minimized.

Show comment
Hide comment
@markus2330

markus2330 Oct 16, 2017

Contributor

Thank you for the detailed report!

Contributor

markus2330 commented Oct 16, 2017

Thank you for the detailed report!

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