simple examples of how to
Sunday, July 22, 2012
segmentation fault (core dumped)
Several tips while running into this message.
1) you can find the corresponding crash files at /var/crash
2) If you use bash shell, ulimit command limits how much core you dump upon seg fault. for instance, $ ulimit -c unlimited. With this setting, seg fault happens, you will see filename core. use GDB to debug with the core file. In GDB, type where to see the stack backtrace
Subscribe to:
Posts (Atom)