agiledivider / vagrant-hostsupdater

MIT License
1.15k stars 129 forks source link

[BUG] Segmentation fault #68

Closed GuerrillaCoder closed 8 years ago

GuerrillaCoder commented 9 years ago

After I install host updater I get " [BUG] Segmentation fault" and long dump list of ruby files.

I am using vagrant 1.7.2 abd virtual box 4.3.28.

Any ideas what's wrong? Here is full error:

C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/lib.rb:308: [BUG] Segmentation fault ruby 2.0.0p353 (2013-11-22) [i386-mingw32]

-- Control frame information ----------------------------------------------- c:0040 p:---- s:0243 e:000242 CFUNC :get_osfhandle c:0039 p:0066 s:0239 e:000238 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/lib.rb:308 c:0038 p:0015 s:0233 e:000232 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:137 c:0037 p:0068 s:0228 e:000225 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:109 c:0036 p:0031 s:0219 e:000218 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:32 c:0035 p:0102 s:0215 e:000214 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process.rb:68 c:0034 p:0007 s:0211 e:000210 METHOD C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/abstract_process.rb:82 c:0033 p:0008 s:0208 e:000207 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:104 c:0032 p:0006 s:0206 e:000205 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:26 [FINISH] c:0031 p:---- s:0204 e:000203 CFUNC :chdir c:0030 p:0015 s:0200 e:000199 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:25 [FINISH] c:0029 p:---- s:0198 e:000197 CFUNC :synchronize c:0028 p:0024 s:0195 e:000194 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:24 c:0027 p:0472 s:0190 e:000189 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:103 c:0026 p:0013 s:0168 e:000167 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22 c:0025 p:0024 s:0163 e:000162 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404 c:0024 p:0014 s:0161 e:000160 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19 c:0023 p:0039 s:0157 E:0015a0 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403 c:0022 p:0017 s:0151 e:000150 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342 c:0021 p:0044 s:0148 e:000147 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17 c:0020 p:0082 s:0142 e:000141 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337 c:0019 p:0009 s:0134 e:000133 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141 c:0018 p:0044 s:0132 e:000131 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17 c:0017 p:0035 s:0126 e:000125 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140 c:0016 p:0044 s:0121 e:000120 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38 [FINISH] c:0015 p:---- s:0114 e:000113 CFUNC :new c:0014 p:0019 s:0111 e:000110 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11 c:0013 p:0190 s:0107 e:000106 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:134 c:0012 p:0013 s:0087 e:000086 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:45 c:0011 p:0214 s:0069 e:000065 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:614 c:0010 p:0146 s:0058 e:000057 LAMBDA E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:168 [FINISH] c:0009 p:---- s:0052 e:000051 CFUNC :call c:0008 p:0010 s:0048 e:000047 BLOCK E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:201 [FINISH] c:0007 p:---- s:0045 e:000044 CFUNC :map c:0006 p:0238 s:0042 E:002040 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:200 c:0005 p:0086 s:0030 E:000844 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/reload/command.rb:37 c:0004 p:0158 s:0023 e:000022 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42 c:0003 p:0020 s:0017 e:000016 METHOD E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301 c:0002 p:0807 s:0013 E:000f58 EVAL E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174 [FINISH] c:0001 p:0000 s:0002 E:000a74 TOP [FINISH]

E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in <main>' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:incli' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in execute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/reload/command.rb:37:inexecute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:200:in with_target_vms' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:200:inmap' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:201:in block in with_target_vms' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:201:incall' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:168:in block in with_target_vms' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:614:inmachine' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:45:in machine' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/vagrantfile.rb:134:inmachine_config' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:in usable?' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/provider.rb:11:innew' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:38:in initialize' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:140:inread_version' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:in retryable' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/meta.rb:141:inblock in read_version' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:337:in execute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:inretryable' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:342:in block in execute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:403:inraw' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in busy' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/driver/base.rb:404:inblock in raw' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:22:in execute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:103:inexecute' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:24:in safe_chdir' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:24:insynchronize' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:25:in block in safe_chdir' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:25:inchdir' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/safe_chdir.rb:26:in block (2 levels) in safe_chdir' E:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/subprocess.rb:104:inblock in execute' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/abstract_process.rb:82:in start' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process.rb:68:inlaunch_process' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:32:in start' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:109:insetup_io' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/process_builder.rb:137:in std_stream_handle_for' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/lib.rb:308:inhandle_for' C:/Users/Mike/.vagrant.d/gems/gems/childprocess-0.5.6/lib/childprocess/windows/lib.rb:308:in `get_osfhandle'

-- C level backtrace information ------------------------------------------- C:\Windows\SysWOW64\ntdll.dll(ZwWaitForSingleObject+0x15) [0x7789F8CD] C:\Windows\syswow64\kernel32.dll(WaitForSingleObjectEx+0x43) [0x757E1194] C:\Windows\syswow64\kernel32.dll(WaitForSingleObject+0x12) [0x757E1148] E:\HashiCorp\Vagrant\embedded\bin\msvcrt-ruby200.dll(rb_vm_bugreport+0xa7) [0x668F7EB7] E:\HashiCorp\Vagrant\embedded\bin\msvcrt-ruby200.dll(rb_name_err_mesg_new+0x69d) [0x667BE44D] E:\HashiCorp\Vagrant\embedded\bin\msvcrt-ruby200.dll(rb_bug+0x2e) [0x667BF24E] E:\HashiCorp\Vagrant\embedded\bin\msvcrt-ruby200.dll(rb_check_safe_str+0x180) [0x6687E320] [0x00401866] C:\Windows\SysWOW64\ntdll.dll(RtlKnownExceptionFilter+0xb7) [0x778F1CA7]

-- 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.

cgsmith commented 8 years ago

@GuerrillaCoder Can you share your steps to reproduce if possible? Do you receive this error directly after running vagrant plugin install vagrant-hostsupdater?

cgsmith commented 8 years ago

It seems like this issue is related to older versions and not the plugin itself. Feel free to reopen if there is more information.