Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7194

How can a stack trace be used to determine the cause of a crash?

$
0
0

I understand the "big idea" behind stack traces, but how would one actually go about using a stack trace to determine the cause of a crash? For example, I'm coding a c++ macro, and my interpreter spits out the following stack trace:

>  *** Break *** illegal instruction> > > > =========================================================== There was a crash. This is the entire stack trace of all threads:> ===========================================================> #0  0x00007fb64ef29bbc in waitpid () from /lib64/libc.so.6> #1  0x00007fb64eea7ea2 in do_system () from /lib64/libc.so.6> #2  0x00007fb64ffb3d84 in TUnixSystem::StackTrace (this=0x98e960) at /cvmfs/myusername/trunk/centos7/source/root-6.16.00/core/unix/src/TUnixSystem.cxx:2413> #3  0x00007fb64ffb64bc in TUnixSystem::DispatchSignals (this=0x98e960, sig=kSigIllegalInstruction) at> /cvmfs/myusername/trunk/centos7/source/root-6.16.00/core/unix/src/TUnixSystem.cxx:3644> #4  <signal handler called>> #5  0x00007fb65057f54a in ?? ()> #6  0x000000000146e4ec in ?? ()> #7  0x000000000028dc9d in ?? ()> #8  0x0028dcf80146e51c in ?? ()> #9  0x00007ffd08a37890 in ?? ()> #10 0x0000000000051b93 in ?? ()> #11 0x000000000000a372 in ?? ()> #12 0x0000a3e900051c01 in ?? ()> #13 0x000000000000146e in ?? ()> #14 0x00007ffd08a3788f in ?? ()> #15 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.> ===========================================================> #5  0x00007fb65057f54a in ?? ()> #6  0x000000000146e4ec in ?? ()> #7  0x000000000028dc9d in ?? ()> #8  0x0028dcf80146e51c in ?? ()> #9  0x00007ffd08a37890 in ?? ()> #10 0x0000000000051b93 in ?? ()> #11 0x000000000000a372 in ?? ()> #12 0x0000a3e900051c01 in ?? ()> #13 0x000000000000146e in ?? ()> #14 0x00007ffd08a3788f in ?? ()> #15 0x0000000000000000 in ?? ()> ===========================================================

Viewing all articles
Browse latest Browse all 7194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>