zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: core dump by completion.
Date: 05 Feb 2000 00:45:58 +0900	[thread overview]
Message-ID: <rsqr9etx96x.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Fri, 4 Feb 2000 16:07:13 +0100 (MET)"

In article <200002041507.QAA29235@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> I can't reproduce it and I can't find an error in the
> allocation/freeing scheme for oargs[]. So I guess, someone has
> overwritten parts of that array. Do you still have the core dump? If
> so, could you tell me the values of the surrounding fields (in
> ca_parse_line(): p[-2], p[0], etc.)? Maybe that gives a hint where it
> is overwritten.

ok.

#0  0x60e44 in freelinklist (list=0x31, freefunc=0x9e298 <freestr>) at linklist.c:189
189         for (node = list->first; node; node = next) {
(gdb) up
#1  0xfef856b0 in ca_parse_line (d=0x160dd0) at computil.c:1038
1038                    freelinklist(p[-1], freestr);
(gdb) print p[-10]
$1 = 0x0
(gdb) print p[-9]
$2 = 0x0
(gdb) print p[-8]
$3 = 0x0
(gdb) print p[-7]
$4 = 0x0
(gdb) print p[-6]
$5 = 0x0
(gdb) print p[-5]
$6 = 0x0
(gdb) print p[-4]
$7 = 0x0
(gdb) print p[-3]
$8 = 0x0
(gdb) print p[-2]
$9 = 0x0
(gdb) print p[-1]
$10 = 0x31
(gdb) print p[0]
$11 = 0x7363616e
(gdb) print p[1]
$12 = 0x0
(gdb) print p[2]
$13 = 0x0
(gdb) print p[3]
$14 = 0x4
(gdb) print p[4]
$15 = 0x0
(gdb) print p[5]
$16 = 0x0
(gdb) print p[6]
$17 = 0x0
(gdb) print p[7]
$18 = 0xffffffff
(gdb) print p[8]
$19 = 0x0
(gdb) print p[9]
$20 = 0x13fb98
(gdb) print p[10]
$21 = 0x0
(gdb) print ca_laststate
$22 = {d = 0x0, def = 0x0, ddef = 0x0, curopt = 0x0, opt = 0, arg = 0, argbeg = 0, optbeg = 0, nargbeg = 0, restbeg = 0, inopt = 0, inrest = 0, inarg = 0, 
  nth = 0, doff = 1365864, singles = 1231384, args = 0x135928, oargs = 0x15f870}
(gdb) print p
$23 = (LinkList *) 0x13324c
(gdb) print i
$24 = 44
-- 
Tanaka Akira


  reply	other threads:[~2000-02-04 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-04 15:07 Sven Wischnowsky
2000-02-04 15:45 ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-08 11:32 Sven Wischnowsky
2000-02-04 13:52 Tanaka Akira

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=rsqr9etx96x.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).