zsh-workers
 help / color / mirror / code / Atom feed
From: Ray Jones <rjones@ptc.com>
To: zsh-workers@math.gatech.edu
Subject: more problems w/ irix
Date: Wed, 13 Nov 1996 10:23:08 -0700	[thread overview]
Message-ID: <9611131723.AA14148@dbank> (raw)

i applied pws's patch, and it fixed the fdtable problems for the cases
that i was seeing a crash before.  

to test it further and see how it responds when given more files than
OPEN_MAX, i tried the "cat < * > /dev/null" in a directory w/ about
4000 files (OPEN_MAX is 2500).  now i'm getting a crash in halloc(),
or (if i turn enable zsh_mem) malloc().  the call stack for the second
case is:

   0 malloc(size = 8188) ["zsh-3.0.1/Src/mem.c":613, 0x45fd04]
   1 zalloc(size = 8188) ["zsh-3.0.1/Src/mem.c":315, 0x45f500]
   2 halloc(size = 12) ["zsh-3.0.1/Src/mem.c":259, 0x45f178]
   3 hcalloc(size = 12) ["zsh-3.0.1/Src/mem.c":289, 0x45f3f4]
   4 insertlinknode(list = 0x1007d924, node = 0x1007d924, dat = 0x1001f028) 
	["zsh-3.0.1/Src/linklist.c":57, 0x458ec8]
   5 xpandredir(fn = 0x10054eec, tab = 0x1001de18) 
	["zsh-3.0.1/Src/glob.c":870, 0x438278]
[...]

this is 3.0.1 out of the box, with the aforementioned patch, on irix
5.3.  it might be the case that there's already been a patch that
fixes this.  if so, i apologize.

thanks,
ray jones


             reply	other threads:[~1996-11-13 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-13 17:23 Ray Jones [this message]
1996-11-13 18:38 ` Bart Schaefer
1996-11-13 18:43   ` rjones
1996-11-14 10:01 ` Peter Stephenson
1996-11-14 15:08   ` Zefram
1996-11-14 15:23     ` Richard Coleman
1996-11-14 15:38       ` Zefram
1996-11-14 16:05         ` Richard Coleman
1996-11-15 11:09     ` Peter Stephenson

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=9611131723.AA14148@dbank \
    --to=rjones@ptc.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).