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 compability with Ryzen processors (v2) #94

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Patch for compability with Ryzen processors (v2) #94

merged 1 commit into from
Nov 10, 2021

Conversation

jorgehermo9
Copy link
Contributor

I had the same problem as issue #64 and have been struggling with it. I saw that the PR #91 tried to fix it so I cloned the repo and tried powertop --html, but it still produced a segmentation fault. I moved the check idx2>=cols*rows to the top of the for loop, since it seems that in my case it was entering the true branch of the if at line 561 and producing a segmentation fault there. Moving the check to the top of the for loop fixed that for me. If you want some screenshots, tell me.

Greetings

@gkammela gkammela merged commit f4d08d1 into fenrus75:master Nov 10, 2021
@gkammela
Copy link
Collaborator

Thank you @jorgehermo9 for fixing this!

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.

None yet

2 participants