Open
Description
I interrupted Pkg.precompile and tried again and it hung in this state.
Inspecting the lock file in another terminal shows that its mtime is being updated in the above state
ian@Ians-MBP julia % stat -x /Users/ian/.julia/compiled/v1.11/Rmath_jll/JC1Xk_Hcxxt.ji.pidfile
File: "/Users/ian/.julia/compiled/v1.11/Rmath_jll/JC1Xk_Hcxxt.ji.pidfile"
Size: 16 FileType: Regular File
Mode: (0444/-r--r--r--) Uid: ( 501/ ian) Gid: ( 20/ staff)
Device: 1,15 Inode: 24835470 Links: 1
Access: Fri Oct 27 11:17:09 2023
Modify: Fri Oct 27 11:17:09 2023
Change: Fri Oct 27 11:17:09 2023
Birth: Fri Oct 27 11:11:34 2023
ian@Ians-MBP julia % stat -x /Users/ian/.julia/compiled/v1.11/Rmath_jll/JC1Xk_Hcxxt.ji.pidfile
File: "/Users/ian/.julia/compiled/v1.11/Rmath_jll/JC1Xk_Hcxxt.ji.pidfile"
Size: 16 FileType: Regular File
Mode: (0444/-r--r--r--) Uid: ( 501/ ian) Gid: ( 20/ staff)
Device: 1,15 Inode: 24835470 Links: 1
Access: Fri Oct 27 11:17:14 2023
Modify: Fri Oct 27 11:17:14 2023
Change: Fri Oct 27 11:17:14 2023
Birth: Fri Oct 27 11:11:34 2023
It seems like the pidfile refresh loop isn't always interrupted.
Notes:
- there is some print racing evident above, indicating the final report print in Pkg.precompile isn't waiting for the pretty print loop to finish. But I think that's a separate bug.
- It's actually the same process, not
another process
. Fix: Precompile: Highlight when the lock is held by the same process Pkg.jl#3679
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment