Bug#958291: foma: memory leak on repeated define

Kevin Ryde user42_kevin at yahoo.com.au
Mon Apr 20 08:40:47 BST 2020


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



More information about the debian-science-maintainers mailing list