Skip to content

Instantly share code, notes, and snippets.

@joshcooper
Created January 30, 2014 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshcooper/8700232 to your computer and use it in GitHub Desktop.
Save joshcooper/8700232 to your computer and use it in GitHub Desktop.
C:/work/puppet/lib/puppet/util/windows/file.rb:140: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
-- Control frame information -----------------------------------------------
c:0059 p:0105 s:0266 b:0266 l:000265 d:000265 METHOD C:/work/puppet/lib/puppet/util/windows/file.rb:140
c:0058 p:0015 s:0261 b:0261 l:000260 d:000260 METHOD C:/work/puppet/lib/puppet/util/windows/file.rb:182
c:0057 p:0113 s:0256 b:0256 l:000255 d:000255 METHOD C:/work/puppet/lib/puppet/file_system/file19windows.rb:15
c:0056 p:0022 s:0252 b:0252 l:000251 d:000251 METHOD C:/work/puppet/lib/puppet/file_system.rb:148
c:0055 p:0036 s:0248 b:0248 l:000235 d:000247 BLOCK C:/work/puppet/lib/puppet/util/autoload.rb:88
c:0054 p:---- s:0245 b:0245 l:000244 d:000244 FINISH
c:0053 p:---- s:0243 b:0243 l:000238 d:000242 IFUNC
c:0052 p:---- s:0241 b:0241 l:000240 d:000240 CFUNC :each
c:0051 p:---- s:0239 b:0239 l:000238 d:000238 CFUNC :find
c:0050 p:0039 s:0236 b:0236 l:000235 d:000235 METHOD C:/work/puppet/lib/puppet/util/autoload.rb:88
c:0049 p:0024 s:0230 b:0230 l:000229 d:000229 METHOD C:/work/puppet/lib/puppet/util/autoload.rb:57
c:0048 p:0031 s:0222 b:0222 l:000221 d:000221 METHOD C:/work/puppet/lib/puppet/util/autoload.rb:200
c:0047 p:0140 s:0217 b:0217 l:000216 d:000216 METHOD C:/work/puppet/lib/puppet/metatype/manager.rb:159
c:0046 p:0078 s:0213 b:0213 l:000212 d:000212 METHOD C:/work/puppet/lib/puppet/resource.rb:254
c:0045 p:0011 s:0210 b:0210 l:000209 d:000209 METHOD C:/work/puppet/lib/puppet/resource.rb:161
c:0044 p:0011 s:0207 b:0207 l:000206 d:000206 METHOD C:/work/puppet/lib/puppet/resource.rb:466
c:0043 p:0043 s:0203 b:0203 l:000202 d:000202 METHOD C:/work/puppet/lib/puppet/resource.rb:457
c:0042 p:0042 s:0199 b:0197 l:000196 d:000196 METHOD C:/work/puppet/lib/puppet/resource.rb:138
c:0041 p:0159 s:0192 b:0192 l:000191 d:000191 METHOD C:/work/puppet/lib/puppet/type.rb:1032
c:0040 p:0011 s:0186 b:0186 l:000185 d:000185 METHOD C:/work/puppet/lib/puppet/type.rb:1063
c:0039 p:0019 s:0182 b:0181 l:000180 d:000180 METHOD C:/work/puppet/lib/puppet/transaction/resource_harness.rb:223
c:0038 p:0046 s:0176 b:0176 l:000175 d:000175 METHOD C:/work/puppet/lib/puppet/transaction/resource_harness.rb:17
c:0037 p:0022 s:0169 b:0169 l:000168 d:000168 METHOD C:/work/puppet/lib/puppet/transaction.rb:174
c:0036 p:0073 s:0162 b:0162 l:000161 d:000161 METHOD C:/work/puppet/lib/puppet/transaction.rb:187
c:0035 p:---- s:0157 b:0157 l:000156 d:000156 FINISH
c:0034 p:---- s:0155 b:0155 l:000154 d:000154 CFUNC :call
c:0033 p:0014 s:0151 b:0151 l:002398 d:000150 BLOCK C:/work/puppet/lib/puppet/transaction.rb:117
c:0032 p:0005 s:0149 b:0149 l:000142 d:000148 BLOCK C:/work/puppet/lib/puppet/util.rb:327
c:0031 p:0024 s:0147 b:0147 l:000146 d:000146 METHOD c:/work/puppet-win32-ruby/ruby/lib/ruby/1.9.1/benchmark.rb:295
c:0030 p:0017 s:0143 b:0143 l:000142 d:000142 METHOD C:/work/puppet/lib/puppet/util.rb:326
c:0029 p:0090 s:0139 b:0139 l:002398 d:000138 BLOCK C:/work/puppet/lib/puppet/transaction.rb:117
c:0028 p:0183 s:0135 b:0135 l:000134 d:000134 METHOD C:/work/puppet/lib/puppet/graph/relationship_graph.rb:118
c:0027 p:0241 s:0122 b:0122 l:002398 d:002398 METHOD C:/work/puppet/lib/puppet/transaction.rb:108
c:0026 p:0011 s:0110 b:0110 l:001bf8 d:000109 BLOCK C:/work/puppet/lib/puppet/resource/catalog.rb:164
c:0025 p:0022 s:0108 b:0108 l:000107 d:000107 METHOD C:/work/puppet/lib/puppet/util/log.rb:149
c:0024 p:0024 s:0103 b:0103 l:000102 d:000102 METHOD C:/work/puppet/lib/puppet/transaction/report.rb:107
c:0023 p:0066 s:0099 b:0099 l:001bf8 d:001bf8 METHOD C:/work/puppet/lib/puppet/resource/catalog.rb:163
c:0022 p:0014 s:0093 b:0093 l:000076 d:000092 BLOCK C:/work/puppet/lib/puppet/configurer.rb:125
c:0021 p:0005 s:0091 b:0091 l:000084 d:000090 BLOCK C:/work/puppet/lib/puppet/util.rb:161
c:0020 p:0024 s:0089 b:0089 l:000088 d:000088 METHOD c:/work/puppet-win32-ruby/ruby/lib/ruby/1.9.1/benchmark.rb:295
c:0019 p:0208 s:0085 b:0085 l:000084 d:000084 METHOD C:/work/puppet/lib/puppet/util.rb:160
c:0018 p:0072 s:0077 b:0077 l:000076 d:000076 METHOD C:/work/puppet/lib/puppet/configurer.rb:124
c:0017 p:0870 s:0071 b:0071 l:000070 d:000070 METHOD C:/work/puppet/lib/puppet/configurer.rb:195
c:0016 p:0041 s:0061 b:0061 l:000060 d:000060 METHOD C:/work/puppet/lib/puppet/application/apply.rb:282
c:0015 p:0761 s:0056 b:0056 l:000055 d:000055 METHOD C:/work/puppet/lib/puppet/application/apply.rb:223
c:0014 p:0037 s:0045 b:0045 l:000044 d:000044 METHOD C:/work/puppet/lib/puppet/application/apply.rb:151
c:0013 p:0009 s:0042 b:0042 l:0014ac d:000041 BLOCK C:/work/puppet/lib/puppet/application.rb:364
c:0012 p:0037 s:0040 b:0040 l:000039 d:000039 METHOD C:/work/puppet/lib/puppet/application.rb:470
c:0011 p:0011 s:0034 b:0034 l:0014ac d:000dac BLOCK C:/work/puppet/lib/puppet/application.rb:364
c:0010 p:0011 s:0032 b:0032 l:000031 d:000031 METHOD C:/work/puppet/lib/puppet/util.rb:479
c:0009 p:0131 s:0026 b:0026 l:0014ac d:0014ac METHOD C:/work/puppet/lib/puppet/application.rb:364
c:0008 p:0116 s:0023 b:0023 l:000e48 d:000e48 METHOD C:/work/puppet/lib/puppet/util/command_line.rb:137
c:0007 p:0058 s:0019 b:0019 l:000018 d:000018 METHOD C:/work/puppet/lib/puppet/util/command_line.rb:91
c:0006 p:0037 s:0016 b:0016 l:000015 d:000015 TOP C:/work/puppet/bin/puppet:4
c:0005 p:---- s:0014 b:0014 l:000013 d:000013 FINISH
c:0004 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :load
c:0003 p:0167 s:0008 b:0008 l:0019bc d:00158c EVAL C:/work/puppet/.bundle/gems/ruby/1.9.1/bin/puppet:23
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0019bc d:0019bc TOP
-- Ruby level backtrace information ----------------------------------------
C:/work/puppet/.bundle/gems/ruby/1.9.1/bin/puppet:23:in `<main>'
C:/work/puppet/.bundle/gems/ruby/1.9.1/bin/puppet:23:in `load'
C:/work/puppet/bin/puppet:4:in `<top (required)>'
C:/work/puppet/lib/puppet/util/command_line.rb:91:in `execute'
C:/work/puppet/lib/puppet/util/command_line.rb:137:in `run'
C:/work/puppet/lib/puppet/application.rb:364:in `run'
C:/work/puppet/lib/puppet/util.rb:479:in `exit_on_fail'
C:/work/puppet/lib/puppet/application.rb:364:in `block in run'
C:/work/puppet/lib/puppet/application.rb:470:in `plugin_hook'
C:/work/puppet/lib/puppet/application.rb:364:in `block (2 levels) in run'
C:/work/puppet/lib/puppet/application/apply.rb:151:in `run_command'
C:/work/puppet/lib/puppet/application/apply.rb:223:in `main'
C:/work/puppet/lib/puppet/application/apply.rb:282:in `apply_catalog'
C:/work/puppet/lib/puppet/configurer.rb:195:in `run'
C:/work/puppet/lib/puppet/configurer.rb:124:in `apply_catalog'
C:/work/puppet/lib/puppet/util.rb:160:in `benchmark'
c:/work/puppet-win32-ruby/ruby/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
C:/work/puppet/lib/puppet/util.rb:161:in `block in benchmark'
C:/work/puppet/lib/puppet/configurer.rb:125:in `block in apply_catalog'
C:/work/puppet/lib/puppet/resource/catalog.rb:163:in `apply'
C:/work/puppet/lib/puppet/transaction/report.rb:107:in `as_logging_destination'
C:/work/puppet/lib/puppet/util/log.rb:149:in `with_destination'
C:/work/puppet/lib/puppet/resource/catalog.rb:164:in `block in apply'
C:/work/puppet/lib/puppet/transaction.rb:108:in `evaluate'
C:/work/puppet/lib/puppet/graph/relationship_graph.rb:118:in `traverse'
C:/work/puppet/lib/puppet/transaction.rb:117:in `block in evaluate'
C:/work/puppet/lib/puppet/util.rb:326:in `thinmark'
c:/work/puppet-win32-ruby/ruby/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
C:/work/puppet/lib/puppet/util.rb:327:in `block in thinmark'
C:/work/puppet/lib/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
C:/work/puppet/lib/puppet/transaction.rb:117:in `call'
C:/work/puppet/lib/puppet/transaction.rb:187:in `eval_resource'
C:/work/puppet/lib/puppet/transaction.rb:174:in `apply'
C:/work/puppet/lib/puppet/transaction/resource_harness.rb:17:in `evaluate'
C:/work/puppet/lib/puppet/transaction/resource_harness.rb:223:in `from_resource'
C:/work/puppet/lib/puppet/type.rb:1063:in `retrieve_resource'
C:/work/puppet/lib/puppet/type.rb:1032:in `retrieve'
C:/work/puppet/lib/puppet/resource.rb:138:in `[]='
C:/work/puppet/lib/puppet/resource.rb:457:in `parameter_name'
C:/work/puppet/lib/puppet/resource.rb:466:in `namevar'
C:/work/puppet/lib/puppet/resource.rb:161:in `builtin_type?'
C:/work/puppet/lib/puppet/resource.rb:254:in `resource_type'
C:/work/puppet/lib/puppet/metatype/manager.rb:159:in `type'
C:/work/puppet/lib/puppet/util/autoload.rb:200:in `load'
C:/work/puppet/lib/puppet/util/autoload.rb:57:in `load_file'
C:/work/puppet/lib/puppet/util/autoload.rb:88:in `get_file'
C:/work/puppet/lib/puppet/util/autoload.rb:88:in `find'
C:/work/puppet/lib/puppet/util/autoload.rb:88:in `each'
C:/work/puppet/lib/puppet/util/autoload.rb:88:in `block in get_file'
C:/work/puppet/lib/puppet/file_system.rb:148:in `exist?'
C:/work/puppet/lib/puppet/file_system/file19windows.rb:15:in `exist?'
C:/work/puppet/lib/puppet/util/windows/file.rb:182:in `symlink?'
C:/work/puppet/lib/puppet/util/windows/file.rb:140:in `get_file_attributes'
-- C level backtrace information -------------------------------------------
C:\Windows\SysWOW64\ntdll.dll(ZwWaitForSingleObject+0x15) [0x775bf8b1]
C:\Windows\syswow64\kernel32.dll(WaitForSingleObjectEx+0x43) [0x75401194]
C:\Windows\syswow64\kernel32.dll(WaitForSingleObject+0x12) [0x75401148]
c:\work\puppet-win32-ruby\ruby\bin\msvcrt-ruby191.dll(rb_vm_bugreport+0xf9) [0x62e5cf51]
c:\work\puppet-win32-ruby\ruby\bin\msvcrt-ruby191.dll(rb_name_err_mesg_new+0x17a) [0x62d3a862]
c:\work\puppet-win32-ruby\ruby\bin\msvcrt-ruby191.dll(rb_bug+0x2f) [0x62d3b53f]
c:\work\puppet-win32-ruby\ruby\bin\msvcrt-ruby191.dll(rb_check_safe_str+0x194) [0x62def0bc]
[0x004011e6]
C:\Windows\syswow64\kernel32.dll(GetProfileStringW+0x12aa3) [0x7544003f]
C:\Windows\SysWOW64\ntdll.dll(RtlKnownExceptionFilter+0xb7) [0x776174df]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment