Python segmentation fault core dumped debug . Resolving Segmentation Fault (“Core dumped”) in Ubuntu. . github. I also tried running it in gdb and backtraced it with these commands: gdb -ex r --args python3 test. py", line 5 in <module>. Step 2: Select Advanced options for Ubuntu. Step 3: Run Ubuntu in the recovery mode and you will be. 9, but `numpy` `1. .