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
fails with SIGSEGV #36
Comments
Hi, the answer might come a year to late :-)
The fgets tries to read max That indeed looks wrong. I was wondering how this could ever work but looking at the first two lines of |
I just installed slurm on arch linux from the AUR (https://aur.archlinux.org/packages/slurm/) and I experience a similar behaviour; it segfaults after a few seconds of runtime.
|
After a quick build on alpine linux,
slurm
seems to consistently segfault during runtime.Stepping through with
gdb
the error happens here withBUFSIZ - 1
being greater thanBUFSIZE
.Applying this patch seems to fix the issue.
The text was updated successfully, but these errors were encountered: