Bug 1033805 - Memory leak when saving file
Summary: Memory leak when saving file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnucash
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-23 01:14 UTC by Kat
Modified: 2014-03-17 03:34 UTC (History)
3 users (show)

Fixed In Version: gnucash-2.6.0-2.fc20
Clone Of:
Environment:
Last Closed: 2014-01-21 05:54:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
memory leak fix from upstream (2.52 KB, patch)
2013-11-23 01:18 UTC, Kat
no flags Details | Diff
memory leak fix from upstream (2.66 KB, patch)
2013-11-23 16:46 UTC, Kat
no flags Details | Diff
memory leak fix from upstream (2.66 KB, patch)
2013-11-28 19:03 UTC, Kat
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 681907 0 None None None Never

Description Kat 2013-11-23 01:14:38 UTC
GNUcash leaked memory when saving a file, the bug was fixed in http://svn.gnucash.org/trac/changeset/22070, in the 2.5 branch, but has not yet been back-ported to 2.4

I have recently been using GNUcash heavily and this leak makes it unusable because it uses all the available memory and is then killed by the OOM killer.


Version-Release number of selected component (if applicable): 2.4.13-5.fc20

Comment 1 Kat 2013-11-23 01:18:16 UTC
Created attachment 828048 [details]
memory leak fix from upstream

I haven't tested the patch as I don't have enough space to install the development packages, but it should work.

Comment 2 Kat 2013-11-23 16:46:12 UTC
Created attachment 828117 [details]
memory leak fix from upstream

Sorry, somehow ended up with DOS line breaks in the previous patch!

Comment 3 Kat 2013-11-28 19:03:18 UTC
Created attachment 830344 [details]
memory leak fix from upstream

Made a mistake in the previous patch, this one actually built on koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=6237837

Comment 4 Bill Nottingham 2013-12-02 18:04:46 UTC
They're discussing upstream rolling up a 2.4.14 release that includes this and a couple of other fixes. If that comes out shortly, I'll fix this with that - if they decide not to do so, I can push an update with just this fix.

Comment 5 Fedora Update System 2014-01-18 05:41:54 UTC
gnucash-2.6.0-2.fc20, gnucash-docs-2.6.0-1.fc20, kmymoney-4.6.4-3.fc20, aqbanking-5.3.2-0.1.beta.fc20, gwenhywfar-4.9.0-0.2.beta.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnucash-2.6.0-2.fc20,gnucash-docs-2.6.0-1.fc20,kmymoney-4.6.4-3.fc20,aqbanking-5.3.2-0.1.beta.fc20,gwenhywfar-4.9.0-0.2.beta.fc20

Comment 6 Fedora Update System 2014-01-19 04:08:37 UTC
Package gnucash-2.6.0-2.fc20, gnucash-docs-2.6.0-1.fc20, kmymoney-4.6.4-3.fc20, aqbanking-5.3.2-0.1.beta.fc20, gwenhywfar-4.9.0-0.2.beta.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 gnucash-2.6.0-2.fc20 gnucash-docs-2.6.0-1.fc20 kmymoney-4.6.4-3.fc20 aqbanking-5.3.2-0.1.beta.fc20 gwenhywfar-4.9.0-0.2.beta.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1136/gnucash-2.6.0-2.fc20,gnucash-docs-2.6.0-1.fc20,kmymoney-4.6.4-3.fc20,aqbanking-5.3.2-0.1.beta.fc20,gwenhywfar-4.9.0-0.2.beta.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-01-21 05:54:29 UTC
gnucash-2.6.0-2.fc20, gnucash-docs-2.6.0-1.fc20, kmymoney-4.6.4-3.fc20, aqbanking-5.3.2-0.1.beta.fc20, gwenhywfar-4.9.0-0.2.beta.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.