zsh-users
 help / color / mirror / code / Atom feed
* RE: Problems with zsh 3.1.9 and cygwin
@ 2000-07-20 17:44 Mike Boilen
  2000-07-20 17:53 ` Jonathan Fosburgh
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Boilen @ 2000-07-20 17:44 UTC (permalink / raw)
  To: 'Jonathan Fosburgh', zsh-users

I appear to have a different problem from you.  I tried removing MMAP (which
I think has been undef'd automatically when compiling against cygwin
anyway), but it didn't help.  I get the exact same error.

Thanks anyway.

Mike

-----Original Message-----
From: Jonathan Fosburgh [mailto:wotan@fosburgh.org]
Sent: Thursday, July 20, 2000 10:25 AM
To: Mike Boilen; zsh-users@sunsite.auc.dk
Subject: Re: Problems with zsh 3.1.9 and cygwin


----- Original Message -----
From: "Jonathan Fosburgh" <wotan@fosburgh.org>
To: "Mike Boilen" <mboilen@microsoft.com>; <zsh-users@sunsite.auc.dk>
Sent: Thursday, July 20, 2000 12:23 PM
Subject: Re: Problems with zsh 3.1.9 and cygwin


> ----- Original Message -----
> From: "Mike Boilen" <mboilen@microsoft.com>
> To: <zsh-users@sunsite.auc.dk>
> Sent: Thursday, July 20, 2000 11:54 AM
> Subject: Problems with zsh 3.1.9 and cygwin
>
>
> > 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
> >
> Go take a look at the mailing list archives, I had the exact same problems
> and you may wish to look at my solution. Plus, this message probably will
> not make it to the list as we are blacklisted (also in the archives) so if
> you would, please repost anything usefull so it gets in there.
>
Someone tell me to look at what lists I sending mail to before I send it.
Everything I was talking about is on the cygwin mailing list, not this one.
I have never posted to this one and I do not know if I am blacklisted here.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with zsh 3.1.9 and cygwin
  2000-07-20 17:44 Problems with zsh 3.1.9 and cygwin Mike Boilen
@ 2000-07-20 17:53 ` Jonathan Fosburgh
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Fosburgh @ 2000-07-20 17:53 UTC (permalink / raw)
  To: Mike Boilen, zsh-users

----- Original Message -----
From: "Mike Boilen" <mboilen@microsoft.com>
To: "'Jonathan Fosburgh'" <wotan@fosburgh.org>; <zsh-users@sunsite.auc.dk>
Sent: Thursday, July 20, 2000 12:44 PM
Subject: RE: Problems with zsh 3.1.9 and cygwin


> I appear to have a different problem from you.  I tried removing MMAP
(which
> I think has been undef'd automatically when compiling against cygwin
> anyway), but it didn't help.  I get the exact same error.
>
> Thanks anyway.
>
> Mike
>
> -----Original Message-----
> From: Jonathan Fosburgh [mailto:wotan@fosburgh.org]
> Sent: Thursday, July 20, 2000 10:25 AM
> To: Mike Boilen; zsh-users@sunsite.auc.dk
> Subject: Re: Problems with zsh 3.1.9 and cygwin
>
>
> ----- Original Message -----
> From: "Jonathan Fosburgh" <wotan@fosburgh.org>
> To: "Mike Boilen" <mboilen@microsoft.com>; <zsh-users@sunsite.auc.dk>
> Sent: Thursday, July 20, 2000 12:23 PM
> Subject: Re: Problems with zsh 3.1.9 and cygwin
>
>
> > ----- Original Message -----
> > From: "Mike Boilen" <mboilen@microsoft.com>
> > To: <zsh-users@sunsite.auc.dk>
> > Sent: Thursday, July 20, 2000 11:54 AM
> > Subject: Problems with zsh 3.1.9 and cygwin
> >
> >
> > > 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
> > >
> > Go take a look at the mailing list archives, I had the exact same
problems
> > and you may wish to look at my solution. Plus, this message probably
will
> > not make it to the list as we are blacklisted (also in the archives) so
if
> > you would, please repost anything usefull so it gets in there.
> >
> Someone tell me to look at what lists I sending mail to before I send it.
> Everything I was talking about is on the cygwin mailing list, not this
one.
> I have never posted to this one and I do not know if I am blacklisted
here.

I had a request to post what I posted to cygwin here,so here it is.

