delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/20/14:50:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 20 Jun 2002 20:49:54 +0200
From: Pavel Tsekov <ptsekov AT gmx DOT net>
Reply-To: Pavel Tsekov <ptsekov AT gmx DOT net>
X-Priority: 3 (Normal)
Message-ID: <751591979.20020620204954@gmx.net>
To: cygwin AT cygwin DOT com
Subject: Re[2]: cygwin1.dll [1.3.11(CVS)]: Changes since 06/19 snapshot cause page fault in kernel32.dll
In-Reply-To: <20020620171628.GB5605@redhat.com>
References: <20020620114252 DOT 64865 DOT qmail AT web21003 DOT mail DOT yahoo DOT com>
<8228727568 DOT 20020620172306 AT syntrex DOT com> <830819686 DOT 20020620175758 AT syntrex DOT com>
<20020620171628 DOT GB5605 AT redhat DOT com>
MIME-Version: 1.0

Hello Christopher,

Thursday, June 20, 2002, 7:16:28 PM, you wrote:

CF> On Thu, Jun 20, 2002 at 05:57:58PM +0200, Pavel Tsekov wrote:
>>With CYGWIN_SLEEP I was able to attach before the crash occures. Here
>>is a backtrace from gdb:
>>
>>Program received signal SIGSEGV, Segmentation fault.
>>0x61093419 in MTinterface::Init (this=0x610f8000, forked=0)
>>    at ../../../../cygwin-snapshot/winsup/cygwin/thread.cc:296
>>296       mainthread.win32_obj_id = myself->hProcess;
>>
>>The problem is that operator -> (myself->) returns NULL.

CF> Hmm.  myself is never supposed to be NULL.  Or at least it shouldn't be
CF> NULL once the constructors are run.  This function is called after the
CF> constructors are run, so...

It's not 'myself' that is NULL - it is the return value of the operator -> applied
on myself i.e.

This method of the pinfo class returned NULL becase procinfo member
was NULL.
_pinfo *operator -> () const {return procinfo;}

CF> Out of curiousity, does the latest cygwin snapshot die the same way?

Yes! It works fine - I mean the precompiled 20020619 dll. I'm just downloading the
snapshot source now and will compile it and see if it works. But this
is strange - I update my source tree with the diff from the snapshot
page when a new snapshot is released - it has worked always till now :(

If this matters:

When building, I always completly remove the contents of my build
directory. Then I configure with:
CFLAGS=-g CXXFLAGS=-g ../cygwin-snapshot/configure --enable-debugging


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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