Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
dirstack=(/) dumps core
- X-seq: zsh-workers 9933
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: dirstack=(/) dumps core
- Date: 01 Mar 2000 00:10:02 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I heard that assignment to dirstack may cause core dump. I can get
core on linux.
Z:akr@thorax% unlimit coredumpsize
Z:akr@thorax% zsh -f
thorax% dirstack=(/)
zsh: segmentation fault (core dumped) zsh -f
Z:akr@thorax%
(gdb) where
#0 0x400de9cc in free () from /lib/libc.so.6
#1 0x400de97d in free () from /lib/libc.so.6
#2 0x80a3abd in freearray (s=0x80d6954) at utils.c:1958
#3 0x401e24f3 in dirssetfn (pm=0x80d7550, x=0x80d6954) at parameter.c:977
#4 0x8089022 in setarrvalue (v=0xbffff948, val=0x80d6950) at params.c:1583
#5 0x80897bd in setaparam (s=0x400146d4 "", val=0x80d6950) at params.c:1782
#6 0x805fcd0 in addvars (state=0xbffffa3c, pc=0x400146b8, export=0) at exec.c:1531
#7 0x805daac in execsimple (state=0xbffffa3c) at exec.c:741
#8 0x805dc2d in execlist (state=0xbffffa3c, dont_change_job=0, exiting=0) at exec.c:792
#9 0x805da3b in execode (p=0x40014690, dont_change_job=0, exiting=0) at exec.c:721
#10 0x807192a in loop (toplevel=1, justonce=0) at init.c:144
#11 0x8051371 in main (argc=2, argv=0xbffffb04) at ./main.c:86
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author