From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: dirstack=(/) dumps core
Date: 01 Mar 2000 00:10:02 +0900 [thread overview]
Message-ID: <rsqk8jo6o51.fsf@crane.jaist.ac.jp> (raw)
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
next reply other threads:[~2000-02-29 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-29 15:10 Tanaka Akira [this message]
2000-02-29 16:09 Sven Wischnowsky
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=rsqk8jo6o51.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.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).