Date: 14 Jun 1998 11:51:47 -0400 From: Cory Kempf <ckempf@enigami.com> To: freebsd-multimedia@FreeBSD.ORG Subject: Fax, pnmtotiff, "out of memory allocating as array" Message-ID: <x7sol8rnfw.fsf@singularity.enigami.com> In-Reply-To: Amancio Hasty's message of "Sun, 14 Jun 1998 02:50:05 -0700"
next in thread | raw e-mail | index | archive | help
Help? I am trying to set up mgetty to receive a fax, convert it to tiff, and e-mail it out. Mgetty works fine, and I have written a script to handle creating the mime/e-mail stuffs. The core of it is, for each page of fax: g32pbm file.fax > file.pbm pnmtotiff file.pbm > file.tif Working as root, I tested it, works fine. I then attempted to receive a fax, and got the error message "pnmtotiff: out of memory allocating an array" I try doing it manually, as root, on the same file, with the same script: no error. I su to the fax account, and get the error. I make the script suid root, it still errors when run. I then tried doing a "limits -d 100m -s 30m -m 100m" in the shell as the fax user, and was able to manually do the commands. So I stuck that line in the shell script. no joy. So, anyone know what I need to do to fix this? Thanks, +C -- Thinking of purchasing RAM from the Chip Merchant? Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html> Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com <http://www.enigami.com/~ckempf/> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x7sol8rnfw.fsf>