From: "nagachika (Tomoyuki Chikanaga)" Date: 2013-10-04T12:14:32+09:00 Subject: [ruby-core:57654] [ruby-trunk - Bug #8925] Traversing a tree of files/catalogues produces a segmentation fault in find.rb Issue #8925 has been updated by nagachika (Tomoyuki Chikanaga). Hello, Thank you for your report. Could you reproduce this issue with trunk? ---------------------------------------- Bug #8925: Traversing a tree of files/catalogues produces a segmentation fault in find.rb https://bugs.ruby-lang.org/issues/8925#change-42272 Author: LarsDk (Lars Aurbakken) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0p247 (2013-06-27) [i386-mingw32] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Traversing a tree of files/catalogues produces a segmentation fault: SvnPropertyStripper.rb:18: [BUG] Segmentation fault ruby 2.0.0p247 (2013-06-27) [i386-mingw32] -- Control frame information ----------------------------------------------- c:0012 p:---- s:0044 e:000043 CFUNC :write c:0011 p:---- s:0042 e:000041 CFUNC :puts c:0010 p:0025 s:0038 e:000037 BLOCK SvnPropertyStripper.rb:18 [FINISH] c:0009 p:---- s:0034 e:000033 CFUNC :open c:0008 p:0025 s:0029 e:000028 BLOCK SvnPropertyStripper.rb:16 [FINISH] c:0007 p:---- s:0026 e:000025 CFUNC :open c:0006 p:0068 s:0021 e:000020 BLOCK SvnPropertyStripper.rb:14 c:0005 p:0012 s:0017 e:000016 BLOCK C:/Ruby200p247/lib/ruby/2.0.0/find.rb:43 [FINISH] c:0004 p:---- s:0013 e:000012 CFUNC :catch c:0003 p:0044 s:0009 e:000008 METHOD C:/Ruby200p247/lib/ruby/2.0.0/find.rb:42 c:0002 p:0021 s:0004 E:001224 EVAL SvnPropertyStripper.rb:9 [FINISH] c:0001 p:0000 s:0002 E:0021cc TOP [FINISH] SvnPropertyStripper.rb:9:in `
' C:/Ruby200p247/lib/ruby/2.0.0/find.rb:42:in `find' C:/Ruby200p247/lib/ruby/2.0.0/find.rb:42:in `catch' C:/Ruby200p247/lib/ruby/2.0.0/find.rb:43:in `block in find' SvnPropertyStripper.rb:14:in `block in
' SvnPropertyStripper.rb:14:in `open' SvnPropertyStripper.rb:16:in `block (2 levels) in
' SvnPropertyStripper.rb:16:in `open' SvnPropertyStripper.rb:18:in `block (3 levels) in
' SvnPropertyStripper.rb:18:in `puts' SvnPropertyStripper.rb:18:in `write' -- C level backtrace information ------------------------------------------- C:\WINDOWS\system32\ntdll.dll(KiFastSystemCallRet+0x0) [0x7C90E514] C:\WINDOWS\system32\kernel32.dll(WaitForSingleObject+0x12) [0x7C802542] C:\Ruby200p247\bin\msvcrt-ruby200.dll(rb_vm_bugreport+0xa7) [0x668F6B57] C:\Ruby200p247\bin\msvcrt-ruby200.dll(rb_name_err_mesg_new+0x69d) [0x667BE2BD] C:\Ruby200p247\bin\msvcrt-ruby200.dll(rb_bug+0x2e) [0x667BF0BE] C:\Ruby200p247\bin\msvcrt-ruby200.dll(rb_check_safe_str+0x180) [0x6687DCA0] [0x00401866] -- Other runtime information ----------------------------------------------- * Loaded script: SvnPropertyStripper.rb * Loaded features: 0 enumerator.so 1 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/encdb.so 2 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/iso_8859_1.so 3 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/trans/transdb.so 4 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/rbconfig.rb 5 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/compatibility.rb 6 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/defaults.rb 7 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/deprecate.rb 8 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/errors.rb 9 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/version.rb 10 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/requirement.rb 11 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/platform.rb 12 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/specification.rb 13 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/exceptions.rb 14 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/defaults/operating_system.rb 15 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/utf_16le.so 16 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/trans/utf_16_32.so 17 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb 18 C:/Ruby200p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb 19 C:/Ruby200p247/lib/ruby/2.0.0/rubygems.rb 20 C:/Ruby200p247/lib/ruby/2.0.0/ubygems.rb 21 C:/Ruby200p247/lib/ruby/2.0.0/find.rb 22 C:/Ruby200p247/lib/ruby/2.0.0/i386-mingw32/enc/trans/single_byte.so The attached file SvnPropertyStripper.rb is started with > ruby SvnPropertyStripper.rb -- http://bugs.ruby-lang.org/