zsh-workers
 help / color / mirror / code / Atom feed
From: Carlos Carvalho <carlos@fisica.ufpr.br>
To: zsh-workers@sunsite.dk
Subject: 4.0.6 bug: out of memory with ulimit
Date: Sat, 28 Dec 2002 02:37:32 -0200	[thread overview]
Message-ID: <15885.10892.679601.764518@fisica.ufpr.br> (raw)

Hi people,

Season's greetings to you all.

Time for a report after 9 years away from zsh development...
It's nice to see that many people of that time are still around :-)

I've stumbled on what I consider a bug in 4.0.6: if I use this command
in /etc/zshenv

  ulimit -HS -d 1048576 -v 1048576

I get "/etc/zsh/zshrc:-1: fatal error: out of memory" when I start the
executable. This doesn't happen with 4.0.4. I tried 4.0.6 with the
original distribution and with Debian's patches. The Debian binary,
which uses dynamic loading, also chokes. The problem goes away if I
remove the -v 1048576 portion of the line.

This is the config I used:

./configure --prefix=/usr --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info --enable-maildir-support --enable-max-jobtable-size=256 --enable-function-subdirs --enable-site-fndir=/usr/local/share/zsh/site-functions --with-curses-terminfo --enable-etcdir=/etc/zsh --disable-dynamic

Independently of my .zshenv and other init files, I find it strange
that the program doesn't run because the memory limitation is not at
all stringent.

If there's something else useful to inform please tell me.


             reply	other threads:[~2002-12-28  4:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-28  4:37 Carlos Carvalho [this message]
2002-12-31 16:04 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15885.10892.679601.764518@fisica.ufpr.br \
    --to=carlos@fisica.ufpr.br \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).