junest icon indicating copy to clipboard operation
junest copied to clipboard

Wiki page on how to debug package in case of seg fault

Open fsquillace opened this issue 8 years ago • 1 comments

A wiki page will be helpful for explaining how to troubleshoot issue in the presence of a segmentation fault. This is for internal usage as could help for the building of new JuNest images.

One important practice is even to compare packages between different JuNest images via pacman -Qq as, sometimes the segfault happens because of missing files.

Other useful page to consider:

  • https://wiki.archlinux.org/index.php/Step-by-step_debugging_guide
  • https://wiki.archlinux.org/index.php/Core_dump#Making_a_core_dump
  • https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

fsquillace avatar Dec 22 '16 17:12 fsquillace

coredumpctl list
coredumpctl info 3577
# To check if binary file contains symbols:
objdump --syms <binaryfile>

fsquillace avatar Dec 22 '16 17:12 fsquillace