1

When I get a segmentation fault (core dump) in a c++ programm I don't get the core file after type the command: ulimit -c unlimited.

It is the first time that I see that, and I do not why.

Could you help me?

Obsidian
  • 3,719
  • 8
  • 17
  • 30
jatorna
  • 137
  • 6

1 Answers1

1

You want to take a look at the content of:

/proc/sys/kernel/core_pattern

… which enables the system to store your core file as a given name and/or behind a given path, and even pipe it to a command if needed.

Check out this entry too :
Core dumped, but core file is not in the current directory?

Obsidian
  • 3,719
  • 8
  • 17
  • 30