I can't understand this Error.... Would appreciate any help

So I am doing a 64 histograms and filling them into a 8x8 canvas, and an error appears but it is not a syntax error but just rather something that i don’t know what to make of.

Attachd is the file and the .dat file. This is rather urgent so I would appreciate any help.
note that c[0] is not filled into any histograms. and thus the first column of the text file can be ignored.

Error message:
root [4] .x histo64.c

*** Break *** segmentation violation
Generating stack trace…
0x0000000102431a00 in TROOT::FindSpecialObject(char const*, void*&) (in libCore.so) + 368
0x0000000102490222 in TCint::FindSpecialObject(char const*, Cint::G__ClassInfo*, void**, void**) (in libCore.so) + 66
0x0000000102be65ee in G__APIGetSpecialObject_layer1 (in libCint.so) + 110
0x0000000102d50a22 in G__getvariable (in libCint.so) + 5986
0x0000000102c46a48 in G__getitem (in libCint.so) + 408
0x0000000102c47193 in G__getitem (in libCint.so) + 2275
0x0000000102c4247a in G__getexpr (in libCint.so) + 30506
0x0000000102c3acc8 in G__calc_internal (in libCint.so) + 984
0x0000000102c8ca09 in G__define (in libCint.so) + 2441
0x0000000102cbf5e6 in G__exec_statement (in libCint.so) + 10070
0x0000000102c89280 in G__loadfile (in libCint.so) + 8048
0x0000000102c871d0 in G__include_file (in libCint.so) + 704
0x0000000102cbf43e in G__exec_statement (in libCint.so) + 9646
0x0000000102c89280 in G__loadfile (in libCint.so) + 8048
0x0000000102c871e9 in G__include_file (in libCint.so) + 729
0x0000000102cbf43e in G__exec_statement (in libCint.so) + 9646
0x0000000102c89280 in G__loadfile (in libCint.so) + 8048
0x0000000102c871e9 in G__include_file (in libCint.so) + 729
0x0000000102cbf43e in G__exec_statement (in libCint.so) + 9646
0x0000000102c89280 in G__loadfile (in libCint.so) + 8048
0x0000000102ccfeef in G__process_cmd (in libCint.so) + 13935
0x0000000102492461 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) (in libCore.so) + 817
0x00000001024927b9 in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) (in libCore.so) + 121
0x00000001023f0d7b in TApplication::ExecuteFile(char const*, int*, bool) (in libCore.so) + 2475
0x00000001023eff44 in TApplication::ProcessLine(char const*, bool, int*) (in libCore.so) + 1204
0x00000001033024c6 in TRint::HandleTermInput() (in libRint.so) + 678
0x00000001024ca9b9 in TUnixSystem::CheckDescriptors() (in libCore.so) + 313
0x00000001024d39eb in TMacOSXSystem::DispatchOneEvent(bool) (in libCore.so) + 379
0x000000010244f6aa in TSystem::InnerLoop() (in libCore.so) + 26
0x000000010244f5a7 in TSystem::Run() (in libCore.so) + 391
0x00000001023f0ff4 in TApplication::Run(bool) (in libCore.so) + 36
0x0000000103301e0f in TRint::Run(bool) (in libRint.so) + 1439
0x00000001023e4e1f in main (in root.exe) + 79
0x00007fff967e45fd in start (in libdyld.dylib) + 1
0x0000000000000003 in

Also, This possibly follow from this. I have the same(?) problem when i made a 8x8 graphs canvas. I thought that changing it to .dat file and declaring


histo64.c (2.23 KB)
gain1.dat (11.3 KB)

.
histo64.cxx (1.53 KB)

Hi thanks for helping out! Jus to be sure for future reference though, did the error come from the fact that I used historgram instead of ntuples? And why is that?

Also, I wonder if there are easy ways to set x, y, range for the histogram in ntuple? I only know how to do that in histograms…I read the documentation and found nothing. I tried using the same options as histograms and they didn’t work. If you can point me towards where to look, it would be greatly appreciate!

root.cern.ch/root/html/TNtuple.html

ROOT Primer -> N-tuples in ROOT
ROOT User’s Guide -> Trees

ROOT Primer -> Histograms
ROOT User’s Guide -> Histograms

ROOT User’s Guide -> The Tutorials and Tests
${ROOTSYS}/tutorials/