[wshi@login4.summit v5-34-00-patches]$ gdb ${ROOTSYS}/bin/root.exe GNU gdb (GDB) Red Hat Enterprise Linux 8.2-11.el8 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "ppc64le-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /ccs/home/wshi/ROOT/v5-34-00-patches/bin/root.exe...done. (gdb) run Starting program: /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/bin/root.exe Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-101.el8.ppc64le warning: File "/autofs/nccs-svm1_sw/summit/gcc/7.5.0-2/lib64/libstdc++.so.6.0.24-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /autofs/nccs-svm1_sw/summit/gcc/7.5.0-2/lib64/libstdc++.so.6.0.24-gdb.py line to your configuration file "/ccs/home/wshi/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/ccs/home/wshi/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/power9/libthread_db.so.1". Error in : no file name specified Error in : no file name specified Error in : no file name specified Error in : no file name specified ******************************************* * * * W E L C O M E to R O O T * * * * Version 5.34/39 12 March 2018 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* ROOT 5.34/39 (@, Nov 03 2022, 13:23:00 on linuxppc64gcc) CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. Error in : libMathCore[.so | .dll | .dylib | .sl | .dl | .a] does not exist in aborting [Detaching after fork from child process 1706608] Program received signal SIGABRT, Aborted. 0x00007ffff6413618 in raise () from /lib64/power9/libc.so.6 Missing separate debuginfos, use: yum debuginfo-install libxcrypt-4.1.1-4.el8.ppc64le pcre-8.42-4.el8.ppc64le sssd-client-2.2.3-20.el8.ppc64le xz-libs-5.2.4-3.el8.ppc64le zlib-1.2.11-16.el8_2.ppc64le (gdb) backtrace #0 0x00007ffff6413618 in raise () from /lib64/power9/libc.so.6 #1 0x00007ffff63f3a2c in abort () from /lib64/power9/libc.so.6 #2 0x00007ffff7861a48 in TUnixSystem::Abort (this=0x1005c650) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/unix/src/TUnixSystem.cxx:2223 #3 0x00007ffff7751eec in DefaultErrorHandler (level=773880864, abort_bool=100, location=0x206c732e207c2062 , msg=0x207c206c642e207c ) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TError.cxx:193 #4 0x00007ffff775231c in ErrorHandler (level=, location=, fmt=, ap=) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TError.cxx:245 Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) break TEnv::TEnv Breakpoint 1 at 0x7ffff776f098: TEnv::TEnv. (2 locations) (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/bin/root.exe warning: File "/autofs/nccs-svm1_sw/summit/gcc/7.5.0-2/lib64/libstdc++.so.6.0.24-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/power9/libthread_db.so.1". Breakpoint 1, 0x00007ffff7d78440 in TEnv::TEnv(char const*)@plt () from /ccs/home/wshi/ROOT/v5-34-00-patches/lib/libCore.so.5.34 (gdb) step Single stepping until exit from function _ZN4TEnvC1EPKc@plt, which has no line number information. 0x00007ffff7d6f130 in __glink_PLTresolve () from /ccs/home/wshi/ROOT/v5-34-00-patches/lib/libCore.so.5.34 (gdb) step Single stepping until exit from function __glink_PLTresolve, which has no line number information. Breakpoint 1, TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:380 380 TEnv::TEnv(const char *name) (gdb) p name $1 = 0x7ffff7d7f0e0 ".rootrc" (gdb) $2 = 0x7ffff7d7f0e0 ".rootrc" (gdb) step TObject::TObject (this=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:65 65 TObject::TObject() : fBits(kNotDeleted) //Need to leave FUniqueID unset (gdb) 74 if (TStorage::FilledByObjectAlloc(&fUniqueID)) (gdb) p kNotDeleted $3 = TObject::kNotDeleted (gdb) p fUniqueID $4 = 2576980377 (gdb) step TStorage::FilledByObjectAlloc (member=0x1005ef18) at include/TStorage.h:87 87 inline Bool_t TStorage::FilledByObjectAlloc(UInt_t *member) { return *member == kObjectAllocMemValue; } (gdb) TObject::TObject (this=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:75 75 fBits |= kIsOnHeap; (gdb) p fBits $5 = 33554432 (gdb) step 77 fUniqueID = 0; (gdb) 79 if (fgObjectStat) TObjectTable::AddObj(this); (gdb) TObjectTable::AddObj (op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:171 171 if (!op) { (gdb) p op $6 = (TObject *) 0x1005ef10 (gdb) step 175 if (olock) (gdb) p olock $7 = false (gdb) step 178 if (!gObjectTable) { (gdb) p gObjectTable $8 = (TObjectTable *) 0x10043500 (gdb) step 185 gObjectTable->Add(op); (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:145 145 if (!op) { (gdb) 149 if (!fTable) (gdb) 152 Int_t slot = FindElement(op); (gdb) p slot $9 = 0 (gdb) p op $10 = (TObject *) 0x1005ef10 (gdb) step TObjectTable::FindElement (this=0x10043500, op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:276 276 if (!fTable) (gdb) 280 slot = Int_t(TString::Hash(&op, sizeof(TObject*)) % fSize); (gdb) TString::Hash (txt=0x7fffffffb678, ntxt=8) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:770 770 if (ntxt != sizeof(void*)) { (gdb) p slot No symbol "slot" in current context. (gdb) No symbol "slot" in current context. (gdb) step 776 UInt_t ret = (UInt_t)0x6384BA69; (gdb) 778 if (((size_t)txt) % sizeof(void*)) { (gdb) 785 const unsigned char* ctxt = (const unsigned char*) txt; (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 790 ctxt += 4; (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 796 return ret; (gdb) 798 } (gdb) TObjectTable::FindElement (this=0x10043500, op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:281 281 for (n = 0; n < fSize; n++) { (gdb) p slot $11 = 315 (gdb) step 282 if ((slotOp = fTable[slot]) == 0) (gdb) 283 break; (gdb) 289 return slot; (gdb) p slotOp $12 = (TObject *) 0x0 (gdb) $13 = (TObject *) 0x0 (gdb) step 290 } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:153 153 if (fTable[slot] == 0) { (gdb) 154 fTable[slot] = op; (gdb) p op $14 = (TObject *) 0x1005ef10 (gdb) p slot $15 = 315 (gdb) step 155 fTally++; (gdb) step 156 if (HighWaterMark()) (gdb) p fTally $16 = 104 (gdb) step TObjectTable::HighWaterMark (this=0x10043500) at include/TObjectTable.h:78 78 { return (Bool_t) (fTally >= ((3*fSize)/4)); } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:159 159 } (gdb) p HighWaterMark() $17 = false (gdb) step TObjectTable::AddObj (op=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:186 186 } (gdb) TObject::TObject (this=0x1005ef10) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:80 80 } (gdb) TString::TString (this=0x1005ef28) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:94 94 TString::TString() (gdb) 98 Zero(); (gdb) TString::Zero (this=0x1005ef28) at include/TString.h:243 243 Ssiz_t (&a)[kNwords] = fRep.fRaw.fWords; (gdb) p kNwords $18 = TString::kNwords (gdb) p fRep.fRaw.fWords $19 = {-1717986919, -1717986919, -1717986919, -1717986919} (gdb) step 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) p kNwords $20 = TString::kNwords (gdb) step 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 246 } (gdb) TString::TString (this=0x1005ef28) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:99 99 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:391 391 fIgnoreDup = kFALSE; (gdb) 393 if (!name || !strlen(name) || !gSystem) (gdb) p name $21 = 0x7ffff7d7f0e0 ".rootrc" (gdb) p gSystem $22 = (TSystem *) 0x1005c650 (gdb) p strlen(name) '__strlen_power8' has unknown return type; cast the call to its declared return type (gdb) p !name $23 = false (gdb) step 396 fTable = new THashList(1000); (gdb) p fTable $24 = (THashList *) 0x9999999999999999 (gdb) step TObject::operator new (sz=88) at include/TObject.h:156 156 void *operator new(size_t sz) { return TStorage::ObjectAlloc(sz); } (gdb) TStorage::ObjectAlloc (sz=88) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TStorage.cxx:325 325 void* space = ::operator new(sz); (gdb) operator new (sz=88) at /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc:47 47 /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc: No such file or directory. (gdb) 43 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 47 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 50 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 59 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) TStorage::ObjectAlloc (sz=88) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TStorage.cxx:326 326 memset(space, kObjectAllocMemValue, sz); (gdb) 327 return space; (gdb) 328 } (gdb) THashList::THashList (this=0x1005ef50, capacity=1000, rehash=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashList.cxx:37 37 THashList::THashList(Int_t capacity, Int_t rehash) (gdb) step TList::TList (this=0x1005ef50) at include/TList.h:72 72 TList() : fFirst(0), fLast(0), fCache(0), fAscending(kTRUE) { } (gdb) TSeqCollection::TSeqCollection (this=0x1005ef50) at include/TSeqCollection.h:35 35 TSeqCollection() : fSorted(kFALSE) { } (gdb) TCollection::TCollection (this=0x1005ef50) at include/TCollection.h:65 65 TCollection() : fName(), fSize(0) { } (gdb) TObject::TObject (this=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:65 65 TObject::TObject() : fBits(kNotDeleted) //Need to leave FUniqueID unset (gdb) 74 if (TStorage::FilledByObjectAlloc(&fUniqueID)) (gdb) TStorage::FilledByObjectAlloc (member=0x1005ef58) at include/TStorage.h:87 87 inline Bool_t TStorage::FilledByObjectAlloc(UInt_t *member) { return *member == kObjectAllocMemValue; } (gdb) TObject::TObject (this=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:75 75 fBits |= kIsOnHeap; (gdb) 77 fUniqueID = 0; (gdb) 79 if (fgObjectStat) TObjectTable::AddObj(this); (gdb) TObjectTable::AddObj (op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:171 171 if (!op) { (gdb) 175 if (olock) (gdb) 178 if (!gObjectTable) { (gdb) 185 gObjectTable->Add(op); (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:145 145 if (!op) { (gdb) 149 if (!fTable) (gdb) 152 Int_t slot = FindElement(op); (gdb) TObjectTable::FindElement (this=0x10043500, op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:276 276 if (!fTable) (gdb) 280 slot = Int_t(TString::Hash(&op, sizeof(TObject*)) % fSize); (gdb) TString::Hash (txt=0x7fffffffb568, ntxt=8) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:770 770 if (ntxt != sizeof(void*)) { (gdb) 776 UInt_t ret = (UInt_t)0x6384BA69; (gdb) 778 if (((size_t)txt) % sizeof(void*)) { (gdb) 785 const unsigned char* ctxt = (const unsigned char*) txt; (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 790 ctxt += 4; (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 796 return ret; (gdb) 798 } (gdb) TObjectTable::FindElement (this=0x10043500, op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:281 281 for (n = 0; n < fSize; n++) { (gdb) 282 if ((slotOp = fTable[slot]) == 0) (gdb) 283 break; (gdb) 289 return slot; (gdb) 290 } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:153 153 if (fTable[slot] == 0) { (gdb) 154 fTable[slot] = op; (gdb) p slot $25 = 251 (gdb) p op $26 = (TObject *) 0x1005ef50 (gdb) $27 = (TObject *) 0x1005ef50 (gdb) $28 = (TObject *) 0x1005ef50 (gdb) step 155 fTally++; (gdb) p fTally $29 = 104 (gdb) step 156 if (HighWaterMark()) (gdb) step TObjectTable::HighWaterMark (this=0x10043500) at include/TObjectTable.h:78 78 { return (Bool_t) (fTally >= ((3*fSize)/4)); } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:159 159 } (gdb) TObjectTable::AddObj (op=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:186 186 } (gdb) TObject::TObject (this=0x1005ef50) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:80 80 } (gdb) TString::TString (this=0x1005ef60) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:94 94 TString::TString() (gdb) 98 Zero(); (gdb) TString::Zero (this=0x1005ef60) at include/TString.h:243 243 Ssiz_t (&a)[kNwords] = fRep.fRaw.fWords; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 246 } (gdb) TString::TString (this=0x1005ef60) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:99 99 } (gdb) THashList::THashList (this=0x1005ef50, capacity=1000, rehash=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashList.cxx:51 51 fTable = new THashTable(capacity, rehash); (gdb) TObject::operator new (sz=72) at include/TObject.h:156 156 void *operator new(size_t sz) { return TStorage::ObjectAlloc(sz); } (gdb) TStorage::ObjectAlloc (sz=72) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TStorage.cxx:325 325 void* space = ::operator new(sz); (gdb) operator new (sz=72) at /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc:47 47 /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc: No such file or directory. (gdb) 43 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 47 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 50 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 59 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) TStorage::ObjectAlloc (sz=72) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TStorage.cxx:326 326 memset(space, kObjectAllocMemValue, sz); (gdb) 327 return space; (gdb) 328 } (gdb) THashTable::THashTable (this=0x1005efb0, capacity=1000, rehashlevel=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashTable.cxx:40 40 THashTable::THashTable(Int_t capacity, Int_t rehashlevel) (gdb) TCollection::TCollection (this=0x1005efb0) at include/TCollection.h:65 65 TCollection() : fName(), fSize(0) { } (gdb) TObject::TObject (this=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:65 65 TObject::TObject() : fBits(kNotDeleted) //Need to leave FUniqueID unset (gdb) 74 if (TStorage::FilledByObjectAlloc(&fUniqueID)) (gdb) TStorage::FilledByObjectAlloc (member=0x1005efb8) at include/TStorage.h:87 87 inline Bool_t TStorage::FilledByObjectAlloc(UInt_t *member) { return *member == kObjectAllocMemValue; } (gdb) TObject::TObject (this=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:75 75 fBits |= kIsOnHeap; (gdb) 77 fUniqueID = 0; (gdb) 79 if (fgObjectStat) TObjectTable::AddObj(this); (gdb) TObjectTable::AddObj (op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:171 171 if (!op) { (gdb) 175 if (olock) (gdb) 178 if (!gObjectTable) { (gdb) 185 gObjectTable->Add(op); (gdb) TObjectTable::Add (this=0x10043500, op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:145 145 if (!op) { (gdb) 149 if (!fTable) (gdb) 152 Int_t slot = FindElement(op); (gdb) TObjectTable::FindElement (this=0x10043500, op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:276 276 if (!fTable) (gdb) 280 slot = Int_t(TString::Hash(&op, sizeof(TObject*)) % fSize); (gdb) TString::Hash (txt=0x7fffffffb568, ntxt=8) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:770 770 if (ntxt != sizeof(void*)) { (gdb) 776 UInt_t ret = (UInt_t)0x6384BA69; (gdb) 778 if (((size_t)txt) % sizeof(void*)) { (gdb) 785 const unsigned char* ctxt = (const unsigned char*) txt; (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 787 ret ^= ctxt[i] << (i * 8); (gdb) 786 for (unsigned int i = 0; i < 4; ++i) { (gdb) 790 ctxt += 4; (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 792 ret ^= ctxt[i] << (i * 8); (gdb) 791 for (unsigned int i = 0; i < 4; ++i) { (gdb) 796 return ret; (gdb) 798 } (gdb) TObjectTable::FindElement (this=0x10043500, op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:281 281 for (n = 0; n < fSize; n++) { (gdb) 282 if ((slotOp = fTable[slot]) == 0) (gdb) 283 break; (gdb) 289 return slot; (gdb) 290 } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:153 153 if (fTable[slot] == 0) { (gdb) 154 fTable[slot] = op; (gdb) 155 fTally++; (gdb) 156 if (HighWaterMark()) (gdb) TObjectTable::HighWaterMark (this=0x10043500) at include/TObjectTable.h:78 78 { return (Bool_t) (fTally >= ((3*fSize)/4)); } (gdb) TObjectTable::Add (this=0x10043500, op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:159 159 } (gdb) TObjectTable::AddObj (op=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/TObjectTable.cxx:186 186 } (gdb) TObject::TObject (this=0x1005efb0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TObject.cxx:80 80 } (gdb) TString::TString (this=0x1005efc0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:94 94 TString::TString() (gdb) 98 Zero(); (gdb) TString::Zero (this=0x1005efc0) at include/TString.h:243 243 Ssiz_t (&a)[kNwords] = fRep.fRaw.fWords; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 245 a[i] = 0; (gdb) 244 for (UInt_t i = 0; i < kNwords; ++i) (gdb) 246 } (gdb) TString::TString (this=0x1005efc0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:99 99 } (gdb) THashTable::THashTable (this=0x1005efb0, capacity=1000, rehashlevel=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashTable.cxx:52 52 if (capacity < 0) { (gdb) 55 } else if (capacity == 0) (gdb) 58 fSize = (Int_t)TMath::NextPrime(TMath::Max(capacity,(int)TCollection::kInitHashTableCapacity)); (gdb) TMath::Max (a=1000, b=17) at include/TMathBase.h:198 198 { return a >= b ? a : b; } (gdb) TMath::NextPrime (x=1000) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TMathBase.cxx:34 34 if (x <= 2) (gdb) 36 if (x == 3) (gdb) 39 if (x % 2 == 0) (gdb) 40 x++; (gdb) 42 Long_t sqr = (Long_t) sqrt((Double_t)x) + 1; (gdb) 46 for (n = 3; (n <= sqr) && ((x % n) != 0); n += 2) (gdb) 48 if (n > sqr) (gdb) 50 x += 2; (gdb) 51 } (gdb) 46 for (n = 3; (n <= sqr) && ((x % n) != 0); n += 2) (gdb) 48 if (n > sqr) (gdb) 50 x += 2; (gdb) 51 } (gdb) 46 for (n = 3; (n <= sqr) && ((x % n) != 0); n += 2) (gdb) 48 if (n > sqr) (gdb) 50 x += 2; (gdb) 51 } (gdb) 46 for (n = 3; (n <= sqr) && ((x % n) != 0); n += 2) (gdb) 48 if (n > sqr) (gdb) 50 x += 2; (gdb) 51 } (gdb) 46 for (n = 3; (n <= sqr) && ((x % n) != 0); n += 2) (gdb) 48 if (n > sqr) (gdb) 49 return x; (gdb) 52 } (gdb) THashTable::THashTable (this=0x1005efb0, capacity=1000, rehashlevel=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashTable.cxx:59 59 fCont = new TList* [fSize]; (gdb) operator new[] (sz=8072) at /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_opv.cc:32 32 /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_opv.cc: No such file or directory. (gdb) operator new (sz=8072) at /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc:47 47 /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc: No such file or directory. (gdb) 43 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 47 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 50 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) 59 in /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_op.cc (gdb) operator new[] (sz=) at /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_opv.cc:33 33 /gpfs/alpine/scratch/belhorn/stf007/builds/gcc-build-7.5.0-3/gcc-7.5.0/libstdc++-v3/libsupc++/new_opv.cc: No such file or directory. (gdb) THashTable::THashTable (this=0x1005efb0, capacity=1000, rehashlevel=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashTable.cxx:60 60 memset(fCont, 0, fSize*sizeof(TList*)); (gdb) 62 fEntries = 0; (gdb) 63 fUsedSlots = 0; (gdb) 64 if (rehashlevel < 2) rehashlevel = 0; (gdb) 65 fRehashLevel = rehashlevel; (gdb) 66 } (gdb) THashList::THashList (this=0x1005ef50, capacity=1000, rehash=0) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/cont/src/THashList.cxx:52 52 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:397 397 fRcName = name; (gdb) TString::operator= (this=0x1005ef28, cs=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:259 259 if (!cs || !*cs) { (gdb) p name 'name' has unknown type; cast it to its declared type (gdb) p fRcName No symbol "fRcName" in current context. (gdb) p 0x7ffff7d7f0e0 $30 = 140737351512288 (gdb) p 0x1005ef10 $31 = 268824336 (gdb) step 264 return Replace(0, Length(), cs, strlen(cs)); (gdb) TString::Length (this=0x1005ef28) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x1005ef28) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x1005ef28) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:932 932 Ssiz_t len = Length(); (gdb) TString::Length (this=0x1005ef28) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x1005ef28) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x1005ef28) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:933 933 if (pos <= kNPOS || pos > len) { (gdb) 939 n1 = TMath::Min(n1, len - pos); (gdb) TMath::Min (a=0, b=0) at include/TMathBase.h:166 166 { return a <= b ? a : b; } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:940 940 if (!cs) n2 = 0; (gdb) 942 Ssiz_t tot = len - n1 + n2; // Final string length (gdb) 943 Ssiz_t rem = len - n1 - pos; // Length of remnant at end of string (gdb) 945 Ssiz_t capac = Capacity(); (gdb) TString::Capacity (this=0x1005ef28) at include/TString.h:330 330 Ssiz_t Capacity() const { return (IsLong() ? GetLongCap() : kMinCap) - 1; } (gdb) TString::IsLong (this=0x1005ef28) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:946 946 char *p = GetPointer(); (gdb) TString::GetPointer (this=0x1005ef28) at include/TString.h:234 234 char *GetPointer() { return IsLong() ? GetLongPointer() : GetShortPointer(); } (gdb) TString::IsLong (this=0x1005ef28) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortPointer (this=0x1005ef28) at include/TString.h:232 232 char *GetShortPointer() { return fRep.fShort.fData; } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:948 948 if (capac - len + n1 >= n2) { (gdb) 949 if (n1 != n2) { (gdb) 950 if (rem) { (gdb) 970 if (n2) memmove(p + pos, cs, n2); (gdb) 972 SetSize(tot); (gdb) TString::SetSize (this=0x1005ef28, s=7) at include/TString.h:226 226 void SetSize(Ssiz_t s) { IsLong() ? SetLongSize(s) : SetShortSize(s); } (gdb) TString::IsLong (this=0x1005ef28) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::SetShortSize (this=0x1005ef28, s=7) at include/TString.h:221 221 void SetShortSize(Ssiz_t s) { fRep.fShort.fSize = (unsigned char)s; } (gdb) TString::Replace (this=0x1005ef28, pos=0, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:973 973 p[tot] = 0; (gdb) 987 return *this; (gdb) 988 } (gdb) TString::operator= (this=0x1005ef28, cs=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:265 265 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:399 399 TString sname = "system"; (gdb) TString::TString (this=0x7fffffffb818, cs=0x7ffff7d86d18 "system") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:110 110 TString::TString(const char *cs) (gdb) 114 if (cs) { (gdb) 115 Ssiz_t n = strlen(cs); (gdb) 116 char *data = Init(n, n); (gdb) TString::Init (this=0x7fffffffb818, capacity=6, nchar=6) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:218 218 if (capacity > MaxSize()) { (gdb) TString::MaxSize () at include/TString.h:239 239 static Ssiz_t MaxSize() { return (kMaxInt >> 1) - 1; } (gdb) TString::Init (this=0x7fffffffb818, capacity=6, nchar=6) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:226 226 if (capacity < kMinCap) { (gdb) 227 SetShortSize(nchar); (gdb) TString::SetShortSize (this=0x7fffffffb818, s=6) at include/TString.h:221 221 void SetShortSize(Ssiz_t s) { fRep.fShort.fSize = (unsigned char)s; } (gdb) TString::Init (this=0x7fffffffb818, capacity=6, nchar=6) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:228 228 data = GetShortPointer(); (gdb) TString::GetShortPointer (this=0x7fffffffb818) at include/TString.h:232 232 char *GetShortPointer() { return fRep.fShort.fData; } (gdb) TString::Init (this=0x7fffffffb818, capacity=6, nchar=6) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:236 236 data[nchar] = 0; // terminating null (gdb) 238 return data; (gdb) 239 } (gdb) TString::TString (this=0x7fffffffb818, cs=0x7ffff7d86d18 "system") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:117 117 memcpy(data, cs, n); (gdb) 120 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:400 400 sname += name; (gdb) p name $32 = 0x7ffff7d7f0e0 ".rootrc" (gdb) p sname $33 = {_vptr.TString = 0x7ffff7f17bb0 , fRep = {{fLong = {fCap = 1937339142, fSize = 7169396, fData = 0xfffffffffeff0000 }, fShort = {fSize = 6 '\006', fData = "system\000\000\000\377\376\377\377\377\377"}, fRaw = {fWords = {1937339142, 7169396, -16842752, -1}}}}, static fgIsA = {_M_b = {_M_p = 0x0}}} (gdb) step TString::operator+= (this=0x7fffffffb818, cs=0x7ffff7d7f0e0 ".rootrc") at include/TString.h:496 496 { return Append(cs, cs ? strlen(cs) : 0); } (gdb) p sname No symbol "sname" in current context. (gdb) step TString::Append (this=0x7fffffffb818, cs=0x7ffff7d7f0e0 ".rootrc", n=7) at include/TString.h:487 487 { return Replace(Length(), 0, cs, n); } (gdb) step TString::Length (this=0x7fffffffb818) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x7fffffffb818) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x7fffffffb818) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:932 932 Ssiz_t len = Length(); (gdb) TString::Length (this=0x7fffffffb818) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x7fffffffb818) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x7fffffffb818) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:933 933 if (pos <= kNPOS || pos > len) { (gdb) 939 n1 = TMath::Min(n1, len - pos); (gdb) TMath::Min (a=0, b=0) at include/TMathBase.h:166 166 { return a <= b ? a : b; } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:940 940 if (!cs) n2 = 0; (gdb) 942 Ssiz_t tot = len - n1 + n2; // Final string length (gdb) 943 Ssiz_t rem = len - n1 - pos; // Length of remnant at end of string (gdb) 945 Ssiz_t capac = Capacity(); (gdb) TString::Capacity (this=0x7fffffffb818) at include/TString.h:330 330 Ssiz_t Capacity() const { return (IsLong() ? GetLongCap() : kMinCap) - 1; } (gdb) TString::IsLong (this=0x7fffffffb818) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:946 946 char *p = GetPointer(); (gdb) TString::GetPointer (this=0x7fffffffb818) at include/TString.h:234 234 char *GetPointer() { return IsLong() ? GetLongPointer() : GetShortPointer(); } (gdb) TString::IsLong (this=0x7fffffffb818) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortPointer (this=0x7fffffffb818) at include/TString.h:232 232 char *GetShortPointer() { return fRep.fShort.fData; } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:948 948 if (capac - len + n1 >= n2) { (gdb) 949 if (n1 != n2) { (gdb) 950 if (rem) { (gdb) 970 if (n2) memmove(p + pos, cs, n2); (gdb) 972 SetSize(tot); (gdb) TString::SetSize (this=0x7fffffffb818, s=13) at include/TString.h:226 226 void SetSize(Ssiz_t s) { IsLong() ? SetLongSize(s) : SetShortSize(s); } (gdb) TString::IsLong (this=0x7fffffffb818) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::SetShortSize (this=0x7fffffffb818, s=13) at include/TString.h:221 221 void SetShortSize(Ssiz_t s) { fRep.fShort.fSize = (unsigned char)s; } (gdb) TString::Replace (this=0x7fffffffb818, pos=6, n1=0, cs=0x7ffff7d7f0e0 ".rootrc", n2=7) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:973 973 p[tot] = 0; (gdb) 987 return *this; (gdb) 988 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:404 404 TString etc = gRootDir; (gdb) p ROOTETCDIR No symbol "ROOTETCDIR" in current context. (gdb) p gRootDir $34 = 0x1005db38 "." (gdb) p sname $35 = {_vptr.TString = 0x7ffff7f17bb0 , fRep = {{fLong = {fCap = 1937339149, fSize = 778921332, fData = 0xff006372746f6f72 }, fShort = {fSize = 13 '\r', fData = "system.rootrc\000\377"}, fRaw = {fWords = { 1937339149, 778921332, 1953460082, -16751758}}}}, static fgIsA = {_M_b = {_M_p = 0x0}}} (gdb) p etc $36 = warning: can't find linker symbol for virtual table for `TString' value {_vptr.TString = 0x7ffff7fcc588 <_dl_runtime_resolve+72>, fRep = {{fLong = {fCap = -18368, fSize = 32767, fData = 0x1005ef10 "8\026\362\367\377\177"}, fShort = { fSize = 64 '@', fData = "\270\377\377\377\177\000\000\020\357\005\020\000\000\000"}, fRaw = {fWords = {-18368, 32767, 268824336, 0}}}}, static fgIsA = {_M_b = { _M_p = 0x0}}} (gdb) p WIN32 No symbol "WIN32" in current context. (gdb) p name $37 = 0x7ffff7d7f0e0 ".rootrc" (gdb) step TString::TString (this=0x7fffffffb830, cs=0x1005db38 ".") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:110 110 TString::TString(const char *cs) (gdb) 114 if (cs) { (gdb) 115 Ssiz_t n = strlen(cs); (gdb) 116 char *data = Init(n, n); (gdb) TString::Init (this=0x7fffffffb830, capacity=1, nchar=1) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:218 218 if (capacity > MaxSize()) { (gdb) TString::MaxSize () at include/TString.h:239 239 static Ssiz_t MaxSize() { return (kMaxInt >> 1) - 1; } (gdb) TString::Init (this=0x7fffffffb830, capacity=1, nchar=1) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:226 226 if (capacity < kMinCap) { (gdb) 227 SetShortSize(nchar); (gdb) TString::SetShortSize (this=0x7fffffffb830, s=1) at include/TString.h:221 221 void SetShortSize(Ssiz_t s) { fRep.fShort.fSize = (unsigned char)s; } (gdb) TString::Init (this=0x7fffffffb830, capacity=1, nchar=1) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:228 228 data = GetShortPointer(); (gdb) TString::GetShortPointer (this=0x7fffffffb830) at include/TString.h:232 232 char *GetShortPointer() { return fRep.fShort.fData; } (gdb) TString::Init (this=0x7fffffffb830, capacity=1, nchar=1) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:236 236 data[nchar] = 0; // terminating null (gdb) 238 return data; (gdb) 239 } (gdb) TString::TString (this=0x7fffffffb830, cs=0x1005db38 ".") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:117 117 memcpy(data, cs, n); (gdb) 120 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:408 408 etc += "/etc"; (gdb) p etc $38 = {_vptr.TString = 0x7ffff7f17bb0 , fRep = {{fLong = {fCap = -16765439, fSize = 32767, fData = 0x1005ef10 "8\026\362\367\377\177"}, fShort = { fSize = 1 '\001', fData = ".\000\377\377\177\000\000\020\357\005\020\000\000\000"}, fRaw = {fWords = {-16765439, 32767, 268824336, 0}}}}, static fgIsA = {_M_b = { _M_p = 0x0}}} (gdb) step TString::operator+= (this=0x7fffffffb830, cs=0x7ffff7d86d20 "/etc") at include/TString.h:496 496 { return Append(cs, cs ? strlen(cs) : 0); } (gdb) TString::Append (this=0x7fffffffb830, cs=0x7ffff7d86d20 "/etc", n=4) at include/TString.h:487 487 { return Replace(Length(), 0, cs, n); } (gdb) TString::Length (this=0x7fffffffb830) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x7fffffffb830) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x7fffffffb830) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:932 932 Ssiz_t len = Length(); (gdb) TString::Length (this=0x7fffffffb830) at include/TString.h:383 383 Ssiz_t Length() const { return IsLong() ? GetLongSize() : GetShortSize(); } (gdb) TString::IsLong (this=0x7fffffffb830) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortSize (this=0x7fffffffb830) at include/TString.h:222 222 Ssiz_t GetShortSize() const { return fRep.fShort.fSize; } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:933 933 if (pos <= kNPOS || pos > len) { (gdb) 939 n1 = TMath::Min(n1, len - pos); (gdb) TMath::Min (a=0, b=0) at include/TMathBase.h:166 166 { return a <= b ? a : b; } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:940 940 if (!cs) n2 = 0; (gdb) 942 Ssiz_t tot = len - n1 + n2; // Final string length (gdb) 943 Ssiz_t rem = len - n1 - pos; // Length of remnant at end of string (gdb) 945 Ssiz_t capac = Capacity(); (gdb) TString::Capacity (this=0x7fffffffb830) at include/TString.h:330 330 Ssiz_t Capacity() const { return (IsLong() ? GetLongCap() : kMinCap) - 1; } (gdb) TString::IsLong (this=0x7fffffffb830) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:946 946 char *p = GetPointer(); (gdb) TString::GetPointer (this=0x7fffffffb830) at include/TString.h:234 234 char *GetPointer() { return IsLong() ? GetLongPointer() : GetShortPointer(); } (gdb) TString::IsLong (this=0x7fffffffb830) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::GetShortPointer (this=0x7fffffffb830) at include/TString.h:232 232 char *GetShortPointer() { return fRep.fShort.fData; } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:948 948 if (capac - len + n1 >= n2) { (gdb) 949 if (n1 != n2) { (gdb) 950 if (rem) { (gdb) 970 if (n2) memmove(p + pos, cs, n2); (gdb) 972 SetSize(tot); (gdb) TString::SetSize (this=0x7fffffffb830, s=5) at include/TString.h:226 226 void SetSize(Ssiz_t s) { IsLong() ? SetLongSize(s) : SetShortSize(s); } (gdb) TString::IsLong (this=0x7fffffffb830) at include/TString.h:216 216 Bool_t IsLong() const { return Bool_t(fRep.fShort.fSize & kShortMask); } (gdb) TString::SetShortSize (this=0x7fffffffb830, s=5) at include/TString.h:221 221 void SetShortSize(Ssiz_t s) { fRep.fShort.fSize = (unsigned char)s; } (gdb) TString::Replace (this=0x7fffffffb830, pos=1, n1=0, cs=0x7ffff7d86d20 "/etc", n2=4) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TString.cxx:973 973 p[tot] = 0; (gdb) 987 return *this; (gdb) 988 } (gdb) TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:414 414 char *s = gSystem->ConcatFileName(etc, sname); (gdb) p etc $39 = {_vptr.TString = 0x7ffff7f17bb0 , fRep = {{fLong = {fCap = 1697590789, fSize = 25460, fData = 0x1005ef10 "8\026\362\367\377\177"}, fShort = { fSize = 5 '\005', fData = "./etc\000\000\020\357\005\020\000\000\000"}, fRaw = {fWords = {1697590789, 25460, 268824336, 0}}}}, static fgIsA = {_M_b = {_M_p = 0x0}}} (gdb) p sname $40 = {_vptr.TString = 0x7ffff7f17bb0 , fRep = {{fLong = {fCap = 1937339149, fSize = 778921332, fData = 0xff006372746f6f72 }, fShort = {fSize = 13 '\r', fData = "system.rootrc\000\377"}, fRaw = {fWords = { 1937339149, 778921332, 1953460082, -16751758}}}}, static fgIsA = {_M_b = {_M_p = 0x0}}} (gdb) step TString::operator char const* (this=0x7fffffffb830) at include/TString.h:284 284 operator const char*() const { return GetPointer(); } (gdb) next TEnv::TEnv (this=0x1005ef10, name=0x7ffff7d7f0e0 ".rootrc") at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:416 416 ReadFile(s, kEnvGlobal); (gdb) p s $41 = 0x1005eef0 "" (gdb) x0x1005eef0 Undefined command: "x0x1005eef0". Try "help". (gdb) x 0x1005eef0 0x1005eef0: 0x00000000 (gdb) p !s $42 = false (gdb) strlen(s) Undefined command: "strlen". Try "help". (gdb) p 0x00000000 $43 = 0 (gdb) step TEnv::ReadFile (this=0x1005ef10, fname=0x1005eef0 "", level=kEnvGlobal) at /autofs/nccs-svm1_home1/wshi/ROOT/v5-34-00-patches/core/base/src/TEnv.cxx:596 596 if (!fname || !strlen(fname)) { (gdb) p fname $44 = 0x1005eef0 "" (gdb) p 0x1005eef0 $45 = 268824304 (gdb) p !fname $46 = false (gdb) !strlen(fname) bash: -c: line 0: syntax error near unexpected token `fname' bash: -c: line 0: `strlen(fname)' (gdb) step 597 Error("ReadFile", "no file name specified");