Skip to content

Interrupting precompilation doesn't always kill the pidfile refresh loop #51901

Open

Description

I interrupted Pkg.precompile and tried again and it hung in this state.

Screenshot 2023-10-27 at 11 13 13 AM

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions