delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/19/10:48:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.9 required=5.0 tests=BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,TW_CG,TW_VP
X-Spam-Check-By: sourceware.org
Message-id: <4BCC6D32.4060708@cygwin.com>
Date: Mon, 19 Apr 2010 10:48:18 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.5: cygwin programs throw STATUS_ACCESS_VIOLATION exceptions
References: <m2r9d1cfe481004181509tb0853403qf8129030c0059f00 AT mail DOT gmail DOT com> <4BCBAFF0 DOT 9080701 AT gmail DOT com> <20100419063229 DOT GA26209 AT ednor DOT casa DOT cgf DOT cx> <u2v9d1cfe481004190444la24cacabs4ac2ee530018b030 AT mail DOT gmail DOT com>
In-reply-to: <u2v9d1cfe481004190444la24cacabs4ac2ee530018b030@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 4/19/2010 7:44 AM, Yuval Emek wrote:
> On Mon, Apr 19, 2010 at 09:32, Christopher Faylor
> <cgf-use-the-mailinglist-please...>  wrote:
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Feeding spammers just makes
them hungry.

<snip>

>> p.envptr is supposed to be filled in by the call to _cygwin_crt0_common
>> in cygwin_attach_dll.  It is supposed to be set to the address of the
>> "environ" variable in the DLL.  It is not supposed to be NULL.  That
>> assignment should actually not even be necessary but the fact that
>> envptr may be NULL is a problem.  Of course, it could just be some
>> non-NULL garbage too.  Running in gdb and getting a stack trace would be
>> instructive.
>
> Can you be more specific? (I have been using cygwin for a while, but I
> never debugged it beforehand.)
> I can install gdb using setup.exe . What should I do then in order to
> obtain a stack trace?

Grab a snapshot from <http://cygwin.com/snapshots/>.  You want the DLL
and debugging info at least.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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