Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IanButterworth opened this issue Oct 27, 2023 · 2 comments
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@IanButterworth
Copy link
Member

IanButterworth commented Oct 27, 2023

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:

@IanButterworth IanButterworth added the bug Indicates an unexpected problem or unintended behavior label Oct 27, 2023
@vtjnash
Copy link
Member

vtjnash commented Oct 27, 2023

Duplicate of JuliaLang/Pkg.jl#2648?

@IanButterworth
Copy link
Member Author

I don't think so because there's no fatal: error thrown and no exception handler available. in the parent process (nor reported from the the Rmath_jll worker). The main Julia process remains alive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants