This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 20.1 with GCC 2.95.2 problem


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@askesis.nl
web: www.askesis.nl 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]