Changes

Jump to: navigation, search

Debugging

403 bytes added, 14:53, 10 January 2017
Getting core files
If CRIU crashes it's useful to build it with debug info and look into core file.
 
* build CRIU with debug info <code>make DEBUG=1</code>
* setup core file generation which depends on distro settings, usually the core generation template is sitting in /proc/sys/kernel/core_pattern, see more details at [http://man7.org/linux/man-pages/man5/core.5.html core.5]
 
Then upload core file into debugger <code>gdb criu core-file</code> and type <code>bt</code> command to fetch a backtrace.
== Docker C/R ==

Navigation menu