zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
	zsh-workers@sunsite.auc.dk
Subject: Re: odd completion behavior
Date: Sat, 18 Sep 1999 21:43:41 +0000	[thread overview]
Message-ID: <990918214341.ZM6544@candle.brasslantern.com> (raw)
In-Reply-To: <199909171101.NAA02384@beta.informatik.hu-berlin.de>

On Sep 17,  1:01pm, Sven Wischnowsky wrote:
} Subject: Re: odd completion behavior
}
} (gdb) where
} #7  0x8063d4b in runshfunc (list=0x816ae30, wrap=0x0, 
}     name=0x81559a8 "_main_complete") at exec.c:3032
} #8  0x40198481 in comp_setunset () from /usr/lib/zsh/3.1.6-debian/compctl.so
} #9  0x8063cc8 in runshfunc (list=0x816ae30, wrap=0x4019a784, 
}     name=0x81559a8 "_main_complete") at exec.c:3019
} 
} We can't really trust this because it shows (inter alia) the same
} problem as the one from 7673: #8->#7 is impossible.
} 
} The weird strings made me think that this is a memory allocation
} problem with `compstate'.

If I had to guess, I'd say that the stack is getting trashed because
the VARARR() at exec.c:3019 is not allocating the right number of bytes.

That wouldn't show up in any of the zsh memory testing stuff because it
is using alloca() or the equivalent to create space on the stack, and
it would explain how the bogus frame #8 got stuck in there.

Could the global underscorelen be messed up at that point?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1999-09-18 21:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-17 11:01 Sven Wischnowsky
1999-09-18 21:43 ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-20 11:49 Sven Wischnowsky
1999-09-20 21:12 ` Clint Adams
1999-09-15  8:27 Sven Wischnowsky
1999-09-15 14:08 ` Clint Adams
1999-09-14 18:38 Clint Adams

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=990918214341.ZM6544@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=wischnow@informatik.hu-berlin.de \
    --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).