Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

more problems w/ irix

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.

ray jones

Messages sorted by: Reverse Date, Date, Thread, Author