Kubuntu 22.04
I'm fiddling about with basic C programming to learn Linux system calls. I am using gcc to compile. I am trying to deliberately generate some core/crash dumps in order to learn how to debug with them. Problem is I can't actually generate core dumps. I've tried ulimit -c unlimited, I've enabled core dumps in apparmor, installed and configured kdump according to the docs.
And I get absolutely NOTHING. Not even so much as an error message.
How do I make Kubuntu generate core dumps and then find them afterwards?
Should I use some other distro for this?
I'm fiddling about with basic C programming to learn Linux system calls. I am using gcc to compile. I am trying to deliberately generate some core/crash dumps in order to learn how to debug with them. Problem is I can't actually generate core dumps. I've tried ulimit -c unlimited, I've enabled core dumps in apparmor, installed and configured kdump according to the docs.
And I get absolutely NOTHING. Not even so much as an error message.
How do I make Kubuntu generate core dumps and then find them afterwards?
Should I use some other distro for this?
Comment