From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: core dump with autoloading failure.
Date: Sun, 09 Jan 2000 18:44:37 +0000 [thread overview]
Message-ID: <E127NIX-0005AM-00.2000-01-09-18-42-41@mail3.svr.pol.co.uk> (raw)
In-Reply-To: "Tanaka Akira"'s message of "10 Jan 2000 01:03:26 +0900." <rsqu2knxmep.fsf@crane.jaist.ac.jp>
Tanaka Akira wrote:
> zsh dumps core as follows:
>
> Z:akr@thorax% Src/zsh -f
> thorax% bindkey -e; autoload -U compinit; compinit -D
> thorax% compdef _xxx xxx; autoload -U _xxx
> thorax% xxx
> _xxx: _xxx: function definition file not found
> zsh: segmentation fault (core dumped) Src/zsh -f
My guess is this. Sven, are there are any more like this?
Index: Src/mem.c
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Src/mem.c,v
retrieving revision 1.3
diff -u -r1.3 mem.c
--- Src/mem.c 1999/12/21 15:18:28 1.3
+++ Src/mem.c 2000/01/09 18:11:45
@@ -181,7 +181,11 @@
for (h = heaps; h; h = n) {
n = h->next;
DPUTS(h->sp, "BUG: old_heaps() with pushed heaps");
+#ifdef USE_MMAP
+ munmap((void *) h, sizeof(*h));
+#else
zfree(h, sizeof(*h));
+#endif
}
heaps = old;
fheap = NULL;
--
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
next prev parent reply other threads:[~2000-01-09 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-09 16:03 Tanaka Akira
2000-01-09 18:44 ` Peter Stephenson [this message]
2000-01-10 9:14 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=E127NIX-0005AM-00.2000-01-09-18-42-41@mail3.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--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).