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

Patch for compatibility with Ryzen processors #91

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Patch for compatibility with Ryzen processors #91

merged 1 commit into from
Sep 28, 2021

Conversation

Simewu
Copy link
Contributor

@Simewu Simewu commented Sep 28, 2021

Following the segmentation fault that occurs when using --csv or --html on Ryzen processors (see #64), the error occurs because of a miscalculation of CPU cores in the output.

As a quick patch, I add a simple break to stop when the CPU cores exceed the core threshold (due to the miscalculation), and now Ryzen processors no longer cause a segmentation fault.

@fenrus75 fenrus75 merged commit 2bcc17a into fenrus75:master Sep 28, 2021
@fenrus75
Copy link
Owner

Thank you for your contribution... merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants