[Bug #2335] Windows $B4D6-2<$N(B Dir.glob $B$G(B Segmentation Fault $B$,H/@8$9$k(B

Bug #2335: Windows e$B4D6-2<$Ne(B Dir.glob e$B$Ge(B Segmentation Fault
e$B$,H/@8$9$ke(B
http://redmine.ruby-lang.org/issues/show/2335

e$B5/I<<Te(B: Kenta M.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core
ruby -v: ruby 1.9.2dev (2009-11-04) [i386-mswin32_90]

e$B0J2<$Oe(B test_dir.rb e$B$r<B9T$7$?7k2L$G$9!#e(B
ruby e$B$Oe(B Visual Studio 2008 Express Edition
e$B$G%S%k%I$7$^$7$?!#e(B

dir_s_glob e$B0J2<$r>$7$/DI$C$F%Q%C%A$rMQ0U$7$h$&$H$7$?$N$G$9$,!"e(B
e$B$=$b$=$be(B Visual Studio e$B$N%G%P%C%,$+$ie(B Ruby
e$B$r5/F0$5$;$kJ}K!$,J,$+$j$^$;$se(B ><

e$B$^$:$O%P%0%l%]!<%H$@$1Aw$j$^$9!#e(B

Loaded suite test/ruby/test_dir
Started
…test/ruby/test_dir.rb:150: [BUG] Segmentation fault
ruby 1.9.2dev (2009-11-04) [i386-mswin32_90]

– control frame ----------
c:0014 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC :glob
c:0013 p:0075 s:0050 b:0048 l:000047 d:000047 METHOD
test/ruby/test_dir.rb:150
c:0012 p:0063 s:0043 b:0043 l:000042 d:000042 METHOD
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:458
c:0011 p:0091 s:0037 b:0037 l:000018 d:000036 BLOCK
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:426
c:0010 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0009 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :each
c:0008 p:0026 s:0027 b:0027 l:000018 d:000026 BLOCK
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:420
c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each
c:0005 p:0082 s:0019 b:0019 l:000018 d:000018 METHOD
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:419
c:0004 p:0154 s:0014 b:0014 l:000013 d:000013 METHOD
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:393
c:0003 p:0041 s:0007 b:0007 l:00188c d:000006 BLOCK
Z:/src/ruby-r25640-vc9/lib/
minitest/unit.rb:334
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0017f4 d:0017f4 TOP

Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:334:in block in autorun' Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:393:in run’
Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:419:in run_test_suites' Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:419:in each’
Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:420:in block in run_test_suites' Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:420:in each’
Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:426:in block (2 levels) in run_test_suites' Z:/src/ruby-r25640-vc9/lib/minitest/unit.rb:458:in run’
test/ruby/test_dir.rb:150:in test_glob' test/ruby/test_dir.rb:150:in glob’