* zparseopts causes core dump
@ 2000-05-13 22:54 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-05-13 22:54 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-15 7:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-13 22:54 zparseopts causes core dump Tanaka Akira
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).