SOLVED: zsh / cygwin 1.x / status access violation
Johannes Mähner
johanm@camline.com
Wed May 17 03:24:00 GMT 2000
Geoff Wing from the zsh mailing list gave me
the tip to undefine HAVE_MMAP in config.h of zsh.
The question if there is a bug in mmap of cygwin or not
serves as food for our cygwin-gurus ;-)
To : Johannes Mähner <johanm at camline dot com>
Subject : Re: zsh 3.1.6/7 and cygwin 1.x
>From : Geoff Wing <gcw at zsh dot org>
Date : Wed, 17 May 2000 19:45:24 +1000
Organization : PrimeNet Computer Consultancy
References : <392171C0.FEFE03E@camline.com> <slrn8i2uh9.jvj.mason@coral.primenet.com.au> <392258F6.A83D26C7@camline.com>
Johannes Mähner wrote about Re: zsh 3.1.6/7 and cygwin 1.x:
:Geoff Wing wrote:
:> Oh, one thing I've just remembered. I had to stop it from trying to
:> use mmap - I didn't know if it was specific to me or if it was more general.
:> Editing config.h and undefining HAVE_MMAP may fix your problem.
:
:!!!THAT'S IT!!!
:!!!!THANK YOU VERY MUCH!!!!
:If you don't mind, I will forward your email to the cygwin mailing list
That's fine. I didn't investigate whether the mmap problem was specific
to zsh or if mmap is not fully supported under cygwin.
:BTW, how did you figure out that mmap could be the problem?
:(e.g. status access violation => denied memory access =>
:check out everything which is correlated to memory ;-)
Close to that :-) Though I suspect I just ran it from gdb to find out
roughly whether the problem was - and I have the advantage of knowing
the internals of quite a bit of zsh fairly well.
Regards,
--
Geoff Wing : <gcw@pobox.com> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@zsh.org> Phone : (Australia) 0413 431 874
More information about the Cygwin
mailing list