*** Break *** segmentation violation error

Hi everyone,
I hope somebody can help me. I wrote a C++ programme that should read and fit data and make a graph with my data using a TGrapherrors. The programme doesn’t work when I insert my data: I see this on screen of my virtual machine…

 *** Break *** segmentation violation

There was a crash.
This is the entire stack trace of all threads:
#0  0x00007f2df9549ffa in __GI___waitpid (pid=2599, stat_loc=stat_loc
entry=0x7ffcaa9b37c0, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007f2df94d10ab in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2  0x00007f2dfe335377 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x5639ade26570) at /home/studente/tempo/root/core/unix/src/TUnixSystem.cxx:2119
#3  TUnixSystem::StackTrace (this=0x5639ade26570) at /home/studente/tempo/root/core/unix/src/TUnixSystem.cxx:2413
#4  0x00007f2dfe337ac4 in TUnixSystem::DispatchSignals (this=0x5639ade26570, sig=kSigSegmentationViolation) at /home/studente/tempo/root/core/unix/src/TUnixSystem.cxx:3644
#5  <signal handler called>
#6  0x00005639acd906a4 in main ()

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
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  0x00005639acd906a4 in main ()

I show you my programme and my data. [diodestudy.cpp.txt|attachment](upload://7xUE8D9zir3zrPNld1ZoGnMeCFh.txt) (1.4 KB)

Dati_diodo_840401.txt (1.3 KB)

What should I do to solve the problem?


Maybe those should be decimal points instead of commas in the data file?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.