ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:109332] [Ruby master Bug#18941] Endless loop with a memory leak in FileUtils::mkpath
@ 2022-07-27  5:49 inversion (Yura Babak)
  2022-07-27  6:11 ` [ruby-core:109333] " mame (Yusuke Endoh)
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: inversion (Yura Babak) @ 2022-07-27  5:49 UTC (permalink / raw)
  To: ruby-core

Issue #18941 has been reported by inversion (Yura Babak).

----------------------------------------
Bug #18941: Endless loop with a memory leak in FileUtils::mkpath
https://bugs.ruby-lang.org/issues/18941

* Author: inversion (Yura Babak)
* Status: Open
* Priority: Normal
* ruby -v: 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
* Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
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:
``` ruby
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)
```




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-25  7:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27  5:49 [ruby-core:109332] [Ruby master Bug#18941] Endless loop with a memory leak in FileUtils::mkpath inversion (Yura Babak)
2022-07-27  6:11 ` [ruby-core:109333] " mame (Yusuke Endoh)
2022-07-27  6:11 ` [ruby-core:109334] " mame (Yusuke Endoh)
2022-08-19 11:23 ` [ruby-core:109572] " deivid
2022-08-23  3:00 ` [ruby-core:109635] " hsbt (Hiroshi SHIBATA)
2022-09-25  7:01 ` [ruby-core:110064] " nagachika (Tomoyuki Chikanaga)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).