zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: core dump by completion.
Date: 04 Feb 2000 22:52:53 +0900	[thread overview]
Message-ID: <rsqya91xefe.fsf@crane.jaist.ac.jp> (raw)

I got core by testing.  Although I coudn't find a way to reproduce
this, it is caused by following command line.

is27e1u11% find -ctime s -exec find -<TAB>
zsh: bus error (core dumped)  Src/zsh -f

Z(2):akr@is27e1u11% gdb Src/zsh core
...
189         for (node = list->first; node; node = next) {
(gdb) where
#0  0x60e44 in freelinklist (list=0x31, freefunc=0x9e298 <freestr>) at linklist.c:189
#1  0xfef856b0 in ca_parse_line (d=0x160dd0) at computil.c:1038
#2  0xfef87368 in bin_comparguments (nam=0xf3d08 "comparguments", args=0xf4970, ops=0xffbeafd0 "", func=0) at computil.c:1363
#3  0x1c1c4 in execbuiltin (args=0xf3d00, bn=0xfef9c140) at builtin.c:363
#4  0x361fc in execcmd (state=0xffbeb860, input=0, output=0, how=18, last1=2) at exec.c:2157
#5  0x3194c in execpline2 (state=0xffbeb860, pcode=10499, how=18, input=0, output=0, last1=0) at exec.c:1119
#6  0x3087c in execpline (state=0xffbeb860, slcode=3074, how=18, last1=0) at exec.c:915
#7  0x2ffd8 in execlist (state=0xffbeb860, dont_change_job=1, exiting=0) at exec.c:766
#8  0x62ce0 in execif (state=0xffbeb860, do_exec=0) at loop.c:454
#9  0x35e68 in execcmd (state=0xffbeb860, input=0, output=0, how=18, last1=2) at exec.c:2109
#10 0x3194c in execpline2 (state=0xffbeb860, pcode=10499, how=18, input=0, output=0, last1=0) at exec.c:1119
#11 0x3087c in execpline (state=0xffbeb860, slcode=455682, how=18, last1=0) at exec.c:915
#12 0x2ffd8 in execlist (state=0xffbeb860, dont_change_job=1, exiting=0) at exec.c:766
#13 0x2fda0 in execode (p=0x12cc48, dont_change_job=1, exiting=0) at exec.c:712
#14 0x3a210 in runshfunc (prog=0x12cc48, wrap=0x0, name=0xf3830 "_arguments") at exec.c:3238
#15 0xff00a51c in comp_wrapper (prog=0x12cc48, w=0x0, name=0xf3830 "_arguments") at complete.c:1237
#16 0x3a158 in runshfunc (prog=0x12cc48, wrap=0xff0368c8, name=0xf3830 "_arguments") at exec.c:3226
#17 0x39e38 in doshfunc (name=0xf0170 "_arguments", prog=0x12cc48, doshargs=0xf2c40, flags=8192, noreturnval=0) at exec.c:3173
#18 0x39628 in execshfunc (shf=0xf0128, args=0xf2c40) at exec.c:3020
#19 0x360fc in execcmd (state=0xffbebff0, input=0, output=0, how=18, last1=2) at exec.c:2146
#20 0x3194c in execpline2 (state=0xffbebff0, pcode=259, how=18, input=0, output=0, last1=0) at exec.c:1119
#21 0x3087c in execpline (state=0xffbebff0, slcode=30210, how=18, last1=0) at exec.c:915
#22 0x2ffd8 in execlist (state=0xffbebff0, dont_change_job=1, exiting=0) at exec.c:766
#23 0x2fda0 in execode (p=0x144b18, dont_change_job=1, exiting=0) at exec.c:712
#24 0x3a210 in runshfunc (prog=0x144b18, wrap=0x0, name=0xf2c38 "_find") at exec.c:3238
#25 0xff00a51c in comp_wrapper (prog=0x144b18, w=0x0, name=0xf2c38 "_find") at complete.c:1237
#26 0x3a158 in runshfunc (prog=0x144b18, wrap=0xff0368c8, name=0xf2c38 "_find") at exec.c:3226
#27 0x39e38 in doshfunc (name=0xf5300 "_find", prog=0x144b18, doshargs=0xf2bf0, flags=8192, noreturnval=0) at exec.c:3173
#28 0x39628 in execshfunc (shf=0x100730, args=0xf2bf0) at exec.c:3020
#29 0x360fc in execcmd (state=0xffbecb70, input=0, output=0, how=2, last1=2) at exec.c:2146
#30 0x3194c in execpline2 (state=0xffbecb70, pcode=5059, how=2, input=0, output=0, last1=0) at exec.c:1119
#31 0x3087c in execpline (state=0xffbecb70, slcode=1570, how=2, last1=0) at exec.c:915
#32 0x3000c in execlist (state=0xffbecb70, dont_change_job=1, exiting=0) at exec.c:773
#33 0x62e68 in execif (state=0xffbecb70, do_exec=0) at loop.c:469
#34 0x35e68 in execcmd (state=0xffbecb70, input=0, output=0, how=2, last1=2) at exec.c:2109
#35 0x3194c in execpline2 (state=0xffbecb70, pcode=4931, how=2, input=0, output=0, last1=0) at exec.c:1119
#36 0x3087c in execpline (state=0xffbecb70, slcode=33282, how=2, last1=0) at exec.c:915
#37 0x2ffd8 in execlist (state=0xffbecb70, dont_change_job=1, exiting=0) at exec.c:766
#38 0x2fda0 in execode (p=0x10aec8, dont_change_job=1, exiting=0) at exec.c:712
#39 0x3a210 in runshfunc (prog=0x10aec8, wrap=0x0, name=0xf20b8 "_normal") at exec.c:3238
#40 0xff00a51c in comp_wrapper (prog=0x10aec8, w=0x0, name=0xf20b8 "_normal") at complete.c:1237
#41 0x3a158 in runshfunc (prog=0x10aec8, wrap=0xff0368c8, name=0xf20b8 "_normal") at exec.c:3226
#42 0x39e38 in doshfunc (name=0x1034b0 "_normal", prog=0x10aec8, doshargs=0xf2078, flags=8192, noreturnval=0) at exec.c:3173
#43 0x39628 in execshfunc (shf=0x102ba8, args=0xf2078) at exec.c:3020
#44 0x360fc in execcmd (state=0xffbed6f0, input=0, output=0, how=18, last1=2) at exec.c:2146
#45 0x3194c in execpline2 (state=0xffbed6f0, pcode=2819, how=18, input=0, output=0, last1=0) at exec.c:1119
#46 0x3087c in execpline (state=0xffbed6f0, slcode=2050, how=18, last1=0) at exec.c:915
#47 0x2ffd8 in execlist (state=0xffbed6f0, dont_change_job=1, exiting=0) at exec.c:766
#48 0x62e68 in execif (state=0xffbed6f0, do_exec=0) at loop.c:469
#49 0x35e68 in execcmd (state=0xffbed6f0, input=0, output=0, how=2, last1=2) at exec.c:2109
#50 0x3194c in execpline2 (state=0xffbed6f0, pcode=2691, how=2, input=0, output=0, last1=0) at exec.c:1119
#51 0x3087c in execpline (state=0xffbed6f0, slcode=48642, how=2, last1=0) at exec.c:915
#52 0x2ffd8 in execlist (state=0xffbed6f0, dont_change_job=1, exiting=0) at exec.c:766
#53 0x2fda0 in execode (p=0x10ae00, dont_change_job=1, exiting=0) at exec.c:712
#54 0x3a210 in runshfunc (prog=0x10ae00, wrap=0x0, name=0xf1ac0 "_complete") at exec.c:3238
#55 0xff00a51c in comp_wrapper (prog=0x10ae00, w=0x0, name=0xf1ac0 "_complete") at complete.c:1237
#56 0x3a158 in runshfunc (prog=0x10ae00, wrap=0xff0368c8, name=0xf1ac0 "_complete") at exec.c:3226
#57 0x39e38 in doshfunc (name=0xf62d0 "_complete", prog=0x10ae00, doshargs=0xf1a68, flags=8192, noreturnval=0) at exec.c:3173
#58 0x39628 in execshfunc (shf=0xf6240, args=0xf1a68) at exec.c:3020
#59 0x360fc in execcmd (state=0xffbee6b8, input=0, output=0, how=18, last1=2) at exec.c:2146
#60 0x3194c in execpline2 (state=0xffbee6b8, pcode=4355, how=18, input=0, output=0, last1=0) at exec.c:1119
#61 0x3087c in execpline (state=0xffbee6b8, slcode=1538, how=18, last1=0) at exec.c:915
#62 0x2ffd8 in execlist (state=0xffbee6b8, dont_change_job=1, exiting=0) at exec.c:766
#63 0x62ce0 in execif (state=0xffbee6b8, do_exec=0) at loop.c:454
#64 0x35e68 in execcmd (state=0xffbee6b8, input=0, output=0, how=18, last1=2) at exec.c:2109
#65 0x3194c in execpline2 (state=0xffbee6b8, pcode=4355, how=18, input=0, output=0, last1=0) at exec.c:1119
#66 0x3087c in execpline (state=0xffbee6b8, slcode=10242, how=18, last1=0) at exec.c:915
#67 0x2ffd8 in execlist (state=0xffbee6b8, dont_change_job=1, exiting=0) at exec.c:766
#68 0x615dc in execfor (state=0xffbee6b8, do_exec=0) at loop.c:134
#69 0x35e68 in execcmd (state=0xffbee6b8, input=0, output=0, how=2, last1=2) at exec.c:2109
#70 0x3194c in execpline2 (state=0xffbee6b8, pcode=4291, how=2, input=0, output=0, last1=0) at exec.c:1119
#71 0x3087c in execpline (state=0xffbee6b8, slcode=12802, how=2, last1=0) at exec.c:915
#72 0x2ffd8 in execlist (state=0xffbee6b8, dont_change_job=1, exiting=0) at exec.c:766
#73 0x2fda0 in execode (p=0xd8240, dont_change_job=1, exiting=0) at exec.c:712
#74 0x3a210 in runshfunc (prog=0xd8240, wrap=0x0, name=0xf0b00 "_main_complete") at exec.c:3238
#75 0xff00a51c in comp_wrapper (prog=0xd8240, w=0x0, name=0xf0b00 "_main_complete") at complete.c:1237
#76 0x3a158 in runshfunc (prog=0xd8240, wrap=0xff0368c8, name=0xf0b00 "_main_complete") at exec.c:3226
#77 0x39e38 in doshfunc (name=0xeff18 "_main_complete", prog=0xd8240, doshargs=0x0, flags=0, noreturnval=0) at exec.c:3173
#78 0xff00d048 in callcompfunc (s=0xdc5d8 "-", fn=0xeff18 "_main_complete") at compcore.c:727
#79 0xff00db1c in makecomplist (s=0xdc5d8 "-", incmd=0, lst=0) at compcore.c:884
#80 0xff00b5b4 in do_completion (dummy=0xff0ae4dc, dat=0xffbeeca8) at compcore.c:313
#81 0x6d488 in runhookdef (h=0xff0ae4dc, d=0xffbeeca8) at module.c:1613
#82 0xff08cdc0 in docompletion (s=0x192218 "-", lst=0, incmd=0) at zle_tricky.c:1680
#83 0xff088a68 in docomplete (lst=0) at zle_tricky.c:741
#84 0xff086624 in expandorcomplete (args=0xff0ae458) at zle_tricky.c:260
#85 0xff0860d8 in completecall (args=0xff0ae458) at zle_tricky.c:165
#86 0xff076fc8 in execzlefunc (func=0xff0ac3b4, args=0xff0ae458) at zle_main.c:645
#87 0xff076aa4 in zleread (lp=0xd5ea0 "%m%# ", rp=0x0, flags=3) at zle_main.c:564
#88 0x53b88 in inputline () at input.c:265
#89 0x53954 in ingetc () at input.c:210
#90 0x491d0 in ihgetc () at hist.c:242
#91 0x5bb44 in gettok () at lex.c:560
#92 0x5aea0 in yylex () at lex.c:313
#93 0x7a1d0 in parse_event () at parse.c:292
#94 0x4fdc4 in loop (toplevel=1, justonce=0) at init.c:115
#95 0x1b2a8 in main (argc=2, argv=0xffbef46c) at ./main.c:89
(gdb) 
-- 
Tanaka Akira


             reply	other threads:[~2000-02-04 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-04 13:52 Tanaka Akira [this message]
2000-02-04 15:07 Sven Wischnowsky
2000-02-04 15:45 ` Tanaka Akira
2000-02-08 11:32 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=rsqya91xefe.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).