Actions
Bug #18941
closedEndless loop with a memory leak in FileUtils::mkpath
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
Description
On Windows 10 with Ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
,
an attempt to create a path on the offline external drive stuck with a memory leak:
require 'fileutils'
FileUtils.mkpath 'W:/new_dir'
Same code with Ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
throws an error as expected:
fileutils.rb:253:in `mkdir': No such file or directory @ dir_s_mkdir - W:/new_dir (Errno::ENOENT)
Actions
Like0
Like0Like0Like0Like0Like0Like0