-
-
Notifications
You must be signed in to change notification settings - Fork 330
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
BUG: segfault when getting memory info on M1 #816
Comments
as it was causing a segfault on `extsort` on macOS running on Apple Silicon see GuillaumeGomez/sysinfo#816
Thanks for the report! Since I don't have a mac M1 myself, I'll need someone else with one to either try to fix it or provide a lot more information. Luckily, there weren't many PRs:
Can you provide information from a memory tool so we can see which part of the code is causing this new bug? |
Hi @GuillaumeGomez , would love to provide the information you need. I know you said you don't have access to a mac M1, but do you have a specific memory tool in mind? Alternatively, is there a way I can build my project to get the information you need? FYI, I use sysinfo to check for available memory with the qsv extsort command here, and to do a hardware survey here. |
I don't know which tools exist on mac. The goal is to get the stacktrace and possibly which buffer was wrongly accessed so by default I'd say |
Hmmm... it's not segfaulting anymore @GuillaumeGomez . I added tests in my CI to exercise sysinfo and its now working as expected. |
Oooppsss.... I take that back. |
I just
|
Just wanted to confirm that this is still a problem with sysinfo v 0.26.0... |
Yes, no changes on my end to fix this. @lqd nicely proposed to take a look whenever he has time for it. |
This code segfaults on sysinfo 0.25.3. It worked without issues previously on earlier versions of sysinfo:
The text was updated successfully, but these errors were encountered: