/Users/spiffyzha/Desktop/PreProcessor$ lldb /Users/spiffyzha/Packages/root5_/bin/root.exe Current executable set to '/Users/spiffyzha/Packages/root5_/bin/root.exe' (x86_64). (lldb) breakpoint set -n malloc_error_break Breakpoint 1: where = libsystem_c.dylib`malloc_error_break, address = 0x000000000002c584 (lldb) run -l Process 93123 launched: '/Users/spiffyzha/Packages/root5_/bin/root.exe' (x86_64) 1 location added to breakpoint 1 TFile * f = new TFile("acanvas.root"); TCanvas * c = f -> Get("canvas1") root.exe(93123,0x7fff71031180) malloc: *** error for object 0x7fff71cfd570: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Process 93123 stopped * thread #1: tid = 0x4534a, 0x00007fff85726584 libsystem_c.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2 frame #0: 0x00007fff85726584 libsystem_c.dylib`malloc_error_break libsystem_c.dylib`malloc_error_break: -> 0x7fff85726584: pushq %rbp 0x7fff85726585: movq %rsp, %rbp 0x7fff85726588: nop 0x7fff85726589: nopl (%rax) (lldb) thread backtrace * thread #1: tid = 0x4534a, 0x00007fff85726584 libsystem_c.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2 * frame #0: 0x00007fff85726584 libsystem_c.dylib`malloc_error_break frame #1: 0x00007fff85727942 libsystem_c.dylib`free + 321 frame #2: 0x0000000101886518 libstdc++.6.dylib`std::string::_M_mutate(unsigned long, unsigned long, unsigned long) + 392 frame #3: 0x000000010188698e libstdc++.6.dylib`std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) + 30 frame #4: 0x000000010013d396 libCore.5.so`TClassRef::Assign(this=0x00007fff5fbd8b48, rhs=0x00000002031afc20) + 86 at TClassRef.cxx:74 frame #5: 0x00000002052385e8 libRIO.so`TClassRef::operator=(this=0x00007fff5fbd8b48, rhs=0x00000002031afc20) + 72 at TClassRef.h:63 frame #6: 0x00000002052c4e0f libRIO.so`TStreamerInfo::BuildOld(this=0x0000000207239230) + 11631 at TStreamerInfo.cxx:1922 frame #7: 0x000000010011c104 libCore.5.so`TClass::GetStreamerInfo(this=0x00000002072bf530, version=7) const + 1252 at TClass.cxx:3758 frame #8: 0x0000000100163993 libCore.5.so`TStreamerBase::InitStreaming(this=0x0000000207238ff0) + 371 at TStreamerElement.cxx:658 frame #9: 0x000000010016380c libCore.5.so`TStreamerBase::Init(this=0x0000000207238ff0, (null)=0x0000000000000000) + 108 at TStreamerElement.cxx:638 frame #10: 0x00000002052c29a7 libRIO.so`TStreamerInfo::BuildOld(this=0x0000000207238e30) + 2311 at TStreamerInfo.cxx:1642 frame #11: 0x0000000205232f0b libRIO.so`TBufferFile::ReadClassBuffer(this=0x0000000208447460, cl=0x00000002072bf260, pointer=0x00000002084c70b0, onFileClass=0x0000000000000000) + 1211 at TBufferFile.cxx:3845 frame #12: 0x00000002078a2a04 libHist.so`TH1D::Streamer(this=0x00000002084c70b0, R__b=0x0000000208447460) + 100 at G__Hist.cxx:10119 frame #13: 0x0000000100134270 libCore.5.so`TClass::StreamerTObject(this=0x00000002072bf260, object=0x00000002084c70b0, b=0x0000000208447460, (null)=0x0000000000000000) const + 96 at TClass.cxx:5437 frame #14: 0x00000002052347e9 libRIO.so`TClass::Streamer(this=0x00000002072bf260, obj=0x00000002084c70b0, b=0x0000000208447460, onfile_class=0x0000000000000000) const + 137 at TClass.h:451 frame #15: 0x000000020522e9cf libRIO.so`TBufferFile::ReadObjectAny(this=0x0000000208447460, clCast=0x000000020313c220) + 2415 at TBufferFile.cxx:2523 frame #16: 0x00000001000e81cd libCore.5.so`TBuffer& operator>>(buf=0x0000000208447460, obj=0x00007fff5fbdaad8) + 77 at TBuffer.h:381 frame #17: 0x00000001000f0521 libCore.5.so`TList::Streamer(this=0x00000002084ba600, b=0x0000000208447460) + 273 at TList.cxx:1027 frame #18: 0x0000000100134270 libCore.5.so`TClass::StreamerTObject(this=0x00000002031afc20, object=0x00000002084ba600, b=0x0000000208447460, (null)=0x0000000000000000) const + 96 at TClass.cxx:5437 frame #19: 0x00000002052347e9 libRIO.so`TClass::Streamer(this=0x00000002031afc20, obj=0x00000002084ba600, b=0x0000000208447460, onfile_class=0x0000000000000000) const + 137 at TClass.h:451 frame #20: 0x000000020522c0bd libRIO.so`TBufferFile::ReadFastArray(this=0x0000000208447460, start=0x0000000208447748, cl=0x00000002031afc20, n=1, isPreAlloc=true, streamer=0x0000000000000000, onFileClass=0x0000000000000000) + 525 at TBufferFile.cxx:1725 frame #21: 0x0000000205472981 libRIO.so`int TStreamerInfo::ReadBuffer(this=0x000000020724b610, b=0x0000000208447460, arr=0x00007fff5fbdc120, compinfo=0x00000002084b7618, first=0, last=1, narr=1, eoffset=0, arrayMode=0) + 27969 at TStreamerInfoReadBuffer.cxx:1081 frame #22: 0x00000002052e13fd libRIO.so`TStreamerInfoActions::GenericReadAction(buf=0x0000000208447460, addr=0x0000000208447520, config=0x00000002084b7600) + 141 at TStreamerInfoActions.cxx:167 frame #23: 0x0000000205235165 libRIO.so`TStreamerInfoActions::TConfiguredAction::operator(this=0x0000000202081f60, buffer=0x0000000208447460, object=0x0000000208447520)(TBuffer&, void*) const + 53 at TStreamerInfoActions.h:111 frame #24: 0x0000000205233a0e libRIO.so`TBufferFile::ApplySequence(this=0x0000000208447460, sequence=0x00000002084b6c90, obj=0x0000000208447520) + 318 at TBufferFile.cxx:3973 frame #25: 0x00000002052329b0 libRIO.so`TBufferFile::ReadClassBuffer(this=0x0000000208447460, cl=0x00000002031e5be0, pointer=0x0000000208447520, version=11, start=56, count=818576, onFileClass=0x0000000000000000) + 1840 at TBufferFile.cxx:3768 frame #26: 0x00000002032d2c6e libGpad.so`TPad::Streamer(this=0x0000000208447520, b=0x0000000208447460) + 638 at TPad.cxx:6101 frame #27: 0x0000000203292141 libGpad.so`TCanvas::Streamer(this=0x0000000208447520, b=0x0000000208447460) + 321 at TCanvas.cxx:1963 frame #28: 0x00000002052a82cc libRIO.so`TKey::ReadObj(this=0x00000002031affd0) + 1772 at TKey.cxx:806 frame #29: 0x000000020523f85c libRIO.so`TDirectoryFile::Get(this=0x00000002031af010, namecycle=0x00000002031fb838) + 1116 at TDirectoryFile.cxx:894 frame #30: 0x00000001002e4469 libCore.5.so`G__G__Base1_9_0_33(G__value*, char const*, G__param*, int) + 153 frame #31: 0x0000000100e4c144 libCint.5.so`Cint::G__ExceptionWrapper(funcp=0x00000001002e43d0, result7=0x00007fff5fbeb1a0, funcname=0x000000020319ed70, libp=0x00007fff5fbe0760, hash=0)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) + 100 at Api.cxx:393 frame #32: 0x0000000100f5fa42 libCint.5.so`G__execute_call(result7=0x00007fff5fbeb1a0, libp=0x00007fff5fbe0760, ifunc=0x000000020319ed70, ifn=0) + 98 at newlink.cxx:2408 frame #33: 0x0000000100f603d6 libCint.5.so`G__call_cppfunc(result7=0x00007fff5fbeb1a0, libp=0x00007fff5fbe0760, ifunc=0x000000020319ed70, ifn=0) + 1830 at newlink.cxx:2612 frame #34: 0x0000000100f1fe28 libCint.5.so`G__interpret_func(result7=0x00007fff5fbeb1a0, funcname=0x0000000202037a00, libp=0x00007fff5fbe0760, hash=288, p_ifunc=0x000000020319ed70, funcmatch=1, memfunc_flag=1) + 4968 at ifunc.cxx:5791 frame #35: 0x0000000100f01e7d libCint.5.so`G__getfunction(item=0x0000000202032e03, known3=0x00007fff5fbed774, memfunc_flag=1) + 9965 at func.cxx:2660 frame #36: 0x000000010107bf7e libCint.5.so`G__getstructmem(store_var_type=112, varname=0x00007fff5fbec6f0, membername=0x0000000202032e03, memnamesize=2147483647, tagname=0x0000000202036e00, known2=0x00007fff5fbed774, varglobal=0x000000010116ac28, objptr=2) + 4894 at var.cxx:6821 frame #37: 0x000000010106abb8 libCint.5.so`G__getvariable(item=0x0000000202032e00, known=0x00007fff5fbed774, varglobal=0x000000010116ac28, varlocal=0x0000000000000000) + 3272 at var.cxx:5405 frame #38: 0x0000000100ef061c libCint.5.so`G__getitem(item=0x0000000202032e00) + 2732 at expr.cxx:1906 frame #39: 0x0000000100eeeed4 libCint.5.so`G__getexpr(expression=0x000000020205b800) + 87268 at expr.cxx:1488 frame #40: 0x0000000100ebe1c1 libCint.5.so`G__define_var(tagnum=129, typenum=-1) + 16417 at decl.cxx:2611 frame #41: 0x0000000100fb094b libCint.5.so`G__defined_type(type_name=0x00007fff5fbf8fc0, len=7) + 3067 at parse.cxx:4652 frame #42: 0x0000000100fa67e0 libCint.5.so`G__exec_statement(mparen=0x00007fff5fbf91cc) + 19456 at parse.cxx:6672 frame #43: 0x0000000100eb8864 libCint.5.so`G__exec_tempfile_core(file=0x0000000000000000, fp=0x00007fff71038728) + 1668 at debug.cxx:266 frame #44: 0x0000000100eb81c9 libCint.5.so`G__exec_tempfile_fp(fp=0x00007fff71038728) + 41 at debug.cxx:807 frame #45: 0x0000000100fc5786 libCint.5.so`G__process_cmd(line=0x00000002031f1f40, prompt=0x0000000201b20248, more=0x0000000201b20240, err=0x00007fff5fbfc53c, rslt=0x00007fff5fbfc540) + 43910 at pause.cxx:3341 frame #46: 0x000000010010742e libCore.5.so`TCint::ProcessLine(this=0x0000000201b20200, line=0x00000002031f1f40, error=0x0000000000000000) + 622 at TCint.cxx:549 frame #47: 0x000000010000f258 libCore.5.so`TApplication::ProcessLine(this=0x0000000201e35410, line=0x00000002031f1f40, sync=false, err=0x0000000000000000) + 4184 at TApplication.cxx:978 frame #48: 0x0000000101750f0a libRint.5.so`TRint::HandleTermInput(this=0x0000000201e35410) + 1066 at TRint.cxx:583 frame #49: 0x000000010174e20a libRint.5.so`TTermInputHandler::Notify(this=0x0000000203154d10) + 42 at TRint.cxx:125 frame #50: 0x0000000101752489 libRint.5.so`TTermInputHandler::ReadNotify(this=0x0000000203154d10) + 25 at TRint.cxx:117 frame #51: 0x000000010016e1ae libCore.5.so`TUnixSystem::CheckDescriptors(this=0x0000000201b14350) + 350 at TUnixSystem.cxx:1396 frame #52: 0x000000010017e11e libCore.5.so`TMacOSXSystem::DispatchOneEvent(this=0x0000000201b14350, pendingOnly=false) + 510 at TMacOSXSystem.mm:361 frame #53: 0x00000001000a28c3 libCore.5.so`TSystem::InnerLoop(this=0x0000000201b14350) + 51 at TSystem.cxx:410 frame #54: 0x00000001000a26f3 libCore.5.so`TSystem::Run(this=0x0000000201b14350) + 579 at TSystem.cxx:360 frame #55: 0x00000001000104f4 libCore.5.so`TApplication::Run(this=0x0000000201e35410, retrn=false) + 68 at TApplication.cxx:1126 frame #56: 0x000000010175062b libRint.5.so`TRint::Run(this=0x0000000201e35410, retrn=false) + 2747 at TRint.cxx:454 frame #57: 0x00000001000016b7 root.exe`main(argc=1, argv=0x00007fff5fbfefa8) + 135 at rmain.cxx:29 (lldb) q Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] y