cm core dump analysis


  • Go to the location of core file , ideally it should be there in $PIN_HOME/sys/cm
  • Then , execute below command : 
 gdb cm <core file name >
  • It will execute debugger for the core file .
  • Now , put below command :
Thread apply all bt
  • The output of above command will dump the stack frames for all the threads in a process
  • You can select thread a according to your issue.
  • use below command to select a thread.
Thread 1
  • This will switch to thread 1 after switchover the stack for the current thread can be dummped with bt command .
bt
  • Once the back trace is dumped we can inspect each frame, in this case frame 0 looks interesting to us, by using below command :
frame 0
  • frame <number>" command is use to dump the particular frame of stack trace.
  • The command "list +" will show the source for the stack dump .
list+



Comments

Popular posts from this blog

NO_RESPONSE file handling during rating in ECE and OCOMC

Script to create snapshot in Oracle ECE