Louis I. answered 07/25/19
Computer Science Instructor/Tutor: Real World and Academia Experienced
Two most likely causes - the "current directory is not where you think it is, or the system couldn't create the file:
1) The core files was generated, but the "current directory" of the executing process is no longer where the program was launched. That is, might your program be executing a chdir() system call?
You can perform an exhaustive search (might take a while) using find ... something like this:
find / -type f -name "core*" 2> /dev/null
I know you said you leaned on "find", but did you run it this way?
2) So I know you mentioned checking "ulimit" - that's a good place to start, but could your file systems be so close to max capacity, that a large core file just couldn't be created?? Unlikely, but just to eliminate that possibility, execute:
df -h
Are any of the file systems close to 100% capacity?
I'm afraid that's all I have ... start there.