User Tools

Site Tools


admin:debuggingcrash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:debuggingcrash [2018/10/03 13:03]
veera
admin:debuggingcrash [2018/10/03 13:20] (current)
veera [Debugging with a binary with symbols]
Line 1: Line 1:
 ====== Debugging crashes and other problems on the Trisul Probe nodes ====== ====== Debugging crashes and other problems on the Trisul Probe nodes ======
  
-Despite our best efforts with testing ​and widespread deployment sometimes the Trisul-Probes can stop. This document describes how you can debug such events. ​+Despite our best efforts with testing , sometimes the Trisul-Probes can stop for a number of reasons. This document describes how you can debug such events. ​
  
 ===== Where to look ===== ===== Where to look =====
  
-If you find Trisul Probe has crashed, you can collect the following information before restarting. ​ If nothing jumps out , you can contact Trisul Support and send us the log files and version numbers+If you find Trisul Probe has crashed, you can collect the following information before restarting. ​ If nothing jumps out , you can contact ​[[https://​www.trisul.org/​support/​|Trisul Support]] and send us the logs.
  
 ==== Log files ==== ==== Log files ====
  
-The log files on the trisul probe are stored under ''/​usr/​local/​var/​log/​trisul-probe/​domain0/​probe0/​context0'' ​ The latest ''​ns-xxx.log''​ contains the most recent logs before the crash. You can also use the helper ​bash aliases :  ​+The log files on the trisul probe are stored under ''/​usr/​local/​var/​log/​trisul-probe/​domain0/​probe0/​context0'' ​ The latest ''​ns-xxx.log''​ contains the most recent logs before the crash. You can also use the [[https://​www.trisul.org/​docs/​ref/​trisbashrc.html|trisbashrc ​bash aliases]] to navigate the directories as shown below:  ​
  
 <code bash> <code bash>
 +# add the helper aliases
 source /​usr/​local/​share/​trisul-probe/​trisbashrc ​ source /​usr/​local/​share/​trisul-probe/​trisbashrc ​
  
Line 74: Line 75:
  
 # run the special trisul binary we send you like this  # run the special trisul binary we send you like this 
-gdb --args /​home/​mike3/​trisul -nodemon /​usr/​local/​etc/​trisul-probe/​domain0/​probe0/​context0/​trisulProbeConfig.xml -mode online_rxring+gdb --args /​home/​mike3/​trisul -nodemon ​
 +    ​/​usr/​local/​etc/​trisul-probe/​domain0/​probe0/​context0/​trisulProbeConfig.xml ​
 +       -mode online_rxring
  
 (...wait...) ​ (...wait...) ​
admin/debuggingcrash.1538571798.txt.gz · Last modified: 2018/10/03 13:03 by veera