Hello,
I observe an error when calling TFile::Write() using ROOT 5.18.00. This error does not occur when working with ROOT 5.14.00e. Both ROOT versions are compiled and used on a 64 bit machine.
The test program compiles but at runtime one gets the following error message when using ROOT 5.18.00:
Error in TPluginManager::FindHandler: Cannot find plugin handler for TVirtualStreamerInfo! Does $ROOTSYS/etc/plugins/TVirtualStreamerInfo exist?
Program received signal SIGSEGV, Segmentation fault.
Checking the file from the error message:
$ ls $ROOTSYS/etc/plugins/TVirtualStreamerInfo
P010_TStreamerInfo.C
The stacktrace is:
(gdb) bt
#0 0x0000002a959fb235 in TClass::GetStreamerInfo () from /scratch/user/floss/workspace/root-51800/lib/libCore.so
#1 0x0000002a9670d53d in TStreamerInfo::Build () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#2 0x0000002a966d9228 in TBufferFile::WriteClassBuffer () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#3 0x0000002a96c6f49d in TH1F::Streamer () from /scratch/user/floss/workspace/root-51800/lib/libHist.so
#4 0x0000002a96702842 in TKey::TKey () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#5 0x0000002a966eb6a9 in TFile::CreateKey () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#6 0x0000002a966e1f6b in TDirectoryFile::WriteTObject () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#7 0x0000002a959839d7 in TObject::Write () from /scratch/user/floss/workspace/root-51800/lib/libCore.so
#8 0x0000002a966e1aa0 in TDirectoryFile::Write () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#9 0x0000002a966edf45 in TFile::Write () from /scratch/user/floss/workspace/root-51800/lib/libRIO.so
#10 0x000000000040775c in main () at test.cpp:147
Trying to find the error:
(gdb) up
#10 0x00000000004077fc in main () at test.cpp:158
158 theRootFile->Write();
(gdb) return
Make main return now? (y or n) y
#0 0x0000003bba01c3fb in __libc_start_main () from /lib64/tls/libc.so.6
Does anybody has an idea what might cause this problem and what to do about it?
Thanks,
Alex