Skip to content

rm of an in-use DLL on a separate drive from tempdir on Windows will infinitely recurse #59589

@wheeheee

Description

@wheeheee

Say we have deved a folder named TestPackage. In the Julia REPL, after using TestPackage, when one alters a file in the folder, then triggers a precompile in the preexisting REPL with ]precompile, the precompile doesn't end and memory usage of the Julia process balloons until I'm OOM.

MWE: ]generate a package and then dev it. Following the process above, do using TestPackage then change "Hello World" to "Bye World", then trigger a precompile.

julia> versioninfo()
Julia Version 1.12.0-rc2
Commit 72cbf019d0 (2025-09-06 12:00 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, tigerlake)
  GC: Built with stock GC
Threads: 8 default, 1 interactive, 8 GC (on 8 virtual cores)
Environment:
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_DEPOT_PATH = Q:\.julia;
  JULIA_NUM_THREADS = auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions