Đặng Thị Ngọc Diệp
New member
How can segmentation fault be resolved?
Answer
6 Answers
Answer
6 Answers
- Compile your application with -g , then you’ll have debug symbols in the binary file.
- Use gdb to open the gdb console.
- Use file and pass it your application’s binary file in the console.
- Use run and pass in any arguments your application needs to start.
- Do something to cause a Segmentation Fault.