$ ./test.py (double)0.00000000000000000e+00 *** Break *** segmentation violation =========================================================== There was a crash. This is the entire stack trace of all threads: =========================================================== Thread 2 (Thread 0x7ff7cdfa9700 (LWP 18464)): #0 0x0000003fb1e0d620 in sem_wait () from /lib64/libpthread.so.0 #1 0x0000003fb2707575 in PyThread_acquire_lock () from /lib64/libpython2.7.so.1.0 #2 0x0000003fb26d6b34 in PyEval_RestoreThread () from /lib64/libpython2.7.so.1.0 #3 0x00007ff7cdfabfd3 in ?? () from /usr/lib64/python2.7/lib-dynload/timemodule.so #4 0x0000003fb26dd0e1 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #5 0x0000003fb26ddb1f in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0 #6 0x0000003fb266d8a7 in ?? () from /lib64/libpython2.7.so.1.0 #7 0x0000003fb2649a7e in PyObject_Call () from /lib64/libpython2.7.so.1.0 #8 0x0000003fb26d9eeb in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #9 0x0000003fb26dcd51 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #10 0x0000003fb26dcd51 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #11 0x0000003fb26ddb1f in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0 #12 0x0000003fb266d796 in ?? () from /lib64/libpython2.7.so.1.0 #13 0x0000003fb2649a7e in PyObject_Call () from /lib64/libpython2.7.so.1.0 #14 0x0000003fb2658070 in ?? () from /lib64/libpython2.7.so.1.0 #15 0x0000003fb2649a7e in PyObject_Call () from /lib64/libpython2.7.so.1.0 #16 0x0000003fb26d71c7 in PyEval_CallObjectWithKeywords () from /lib64/libpython2.7.so.1.0 #17 0x0000003fb270b432 in ?? () from /lib64/libpython2.7.so.1.0 #18 0x0000003fb1e07d14 in start_thread () from /lib64/libpthread.so.0 #19 0x0000003fb16f168d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ff7d90ee740 (LWP 18457)): #0 0x0000003fb16ba347 in waitpid () from /lib64/libc.so.6 #1 0x0000003fb164143e in do_system () from /lib64/libc.so.6 #2 0x0000003fb1641800 in system () from /lib64/libc.so.6 #3 0x00007ff7d1762e76 in TUnixSystem::StackTrace() () from /opt/HEP/lib/root/libCore.so #4 0x00007ff7d1765693 in TUnixSystem::DispatchSignals(ESignals) () from /opt/HEP/lib/root/libCore.so #5 #6 0x0000000000000270 in ?? () #7 0x00007ff7d171451b in THashTable::FindObject(TObject const*) const () from /opt/HEP/lib/root/libCore.so #8 0x00007ff7d17103b7 in TMap::GetValue(TObject const*) const () from /opt/HEP/lib/root/libCore.so #9 0x00007ff7d236d0d8 in TFile::SetCacheRead(TFileCacheRead*, TObject*) () from /opt/HEP/lib/root/libRIO.so #10 0x00007ff7d1fb71e5 in TTreeCache::~TTreeCache() () from /opt/HEP/lib/root/libTree.so #11 0x00007ff7d1fb7259 in TTreeCache::~TTreeCache() () from /opt/HEP/lib/root/libTree.so #12 0x00007ff7d2371726 in TFile::~TFile() () from /opt/HEP/lib/root/libRIO.so #13 0x00007ff7d23719d9 in TFile::~TFile() () from /opt/HEP/lib/root/libRIO.so #14 0x00007ff7d2457a9d in ROOT::delete_TFile(void*) () from /opt/HEP/lib/root/libRIO.so #15 0x00007ff7d1754191 in TClass::Destructor(void*, bool) () from /opt/HEP/lib/root/libCore.so #16 0x00007ff7d2763b19 in PyROOT::(anonymous namespace)::op_dealloc(PyROOT::ObjectProxy*) () from /opt/HEP/lib/root/libPyROOT.so #17 0x0000003fb269a43b in ?? () from /lib64/libpython2.7.so.1.0 #18 0x0000003fb266c0e9 in ?? () from /lib64/libpython2.7.so.1.0 #19 0x0000003fb26dcd6e in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #20 0x0000003fb26ddb1f in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0 #21 0x0000003fb26ddbf2 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0 #22 0x0000003fb26f6b9a in ?? () from /lib64/libpython2.7.so.1.0 #23 0x0000003fb26f7992 in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0 #24 0x0000003fb26f83ab in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0 #25 0x0000003fb2709882 in Py_Main () from /lib64/libpython2.7.so.1.0 #26 0x0000003fb1621735 in __libc_start_main () from /lib64/libc.so.6 #27 0x00000000004006f1 in _start () =========================================================== The lines below might hint at the cause of the crash. If they do not help you then please submit a bug report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace from above as an attachment in addition to anything else that might help us fixing this issue. =========================================================== #6 0x0000000000000270 in ?? () #7 0x00007ff7d171451b in THashTable::FindObject(TObject const*) const () from /opt/HEP/lib/root/libCore.so #8 0x00007ff7d17103b7 in TMap::GetValue(TObject const*) const () from /opt/HEP/lib/root/libCore.so #9 0x00007ff7d236d0d8 in TFile::SetCacheRead(TFileCacheRead*, TObject*) () from /opt/HEP/lib/root/libRIO.so #10 0x00007ff7d1fb71e5 in TTreeCache::~TTreeCache() () from /opt/HEP/lib/root/libTree.so #11 0x00007ff7d1fb7259 in TTreeCache::~TTreeCache() () from /opt/HEP/lib/root/libTree.so #12 0x00007ff7d2371726 in TFile::~TFile() () from /opt/HEP/lib/root/libRIO.so #13 0x00007ff7d23719d9 in TFile::~TFile() () from /opt/HEP/lib/root/libRIO.so #14 0x00007ff7d2457a9d in ROOT::delete_TFile(void*) () from /opt/HEP/lib/root/libRIO.so #15 0x00007ff7d1754191 in TClass::Destructor(void*, bool) () from /opt/HEP/lib/root/libCore.so #16 0x00007ff7d2763b19 in PyROOT::(anonymous namespace)::op_dealloc(PyROOT::ObjectProxy*) () from /opt/HEP/lib/root/libPyROOT.so #17 0x0000003fb269a43b in ?? () from /lib64/libpython2.7.so.1.0 #18 0x0000003fb266c0e9 in ?? () from /lib64/libpython2.7.so.1.0 #19 0x0000003fb26dcd6e in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0 #20 0x0000003fb26ddb1f in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0 #21 0x0000003fb26ddbf2 in PyEval_EvalCode () from /lib64/libpython2.7.so.1.0 #22 0x0000003fb26f6b9a in ?? () from /lib64/libpython2.7.so.1.0 #23 0x0000003fb26f7992 in PyRun_FileExFlags () from /lib64/libpython2.7.so.1.0 #24 0x0000003fb26f83ab in PyRun_SimpleFileExFlags () from /lib64/libpython2.7.so.1.0 #25 0x0000003fb2709882 in Py_Main () from /lib64/libpython2.7.so.1.0 #26 0x0000003fb1621735 in __libc_start_main () from /lib64/libc.so.6 #27 0x00000000004006f1 in _start () =========================================================== Segmentation fault (core dumped)