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 <[email protected]> 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

Reply via email to