analyze_seg_fault.py
The analyze_seg_fault.py takes a line in a stack frame and prints the function name, source filename, and line number where the error occurred. This information can be sent to a MATRIXX Support representative to help troubleshoot errors.
Syntax
analyze_seg_fault.py segfault -h -d
Options
- segfault
- The Segmentation fault located in the
${MTX_LOG_DIR}/mtx.log file or
/var/log/messages. The
segfault
string is in the following format and must be inside double quotes (" ").
Example:segfault at address ip ip_address sp sp_address error error in file[code_starting_address+size]
segfault at 7f5eccf7c718 ip 00007f5b52c47e1b sp 00007f4f477fb4b0 error 4 in libMtxSto.so[7f5b52a8c000+267000]
- -h, --help
- Returns information about the script.
- -d, --debug
- If this option is specified, extra messages are printed to help with debugging this script.
For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.
Analyze Error 4 in libMtxSto.so
analyze_seg_fault.py "segfault at 7f5eccf7c718 ip 00007f5b52c47e1b sp 00007f4f477fb4b0 error 4 in libMtxSto.so[7f5b52a8c000+267000]"