-
Notifications
You must be signed in to change notification settings - Fork 39
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
memory leak in Fedora 30 #78
Comments
The memory leak is specifically from calling Here is the libsmbios debugging output:
|
Is this still an issue? There were a few recent PRs that may be relevant to this issue, though the issue was not mentioned. As this is the roadblock for a new release, I would be interested in helping to resolve this. |
I haven't checked again lately, but given this is specifically in the error path I don't think the recent PRs will have solved it. Help is certainly welcome if you have the time and ability. To summarize the issue see this commit in fwupd that works around it: fwupd/fwupd@66dd3a0#diff-a60e5446a876ad45a9fd10a068b50816 Basically running any simple C application that calls |
And that code and approach has been around since the beginning of libsmbios (eefc88b). I'd suspect sorting this out will require a pretty big overhaul. |
Thanks @superm1, much appreciated! Do you reckon you (or someone in your team at Dell*) get this overhaul done in the near future or would it be better to release a new point version of the lib to at least get the new battery feature out there and into the next round of disto releases? *I reckon such kind of a rewrite would require someone with intimate knowledge of the lib (and it’s history) and thus would be difficult for a casual contributor to carry out. |
I think given the situation we'll tag a release now with this problem in it still, and it will have to be solved in the future. I'll try to find someone with some cycles to work on this issue for the future. The people who originally worked on libsmbios are now working on other things or other companies, so it is likely to be someone new will need to do it. |
fwupd CI is reporting this issue:
CI doesn't run on Dell systems, but it seems that there is a memory leak somewhere in a failure path.
The text was updated successfully, but these errors were encountered: