[ROOT] rootcint segfault.

From: Brett Viren (bv@bnl.gov)
Date: Thu Jan 31 2002 - 02:37:21 MET


Hi ROOT team,

I am experiencing segfaults with rootcint after 3.02/06, (3.02/07 and
CVS as of today).  It seems to be due to how rootcint handles
templates specialized for type "bool" (the real bool, not Bool_t).  I
am sorry that I can't trace this to the heart of the problem but even
looking at rootcint stack traces in GDB makes my head hurt.

However using the attached file and doing:

tar -xzf Registry.tgz
cd Registry/
rootcint -f RegistryCint.cc -c -I. -I.. Registry.h  LinkDef.h

should reproduce the segfault.  I hope the experts can understand
things better.

Note, commenting out the LinkDef.h entry for RegistryItemXxx<bool>
allows the rootcint command to succeed.  Of course, then there is no
dictionary....

Platform: Debian x86, gcc 2.95, root 3.02/07 and CVS.

Thanks,
-Brett.






This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:40 MET