desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #143026
[Bug 305468] Re: [Dappar (and Hardy)]Memory leak in enchant - list_dicts
Thank you for taking the time to report this bug and helping to make
Ubuntu better. We are sorry that we do not always have the capacity to
look at all reported bugs in a timely manner. There have been many
changes in Ubuntu since that time you reported the bug and your problem
may have been fixed with some of the updates. It would help us a lot if
you could test it on a currently supported Ubuntu version. When you test
it and it is still an issue, kindly upload the updated logs by running
apport-collect <bug #> and any other logs that are relevant for this
particular issue.
** Changed in: enchant (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to enchant in Ubuntu.
https://bugs.launchpad.net/bugs/305468
Title:
[Dappar (and Hardy)]Memory leak in enchant - list_dicts
Status in enchant package in Ubuntu:
Incomplete
Bug description:
Binary package hint: libenchant-dev
Let's see if I can get this right, first bug report :)
Enchant got a memory leak when listing available dictionaries. (e.g.
enchant::broker->list_dicts)
Valgrind output
==31679== 352 bytes in 11 blocks are definitely lost in loss record 49 of 78
==31679== at 0x4C23809: operator new(unsigned long) (vg_replace_malloc.c:230)
==31679== by 0x9E618ED: acommon::DictInfoList::elements() const (in /usr/lib/libaspell.so.15.1.4)
==31679== by 0x9C1E15F: (within /usr/lib/enchant/libenchant_aspell.so)
==31679== by 0x56F316F: enchant_broker_list_dicts (in /usr/lib/libenchant.so.1.3.0)
[...]
As far as I can tell the leak seams to appear in aspell_provider.c
(http://www.abisource.com/viewvc/enchant/trunk/src/aspell/aspell_provider.c?view=markup)
in function aspell_provider_list_dicts
"AspellDictInfoEnumeration * dels" is not deleted properly (wrong
place or only deleted once for the two instances)
Regards
Jonas
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/enchant/+bug/305468/+subscriptions