Bug#958291: foma: memory leak on repeated define

Tino Didriksen tino at didriksen.cc
Mon Apr 20 08:55:41 BST 2020


Not sure that's even a bug, but please ask/report that upstream:
https://github.com/mhulden/foma

-- Tino Didriksen


On Mon, 20 Apr 2020 at 09:48, Kevin Ryde <user42_kevin at yahoo.com.au> wrote:

> Package: foma
> Version: 1:0.9.18+r243-6+b1
> Severity: normal
>
> Repeated redefines with the "define" command seems to leak memory.
> For example
>
>     yes 'define foo a*;' | foma >/dev/null
>
> runs up to about 200mb memory for me and then segfaults.
>
> I struck this in a long script doing successive defines.  Changing to
> nets on the stack seems ok.  Perhaps the stack is more the intended use.
>
>
> -- System Information:
> Debian Release: bullseye/sid
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
>
> Versions of packages foma depends on:
> ii  libc6         2.29-3
> ii  libfoma0      1:0.9.18+r243-6+b1
> ii  libreadline8  8.0-3
> ii  libtinfo6     6.1+20191019-1
> ii  zlib1g        1:1.2.11.dfsg-1+b1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200420/b95163a3/attachment-0001.html>


More information about the debian-science-maintainers mailing list