delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/25/17:23:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 25 Jul 2000 17:22:10 -0400
To: Cygwin AT Sourceware DOT Cygnus DOT Com
Subject: Re: Problems under domain account on Win2k RE: Problems with zsh 3.1.9 and cygwin
Message-ID: <20000725172210.A13926@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: Cygwin AT Sourceware DOT Cygnus DOT Com
References: <002301bff634$235e7b30$21c9ca95 AT mow DOT siemens DOT ru> <002401bff65a$d9db2310$21c9ca95 AT mow DOT siemens DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <002401bff65a$d9db2310$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Tue, Jul 25, 2000 at 09:07:45PM +0400

On Tue, Jul 25, 2000 at 09:07:45PM +0400, Andrej Borsenkow wrote:
>>
>> > >
>> > >       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.
>>
>> Sorry, I was wrong. It appeared, that I had outdated Cygwin already (I
>> have not seen any announcements so assumed there was nothing new).
>> Obviously, binutils have changed, so I get now exactly the same crash.
>> Damn ... I just downloaded Cygwin, downloaded updated ld.exe
>> but no way.
>>
>
>This particular problem was due to tgetent() problem. Zsh tests, if
>tgetent() accepts null pointer for buffer. Unfortunately, test always
>succeeded, but running under gdb showed, that Zsh crashed in
>tgetent(0,"cygwin").
>
>But really weird was when I recompiled Zsh without TGETENT_ACCEPTS_NULL.
>Now, Zsh correctly starts under local account but crashes under domain
>account!!!
>
>The problem is, that, as was already mentioned on cygwin list, gdb also
>does not work under domain account. That means, that
>
>- either I have working gdb and zsh and nothing to debug
>- or both do not work and I have no way to debug

Or, you submit a patch for tgetent.

>Usage of printf would be nice IF I had the slightest idea where it
>crashes.

addr2line is your friend.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019