How to view the stack information
When I run the TCL in the GDB.There is an error as follows:
Program received signal SIGFPE, Arithmetic exception.
ZBR::c_skip (Li=50725377) at zbr/zbr.cc:2106
2106 Cm_sum = Cm_sum + pow(NetSystemConfig.Cm, k);
After I run bt to look for stack information. There are some information as follows.But I don't know how to analysis the stack information.Can you help me?Thank you very much.
#0 ZBR::c_skip (Li=50725377) at zbr/zbr.cc:2106
#1 0x082c90d6 in ZBR::rt_clusterhead (this=0x886c220, dst=4)
at zbr/zbr.cc:2199
#2 0x082c7160 in ZBR::recvRequest (this=0x886c220, p=0x8b3f308)
at zbr/zbr.cc:1230
#3 0x082c70b7 in ZBR::recvZBR (this=0x886c220, p=0x8b3f308) at zbr/zbr.cc:1183
#4 0x082c6f2b in ZBR::recv (this=0x886c220, p=0x8b3f308) at zbr/zbr.cc:1123
#5 0x081ce899 in Classifier::recv (this=0x886afb0, p=0x8b3f308, h=0x0)
at classifier/classifier.cc:153
#6 0x081c71cd in NsObject::handle (this=0x886afb0, e=0x8b3f308)
at common/object.cc:93
#7 0x081c43bc in Scheduler::dispatch (this=0x87f6240, p=0x8b3f308,
t=10.323193112133071) at common/scheduler.cc:150
#8 0x081c42f0 in Scheduler::run (this=0x87f6240) at common/scheduler.cc:129
#9 0x081c449d in Scheduler::command (this=0x87f6240, argc=2, argv=0xbfffd6f8)
at common/scheduler.cc:198
#10 0x083bd85a in TclClass::dispatch_cmd(void*, Tcl_Interp*, int, char const**)
()
#11 0x083c1431 in OTclDispatch (cd=0x87f6118, in=0x862b3e8, argc=3,
argv=0xbfffd7f0) at otcl.c:434
#12 0x083c546e in TclInvokeStringCommand ()
#13 0x083c7acd in TclEvalObjvInternal ()
#14 0x083f1ff2 in TclExecuteByteCode ()
|