zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: Re: Glob problem with memory
Date: Sat, 01 Jan 2000 17:16:39 +0000	[thread overview]
Message-ID: <E124S7C-0002dj-00.2000-01-01-17-14-54@mail3.svr.pol.co.uk> (raw)
In-Reply-To: "Felix Rosencrantz"'s message of "Wed, 29 Dec 1999 23:51:46 PST." <19991230075146.20165.qmail@web1303.mail.yahoo.com>

Felix Rosencrantz wrote:
> When attempting to do an "echo *(/)" or use other glob qualifiers,
> I've been getting a bus error with this stack trace on Solaris 5.6.

P.S. to my last message:  actually, if Linux is anything to go by, mmap()
should return things in multiples of the page size, in which case there
would be no alignment problems.  But it still seems something of this kind
is the most likely solution, so

1) you can probably see if it is by locating the (single) mmap() call in
mem.c, and adding underneath
  fprintf(stderr, "%p\n", h);
  fflush(stderr);
and looking at the pointers output;

2) I suppose it could be failing to use mmap64() for some reason --- at
least, this is the correct call for Linux with large file support, I don't
know if that's true for Solaris, but it's a good bet.  You could check with
nm whether zsh is linked with that.

In any case, I haven't seen any problems under Linux.
-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


      parent reply	other threads:[~2000-01-01 20:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-30  7:51 Felix Rosencrantz
2000-01-01 16:55 ` Peter Stephenson
2000-01-03 10:11   ` jarausch
2000-01-03 11:54     ` jarausch
2000-01-03 12:01     ` 64_bit logical is broken (was Re: Glob problem with memory) jarausch
2000-01-04 15:55       ` PATCH: struct heap 64-bit Clint Adams
2000-01-04 16:06         ` jarausch
2000-01-04 16:41         ` Tanaka Akira
2000-01-04 17:25           ` Clint Adams
2000-01-04 17:30             ` Tanaka Akira
2000-01-01 17:16 ` Peter Stephenson [this message]

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=E124S7C-0002dj-00.2000-01-01-17-14-54@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).