Process does not dump any core files when crashed even if coredumpsize is unlimited

Hello
Im using redhat and try to debug my application , its crashes and in strace I also see it has problems , but I can't see any core dump
I configured all the limit ( im using .cshrc ) and it looks like this :
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 10240 kbytes
coredumpsize unlimited
memoryuse unlimited
vmemoryuse unlimited
descriptors 1024
memorylocked 32 kbytes
maxproc 57344

What version of redhat are you using?

What is the output of:

cat /proc/sys/kernel/core_pattern

its said : core

What version of redhat are you on?

Perhaps the application cannot write to the working directory set at the point where it faults? What do you see in strace?

Hi
still have this problem here is more info :
strace output ( 3 last lines )

munmap(0x2aaaabb81000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++

Im using RH 5 2.6.18-128.el5 < uname -a out put

Well, it says core dumped. Maybe they're just not ending up where you expected.

Exactly how and where are you configuring the core file size limit?

What shell is your application being executed from?

What, if any, is the contents of /etc/security/limits.conf?

I'd second Corona688... For me the big question remains: what is the current working directory when the application SIGSEGV...

Maybe an idea to check out if the core is generated somewhere would be to change the core pattern to something like /tmp/core and see if the core can be found in /tmp once the program segfaults.

# sysctl -w kernel.core_pattern=/tmp/core

HTH,
Lo�c