core dumps (clang -g) not generated on new MacBook Pro Catalina

Hi


I am trying to debug my application (written in C) that is crashing with the standard 'segmentation fault'. I am compiling using 'clang -g'. However, there is not core dump being generated. This appears to be a simple problem, but I am unable to resolve it and have never seen such an issue before. I usually work on Linux, so perhaps there is a setting I am not aware of?



drwxrwxr-t 2 root wheel 64 24 Aug 23:24 cores


ulimit -a

-t: cpu time (seconds) unlimited

-f: file size (blocks) unlimited

-d: data seg size (kbytes) unlimited

-s: stack size (kbytes) 8192

-c: core file size (blocks) unlimited

-v: address space (kbytes) unlimited

-l: locked-in-memory size (kbytes) unlimited

-u: processes 2784

-n: file descriptors 256


Thanks