www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/29/10:23:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <1F8B49DD9100D31195FC00A0C94989FE0D8D@obelix>
From: Joost Kraaijeveld <JKraaijeveld AT Askesis DOT nl>
To: "Cygwin AT Sourceware. Cygnus. Com (E-mail)"
<cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: 20.1 with GCC 2.95.2 problem
Date: Wed, 29 Dec 1999 16:13:16 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)

I think I narrowed my problem down a bit. Using thge debugger I found
the line that, as far as I can see, is responsible for the crash, that
is, after these lines a SEGSEGV occurs. 

ADatabaseManager::ADatabaseManager( const char* aDefaultDatabaseName) //
Called with "ALib"
   :  AManager(), // Goes OK
      defaultDatabaseName(aDefaultDatabaseName), // Goes to below (in
bastring.h)
      odbcEnvironment(new AODBCEnvironment), // Is executed
      odbcDatabase(0)
{
	... // Never gets here
}

in bastring.h

177	  basic_string (const charT* s ) 
178	    : dat (nilRep.grab ()) { assign (s); }  

Note: Debugger says: s="ALib"

Than it goes to:

75	    charT* grab () { if (selfish ) return clone (); ++ref ;
return data (); }

Note: Debugger says: selfish = false, ref = 1,

3	    charT* data () { return reinterpret_cast<charT *>(this + 1);
}

SIGSEGV





Joost Kraaijeveld
Askesis B.V.
Groenewoudseweg 46
6524VB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: JKraaijeveld AT askesis DOT nl
web: www.askesis.nl 

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