chef-boneyard / chef-dk

DEPRECATED: A streamlined development and deployment workflow for Chef Infra platform.
Apache License 2.0
380 stars 170 forks source link

chef-dk throwing segmentation fault #1575

Closed tysonjhayes closed 6 years ago

tysonjhayes commented 6 years ago

Description

Running chef gem install kitchen-pester, and kitchen converge throws segmentation fault.

ChefDK Version

Chef Development Kit Version: 2.5.3 chef-client version: 13.8.5 delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427) berks version: 6.3.1 kitchen version: 1.20.0 inspec version: 1.51.21

Platform Version

Windows 10 OS Build: 16299.431 (1709)

Replication Case

Tell us what steps to take to replicate your problem. See How to create a Minimal, Complete, and Verifiable example for information on how to create a good replication case.

Run on a newly installed chef instance: chef gem install kitchen-pester

or

Attempt to kitchen converge on a kitchen.yml file.

Stacktrace

Please include the stacktrace.out output or link to a gist of it, if there is one.

chef gem install kitchen-pester C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:43: [BUG] Segmentation fault ruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]

-- Control frame information ----------------------------------------------- c:0022 p:---- s:0150 e:000149 CFUNC :[] c:0021 p:0045 s:0145 e:000141 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:43 c:0020 p:0028 s:0136 e:000135 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:83 c:0019 p:0119 s:0128 e:000127 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/resolver/installer_set.rb:141 c:0018 p:0031 s:0118 e:000117 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/resolver/installer_set.rb:56 c:0017 p:0354 s:0109 e:000108 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/dependency_installer.rb:478 c:0016 p:0122 s:0098 e:000097 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:194 c:0015 p:0035 s:0089 e:000088 BLOCK C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:255 [FINISH] c:0014 p:---- s:0082 e:000081 CFUNC :each c:0013 p:0017 s:0078 e:000077 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:251 c:0012 p:0107 s:0073 e:000072 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:158 c:0011 p:0116 s:0068 e:000067 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command.rb:313 c:0010 p:0116 s:0060 e:000059 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command_manager.rb:171 c:0009 p:0015 s:0052 e:000051 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command_manager.rb:141 c:0008 p:0065 s:0045 e:000044 METHOD C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/gem_runner.rb:59 c:0007 p:0024 s:0038 e:000037 METHOD C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/command/gem.rb:32 c:0006 p:0079 s:0031 e:000030 METHOD C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/command/base.rb:58 c:0005 p:0076 s:0025 e:000024 METHOD C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/cli.rb:73 c:0004 p:0096 s:0016 E:001f90 TOP C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/bin/chef:25 [FINISH] c:0003 p:---- s:0013 e:000012 CFUNC :load c:0002 p:2879 s:0008 E:001780 EVAL C:/opscode/chefdk/bin/chef:262 [FINISH] c:0001 p:0000 s:0003 E:000450 (none) [FINISH]

-- Ruby level backtrace information ---------------------------------------- C:/opscode/chefdk/bin/chef:262:in <main>' C:/opscode/chefdk/bin/chef:262:inload' C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/bin/chef:25:in <top (required)>' C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/cli.rb:73:inrun' C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/command/base.rb:58:in run_with_default_options' C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.5.3/lib/chef-dk/command/gem.rb:32:inrun' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/gem_runner.rb:59:in run' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command_manager.rb:141:inrun' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command_manager.rb:171:in process_args' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/command.rb:313:ininvoke_with_build_args' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:158:in execute' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:251:ininstall_gems' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:251:in each' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:255:inblock in install_gems' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/commands/install_command.rb:194:in install_gem' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/dependency_installer.rb:478:inresolve_dependencies' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/resolver/installer_set.rb:56:in add_always_install' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/resolver/installer_set.rb:141:infind_all' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:83:in find_gem' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:43:inload_specs' C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.4.0/rubygems/source/local.rb:43:in `[]'

-- C level backtrace information ------------------------------------------- C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007FFD5EBD0344] C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x9f) [0x00007FFD5BDA3B7F] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_bugreport+0x9d) [0x0000000067B7A04D] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_bug_context+0x69) [0x00000000679F6709] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_check_safe_obj+0x3dc) [0x0000000067AEE6CC] [0x0000000000402467] C:\WINDOWS\SYSTEM32\ntdll.dll(_C_specific_handler+0x96) [0x00007FFD5EBC13D6] C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x11d) [0x00007FFD5EBD50BD] C:\WINDOWS\SYSTEM32\ntdll.dll(RtlWalkFrameChain+0x1518) [0x00007FFD5EB4D278] C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007FFD5EBD3FEE] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_w32_read_reparse_point+0x111) [0x0000000067B8DC51] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0x37) [0x0000000067B8DD77] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_w32_reparse_symlink_p+0xb97) [0x0000000067B8E8D7] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_w32_uopendir+0xba) [0x0000000067B8EBBA] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(ruby_set_debug_option+0x254c) [0x00000000679D6B0C] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(ruby_set_debug_option+0x36ad) [0x00000000679D7C6D] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(ruby_set_debug_option+0x4c55) [0x00000000679D9215] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x107) [0x0000000067B5DED7] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x818) [0x0000000067B6BBB8] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x1c69) [0x0000000067B65669] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x670c) [0x0000000067B6A10C] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x743a) [0x0000000067B6AE3A] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_yield+0x17e) [0x0000000067B7387E] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_ary_each+0x3d) [0x000000006798689D] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x107) [0x0000000067B5DED7] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x818) [0x0000000067B6BBB8] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x63f) [0x0000000067B6403F] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x670c) [0x0000000067B6A10C] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_iseqw_local_variables+0x9b4) [0x0000000067A459C4] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_iseqw_local_variables+0xfb1) [0x0000000067A45FC1] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_error_arity+0x107) [0x0000000067B5DED7] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_invoke_proc+0x818) [0x0000000067B6BBB8] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x4a7) [0x0000000067B63EA7] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_vm_localjump_error+0x670c) [0x0000000067B6A10C] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(rb_call_end_proc+0xce) [0x00000000679FBFCE] C:\opscode\chefdk\embedded\bin\x64-msvcrt-ruby240.dll(ruby_run_node+0x59) [0x00000000679FF5F9] [0x0000000000402D57] [0x00000000004013F7] [0x000000000040152B] C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007FFD5C9C1FE4]

-- Other runtime information -----------------------------------------------

[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

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

NOTE: CHEFDK BUGS ONLY

This issue tracker is for the code contained within this repo -- chefdk.

tysonjhayes commented 6 years ago

This started working again so I'm going to close this issue. I'm unclear what caused it or fixed it but its no longer in repro.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.