-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SIGFPE on system with zero in /cgroup/cpu/cpu.cfs_period_us #2173
Comments
bradking
pushed a commit
to bradking/ninja
that referenced
this issue
Oct 6, 2022
This will fix the issue (ninja-build#2173).
PolynomialDivision
pushed a commit
to PolynomialDivision/ninja
that referenced
this issue
Nov 3, 2022
This will fix the issue (ninja-build#2173).
|
johanneslerch
pushed a commit
to johanneslerch/ninja
that referenced
this issue
Jun 2, 2023
This will fix the issue (ninja-build#2173). (cherry picked from commit d502d19)
johanneslerch
pushed a commit
to johanneslerch/ninja
that referenced
this issue
Jun 2, 2023
This will fix the issue (ninja-build#2173). (cherry picked from commit d502d19)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the code, to calculate the cpu limit, if the value of
/cgroup/cpu/cpu.cfs_period_us
is 0, the program will generate the signal SIGFPE. Should we protect this by checking the value ofperiod.first
?code:
ninja/src/util.cc
Line 650 in d4017a2
The error information:
The text was updated successfully, but these errors were encountered: