About Segmentation violation

__

root [0] 
Processing amptprac3.cpp...

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007f6772bb2387 in __GI___waitpid (pid=18136, stat_loc=stat_loc
entry=0x7ffc26762908, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00007f6772b23d57 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:167
#2  0x00007f6773222940 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x55c5dee84b80) at /home/swarnava/Downloads/root-6.18.00/core/unix/src/TUnixSystem.cxx:2106
#3  TUnixSystem::StackTrace (this=0x55c5dee84b80) at /home/swarnava/Downloads/root-6.18.00/core/unix/src/TUnixSystem.cxx:2400
#4  0x00007f67732253a4 in TUnixSystem::DispatchSignals (this=0x55c5dee84b80, sig=kSigSegmentationViolation) at /home/swarnava/Downloads/root-6.18.00/core/unix/src/TUnixSystem.cxx:3631
#5  <signal handler called>
#6  _IO_fgets (buf=0x7ffc26765930 "\b", n=80, fp=0x0) at iofgets.c:47
#7  0x00007f6772ebdc43 in ?? ()
#8  0x7074706d61395a5f in ?? ()
#9  0x0000696933636172 in ?? ()
#10 0x00007ffc267655f0 in ?? ()
#11 0x000000000000000e in ?? ()
#12 0x7074706d61395a5f in ?? ()
#13 0x0000696933636172 in ?? ()
#14 0x0000000000000015 in ?? ()
#15 0x00007f6771bfa1d4 in ?? () from /home/swarnava/Downloads/build/lib/libCling.so
#16 0x00007f6772cb5ca0 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x00007ffc26765728 in ?? ()
#18 0x000055c5dfabd9f0 in ?? ()
#19 0x0000000000000015 in ?? ()
#20 0x00007ffc267657a0 in ?? ()
#21 0xd5aff78f88447200 in ?? ()
#22 0x0000000700000008 in ?? ()
#23 0x000055c5dfb5a510 in ?? ()
#24 0x0000000000000000 in ?? ()
===========================================================


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  _IO_fgets (buf=0x7ffc26765930 "b", n=80, fp=0x0) at iofgets.c:47
#7  0x00007f6772ebdc43 in ?? ()
#8  0x7074706d61395a5f in ?? ()
#9  0x0000696933636172 in ?? ()
#10 0x00007ffc267655f0 in ?? ()
#11 0x000000000000000e in ?? ()
#12 0x7074706d61395a5f in ?? ()
#13 0x0000696933636172 in ?? ()
#14 0x0000000000000015 in ?? ()
#15 0x00007f6771bfa1d4 in ?? () from /home/swarnava/Downloads/build/lib/libCling.so
#16 0x00007f6772cb5ca0 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#17 0x00007ffc26765728 in ?? ()
#18 0x000055c5dfabd9f0 in ?? ()
#19 0x0000000000000015 in ?? ()
#20 0x00007ffc267657a0 in ?? ()
#21 0xd5aff78f88447200 in ?? ()
#22 0x0000000700000008 in ?? ()
#23 0x000055c5dfb5a510 in ?? ()
#24 0x0000000000000000 in ?? ()
===========================================================

ROOT Version: 6.18.00
Platform: Not Provided
Compiler: ROOT


PLEASE HELP ME WHY THIS ERROR IS SHOWING

Hi,

Welcome to ROOT! It’s generally considered unfriendly to use all-capital sentences (let alone whole posts).

We cannot know what’s wrong without knowing your code. Could you share amptprac3.cpp?

Cheers, Axel.

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