I am trying to debug a broken application that renders X11 windows. I am running CentOS 8.1.
I have followed the instructions per Redhat on enabling core dumps.
- I have enabled
- I rebooted the machine
- I set
ulimit -c unlimited
When I try to run my application :
$ /usr/local/some/broken_executable QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aps003' MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri) libGL error: failed to load driver: swrast Aborted (core dumped)
I don't see the core file generated either in the current working directory or in my home directory. I also tried uncommenting the
#DumpCore=yes line in
/etc/systemd/system.conf and rebooting the machine.
- What am I missing here? I just want to be able to generate core files for debugging purposes.