This is not the account I am subscribed from, that mail server is currently
being blocked for strange reasons, and there is nothing we can do about it.
:( 

There was a recent thread on here regarding getting ksh and zsh to compile and run. I also had a thread running a few weeks ago detailing my problems. I have finally solved those and believe I know the problem the other person is having. In brief, I have been able to compile zsh-3.1.* but running it gave me STATUS_ACCESS_VIOLATION errors. Fixes in the archives didn't work. After much working through gdb, I determined the problem lay somewhere in termcap or terminfo, so I performed a complete upgrade of cygwin and started over configuring and compileing both zsh-3.1.7 and 3.1.9. I then ran into problems with /bin/sh. Apparently I originally did not have ash in my installation and so had created a link for /bin/sh. This probably was a hard link to /bin/bash, but I am not sure anymore. After removing that, my configure scripts started working again. During the compile portion, it died in both builds with problems in libcurses. I upgraded to the most recent curses I could find (nc!
urses-5) and tried again. This time it compiled fine and I can run both builds. For the benefit of the person who started the recent zsh thread, I believe you had some kind of problem with undefined symbols having puts or something like that? If so, you might upgrade your curses libraries, or possibly the termcap package in the base system.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Problems with zsh 3.1.9 and cygwin
  2000-07-20 16:54 Mike Boilen
  2000-07-20 17:23 ` Jonathan Fosburgh
@ 2000-07-21  6:13 ` Andrej Borsenkow
  1 sibling, 0 replies; 6+ messages in thread
From: Andrej Borsenkow @ 2000-07-21  6:13 UTC (permalink / raw)
  To: Mike Boilen, zsh-users

>
> 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:

I understand, that it is of little help, but I can build and run current
Zsh code (I do not remember, if I tried stock 3.1.9 - but it is very
probable) in exactly the above configuration. There are a couple of
glitches wrt pty support but apart from that it runs fine.
>
> 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++) {
>

Wow! I was never able to use GDB under Cygwin. How do you do it?

-andrej


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with zsh 3.1.9 and cygwin
@ 2000-07-20 17:25 Jonathan Fosburgh
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Fosburgh @ 2000-07-20 17:25 UTC (permalink / raw)
  To: Mike Boilen, zsh-users

----- Original Message -----
From: "Jonathan Fosburgh" <wotan@fosburgh.org>
To: "Mike Boilen" <mboilen@microsoft.com>; <zsh-users@sunsite.auc.dk>
Sent: Thursday, July 20, 2000 12:23 PM
Subject: Re: Problems with zsh 3.1.9 and cygwin


> ----- Original Message -----
> From: "Mike Boilen" <mboilen@microsoft.com>
> To: <zsh-users@sunsite.auc.dk>
> Sent: Thursday, July 20, 2000 11:54 AM
> Subject: Problems with zsh 3.1.9 and cygwin
>
>
> > 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
> >
> Go take a look at the mailing list archives, I had the exact same problems
> and you may wish to look at my solution. Plus, this message probably will
> not make it to the list as we are blacklisted (also in the archives) so if
> you would, please repost anything usefull so it gets in there.
>
Someone tell me to look at what lists I sending mail to before I send it.
Everything I was talking about is on the cygwin mailing list, not this one.
I have never posted to this one and I do not know if I am blacklisted here.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with zsh 3.1.9 and cygwin
  2000-07-20 16:54 Mike Boilen
@ 2000-07-20 17:23 ` Jonathan Fosburgh
  2000-07-21  6:13 ` Andrej Borsenkow
  1 sibling, 0 replies; 6+ messages in thread
From: Jonathan Fosburgh @ 2000-07-20 17:23 UTC (permalink / raw)
  To: Mike Boilen, zsh-users

----- Original Message -----
From: "Mike Boilen" <mboilen@microsoft.com>
To: <zsh-users@sunsite.auc.dk>
Sent: Thursday, July 20, 2000 11:54 AM
Subject: Problems with zsh 3.1.9 and cygwin


> 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
>
Go take a look at the mailing list archives, I had the exact same problems
and you may wish to look at my solution. Plus, this message probably will
not make it to the list as we are blacklisted (also in the archives) so if
you would, please repost anything usefull so it gets in there.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problems with zsh 3.1.9 and cygwin
@ 2000-07-20 16:54 Mike Boilen
  2000-07-20 17:23 ` Jonathan Fosburgh
  2000-07-21  6:13 ` Andrej Borsenkow
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Boilen @ 2000-07-20 16:54 UTC (permalink / raw)
  To: 'zsh-users@sunsite.auc.dk'

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-07-21  6:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-20 17:44 Problems with zsh 3.1.9 and cygwin Mike Boilen
2000-07-20 17:53 ` Jonathan Fosburgh
  -- strict thread matches above, loose matches on Subject: below --
2000-07-20 17:25 Jonathan Fosburgh
2000-07-20 16:54 Mike Boilen
2000-07-20 17:23 ` Jonathan Fosburgh
2000-07-21  6:13 ` Andrej Borsenkow

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).