Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Potential crash due to pthread_setaffinity_np() and cpuset #695
Comments
|
Maybe ag could just warn or print an error instead of dying. Would that be better for you? |
|
That would be fine, but as I said this is not a priority by any means. |
added a commit
that referenced
this issue
Jun 18, 2015
ggreer
closed this
in
0b89394
Jun 18, 2015
|
Alright. It's fixed in master. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
moreati commentedJun 18, 2015
I run a weird mashup of Ubuntu 15.04 and Linux kernel 4.1.0-040100rc1-generic. As a result if I search with ag the following happens:
This doesn't occur on a vanilla 15.04 installation, as far as I know only I'm affected. I'm only reporting this bug for reference, feel free to close it as WONTFIX
It's fine if I disable affinity
I believe this is due to cpuset being somehow enabled, and having a policy restricting processes to the 0th core:
The relevant documentation is http://man7.org/linux/man-pages/man3/pthread_setaffinity_np.3.html#ERRORS: