From: Tanaka Akira <akr@m17n.org>
To: zsh-workers@sunsite.auc.dk
Subject: zparseopts causes core dump
Date: 14 May 2000 07:54:40 +0900 [thread overview]
Message-ID: <hvobt2auklr.fsf@serein.m17n.org> (raw)
zparseopts causes core dump as follows.
Z(4):akr@serein% Src/zsh -f
serein% set - -a
serein% zparseopts -a=xxx
zsh: segmentation fault (core dumped) Src/zsh -f
#0 0x400adda1 in strlen () from /lib/libc.so.6
(gdb) where
#0 0x400adda1 in strlen () from /lib/libc.so.6
#1 0x80830f3 in dupstring (s=0x401a4760 "zparseopts") at mem.c:517
#2 0x4021ed22 in bin_zparseopts (nam=0x401a4760 "zparseopts",
args=0xbffff360, ops=0xbffff3b8 "", func=0) at zutil.c:1336
#3 0x80521c8 in execbuiltin (args=0x401a4740, bn=0x40220a7c) at builtin.c:368
#4 0x8062b30 in execcmd (state=0xbffff690, input=0, output=0, how=18, last1=2)
at exec.c:2257
#5 0x805f66b in execpline2 (state=0xbffff690, pcode=195, how=18, input=0,
output=0, last1=0) at exec.c:1183
#6 0x805ebc9 in execpline (state=0xbffff690, slcode=4098, how=18, last1=0)
at exec.c:976
#7 0x805e599 in execlist (state=0xbffff690, dont_change_job=0, exiting=0)
at exec.c:821
#8 0x805e286 in execode (p=0x401a46f0, dont_change_job=0, exiting=0)
at exec.c:727
#9 0x8073915 in loop (toplevel=1, justonce=0) at init.c:150
#10 0x8051752 in main (argc=2, argv=0xbffff784) at ./main.c:86
(gdb)
--
Tanaka Akira
reply other threads:[~2000-05-15 7:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=hvobt2auklr.fsf@serein.m17n.org \
--to=akr@m17n.org \
--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).