Crash during filling histograms


ROOT Version: Not Provided 6
Platform: Not Provided Ubuntu 6.4.0-8ubuntu1
Compiler: Not Provided__gcc version 6.4.0 20171010

Dear colleagues,

while filling histograms I’got the message about the crash. What can be the reason?

Thank you in advance,
Anna

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007fc33d7468fa in __GI___waitpid (pid=22973, stat_loc=stat_loc
entry=0x7ffc3d198898, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007fc33d6b59cb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2  0x00007fc33e30e678 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x5575c7c6b7c0) at /home/anna/WORK/PandaRoot/fairsoft_may18/tools/root/core/unix/src/TUnixSystem.cxx:2118
#3  TUnixSystem::StackTrace (this=0x5575c7c6b7c0) at /home/anna/WORK/PandaRoot/fairsoft_may18/tools/root/core/unix/src/TUnixSystem.cxx:2412
#4  0x00007fc33e310d0c in TUnixSystem::DispatchSignals (this=0x5575c7c6b7c0, sig=kSigSegmentationViolation) at /home/anna/WORK/PandaRoot/fairsoft_may18/tools/root/core/unix/src/TUnixSystem.cxx:3643
#5  <signal handler called>
#6  0x00007fc33dd60e98 in std::istream::operator>>(int&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fc33ea4ba77 in ?? ()
#8  0x0000000000000000 in ?? ()
===========================================================

We would need a small reproducer to help you.

Do you mean the program?
It was working well at the statistics below 10000000 events. But after increasing the statistics to 100000000 it crashed at 38000000.

I’m sorry. Seems I found the problem myself - it was in dimentionality array that I filled in. It was too small. Thank you

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