[ROOT] Problem with STL vectors

From: Matthew Wood (mdwood@midway.uchicago.edu)
Date: Tue Feb 11 2003 - 08:03:22 MET


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
 Generating stack trace...
/usr/bin/c++filt: unknown demangling style `gnu-new-abi'

When I switch back to using c-style arrays, the problem seems to go away.
What's even more mysterious is that most of the time vectors seem to work
fine but occasionally I will get the above error for no apparent 
reason.  Switching around the order in which i declare arrays and vectors
also seems to help sometimes.
	Are there known incompatibilities between ROOT and STL?  Does
anyone know what this message means?  I'm currently running root 3.04/02
for redhat linux 7.3 and gcc 3.2.

Matthew Wood



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