Re: [ROOT] Problem with STL vectors

From: Brett Viren (bv@bnl.gov)
Date: Tue Feb 11 2003 - 15:40:11 MET


Matthew Wood writes:
 > Hi.  I know that I'm supposed to provide an example script that
 > demonstrates the error I'm having, but as I am having trouble repeating
 > the error myself in any sort of predictable way I thought I would just ask
 > generally if anyone had seen this before.  The problem seems to arise when
 > I try to mix the STL <vector> library with ROOT.  I keep getting the
 > following mysterious message:
 > 
 >  *** Break *** segmentation violation

This is a generic error that can be triggered for any number of
reasons.  Well, actually just one: accessing memory outside of the
legal range, but *that* error can and does happen in many ways.

 >  Generating stack trace...
 > /usr/bin/c++filt: unknown demangling style `gnu-new-abi'

This message is due to using a slightly old ROOT and GCC 3.2.  If you
were using a newer ROOT or had compiled with GCC < 3.2 you would see a
stack trace starting at the seg-fault which might help in debugging.

My only suggestion to try the latest ROOT and/or to build CINT's STL
supporting libraries:

	make cintdlls

Beyond that, isolating the problem to code that can be tried by others
will probably be needed.

-Brett.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET