Hello Root experts,
I have a problem with a code, that was working with root-v5.22g. After upgrading to 5.28.00c I get the following Segmentation violation in about 50% of the cases. The TList object in question contains TString objects created with new. The List contains exactly 1 element. I checked with valgrind and it gives "Invalid read of size 4" at this point.
Any idea what could be wrong?
shellcmd=0x84b3368
"/opt/HSC/install/root-v5.28.00c/etc/gdb-backtrace.sh 3570 1>&2") at
/opt/HSC/build/root-v5.28.00c/core/unix/src/TUnixSystem.cxx:2031
#5 0xb5dd47b4 in TUnixSystem::StackTrace (this=0x80d4e20)
at /opt/HSC/build/root-v5.28.00c/core/unix/src/TUnixSystem.cxx:2253
#6 0xb5dd2279 in TUnixSystem::DispatchSignals (this=0x80d4e20,
sig=kSigSegmentationViolation)
at /opt/HSC/build/root-v5.28.00c/core/unix/src/TUnixSystem.cxx:1157
#7 0xb5dd0471 in SigHandler (sig=kSigSegmentationViolation)
at /opt/HSC/build/root-v5.28.00c/core/unix/src/TUnixSystem.cxx:357
#8 0xb5dd7ae5 in sighandler (sig=11)
at /opt/HSC/build/root-v5.28.00c/core/unix/src/TUnixSystem.cxx:3522
#9 <signal handler called>
#10 0xb5da5bce in TClass::GetDirectoryAutoAdd (this=0x10004)
at /opt/HSC/build/root-v5.28.00c/core/meta/src/TClass.cxx:5406
#11 0xb5d726ab in TList::Delete (this=0x848fbd0, option=0xb61a4da8 "")
at /opt/HSC/build/root-v5.28.00c/core/cont/src/TList.cxx:414
#12 0xb5d72312 in TList::Clear (this=0x848fbd0, option=0xb61a4da8 "")
at /opt/HSC/build/root-v5.28.00c/core/cont/src/TList.cxx:350
#13 0xb5d717e7 in TList::~TList (this=0x848fbd0,
__in_chrg=<value optimized out>)
at /opt/HSC/build/root-v5.28.00c/core/cont/src/TList.cxx:83
#14 0x080520ab in setupFiles (ev=0x805bc08) at setup.cc:391
#15 0x08055903 in main (argc=3, argv=0xbfd9cbe4) at analyse.cc:92
Regards, Jörn Received on Fri Apr 29 2011 - 13:34:48 CEST
This archive was generated by hypermail 2.2.0 : Fri Apr 29 2011 - 17:50:01 CEST