Answers for "how to know where sementation fault occured"

13

segmentation fault

Segfaults are caused by a program trying to read or write an illegal memory location
Posted by: Guest on April-26-2020
0

how to know where segfaut is c

$ gdb ./a.out
(gdb) run
<segfault happens here>
(gdb) backtrace
<offending code is shown here
Posted by: Guest on December-07-2020

Code answers related to "how to know where sementation fault occured"

Browse Popular Code Answers by Language