Bug 1046197
Summary: | Leaking credentials, cursors, principals and GDateTime | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bojan Smojver <bojan> | ||||||
Component: | gnome-online-accounts | Assignee: | Debarshi Ray <debarshir> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 20 | CC: | bnocera, debarshir, mike, phil.pishioneri | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | gnome-online-accounts-3.10.3-1.fc20 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-03-21 09:35:24 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Bojan Smojver
2013-12-24 04:07:49 UTC
I'm seeing the same thing. I have no online accounts configured. Authentication against AD/sssd. top: 1342 mcronen+ 20 0 2371952 1.733g 20204 S 0.0 22.2 1:46.81 goa-daemon gnome-online-accounts-3.10.2-1.fc20.x86_64 Created attachment 870108 [details]
valgrind run for one hour
I am attaching a valgrind log of running goa-accounts for one hour. After only one hour goa-daemon was leaking about 12 MB.
The largest leaks are caused by the kerberos code.
Created attachment 874151 [details]
kerberos memory leak fixes
OK this is a trivial fix and I've gone ahead and created a simple diff patch for what's required to stop the leaks. A couple Kerberos calls didn't free their results and a few Glib date calls didn't (reliably) free their results.
Bastien/Mathias, this problem also effects git head. Do you want git patches and upstream bugs or is this simple enough you can push out fixes yourselves?
Michael, can you please attach your patch as 'git format-patch' to the upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=726353 ? That way we can properly attribute it to you. Thanks for the effort! Debarashi, could a F20 update now be spun? gnome-online-accounts-3.10.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gnome-online-accounts-3.10.3-1.fc20 Package gnome-online-accounts-3.10.3-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnome-online-accounts-3.10.3-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4061/gnome-online-accounts-3.10.3-1.fc20 then log in and leave karma (feedback). gnome-online-accounts-3.10.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |