zsh-users
 help / color / mirror / code / Atom feed
From: Mike Boilen <mboilen@microsoft.com>
To: "'zsh-users@sunsite.auc.dk'" <zsh-users@sunsite.auc.dk>
Subject: Problems with zsh 3.1.9 and cygwin
Date: Thu, 20 Jul 2000 09:54:08 -0700	[thread overview]
Message-ID: <1D4512C91A0E044FBF24DDB221C94C53826753@red-msg-29.redmond.corp.microsoft.com> (raw)

I am using windows 2000 server with cygwin 1.1.2 (or whatever the newest
release is; I downloaded it yesterday).  The code for zsh 3.1.9 builds fine
without modification.  However, when I run it, I get the error:

      0 [main] zsh 18877 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
    913 [main] zsh 18877 stackdump: Dumping stack trace to zsh.exe.stackdump

and the following stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=6106CFAB
eax=00000000 ebx=00000007 ecx=00000007 edx=FFFFFFFF esi=0A04A868
edi=00000000
ebp=024AF5F4 esp=024AF5E8 program=e:\zsh\zsh-3.1.9\src\zsh.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
024AF5F4  0048F0DF  (00000000, 0A04A868, 00000007, 0048EECD)
024AF804  0048F0DF  (00000000, 0A049EE0, 01BFF269, 917B4290)
024AFC44  0041C838  (024AFCF4, 0A040880, 0A04088B, 00000006)
024AFC64  00431409  (00493E58, 0A049EE0, 0A04009C, 0A043F18)
024AFCB4  0042F7B8  (024AFCF4, 0A049EE0, 00000001, 00000006)
024AFD14  00430275  (0A040884, 0A049EE0, 0A040885, FFFFFFFF)
024AFE24  0042D26E  (0A042E68, FFFFFFFF, 00000003, 0041CFB1)
024AFE64  0041D10E  (0A041528, 0000002F, 024AFEA4, 004011B7)
024AFEA4  004011EF  (00000001, 0A041528, 0A040008, 00000000)
024AFF00  61002385  (7FFDF000, 392E312E, 332D6873, E14446A0)
024AFF60  610027D5  (004A0550, F0095CB0, 024AFF90, 004904AE)
024AFF90  004904BB  (0040107C, 86361BC0, FFFFFFFF, 804302E0)
024AFFC0  0040103B  (332D6873, 392E312E, 7FFDF000, 6578652E)
024AFFF0  77E87903  (00401000, 00000000, 000000C8, 00000100)
End of stack trace

I also poked around the code a bit.  It appears to crash in params.c at line
508 (using gdb to discover this)
    for (envp = new_environ, envp2 = environ; *envp2; envp2++) {

It parses several environment variables correctly, and then crashes.  All
the memory addresses look fine (i.e. none are null).  However, I'm a unix
programmer, not a windows programmer, so I don't have a good sense of what
"valid" really looks like.

Any ideas what could be causing this?

Thank you very much for your help.

Mike

P.S. I don't belong to the mailing list, so could you please respond to me
directly?  Thank you.


             reply	other threads:[~2000-07-20 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-20 16:54 Mike Boilen [this message]
2000-07-20 17:23 ` Jonathan Fosburgh
2000-07-21  6:13 ` Andrej Borsenkow
2000-07-20 17:25 Jonathan Fosburgh
2000-07-20 17:44 Mike Boilen
2000-07-20 17:53 ` Jonathan Fosburgh

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=1D4512C91A0E044FBF24DDB221C94C53826753@red-msg-29.redmond.corp.microsoft.com \
    --to=mboilen@microsoft.com \
    --cc=zsh-users@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).