-
Notifications
You must be signed in to change notification settings - Fork 132
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
[SBRP] Segfault during official build, and when building with low memory #1687
Comments
The dev branch starts to fail somewhere between 1.5 to 2 GB. (Without binlogs enabled: default in that branch. Not that I know if this affects it.) |
Perhaps adding something to log memory usage to see how much memory the build is consuming at different stages to help identify memory requirements for the build. |
[Triage] Closing - We haven't heard of any reports over the past several years of this being an issue. |
When I build soruce-build-reference-packages
cd5a8c6f
with low memory, it fails with this end of log:There's a segfault in an Exec task. From the binlog (also shows up on console):
This same error has been showing up as flakiness in the SBRP official build.
When I run the build locally, I see an error like this in `dmesg | grep -C10 'out of memory':
The inner binlog appears 100% successful, the error appears to be "outside" the inner MSBuild but still "inside" the Exec.
(I don't know if this is the exact OOM kill that caused the error--I ran some other simulations to see what it does and don't know how to differentiate them. The build takes long enough that I didn't want to just rerun it.)
A few things we can try:
Exec
s with inner builds might be causing some particularly bad behavior in the binlog logger. I want to try this out with the 5.0 changes (no moreExec
s) to see if it still happens there, and play with the limit.I haven't tried to actually get a core dump, not sure if it'll actually have anything valuable in this situation. Maybe it would let MSBuild improve its error logging or handle this without a segfault in a future version.
I used
--memory 512MB
on mydocker run
command to repro the SBRP error.The text was updated successfully, but these errors were encountered: