Operating System - HP-UX
1839698 Members
2707 Online
110153 Solutions
New Discussion

Re: Core file is generating when process crash

 
Srinivasa Kola_1
New Member

Core file is generating when process crash

Hello,

I have a C++ program running on hp-ux 11.11 v1 reaching maximum heap limit and crashing, but the program is not generating core file to check stack trace where it is failing. The program reads data from database and process it in memory. Does anyone know why I can't find the core file. I ran this program under gdb found no memory leaks.

The error I'm getting when program crash is:

Operator new failed. Memory exhausted.

Ulimit on runtime machine:
ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303

runtime Kernel settings:
maxdsiz 1073741824 - 1073741824
maxdsiz_64bit 2147483648 - 2147483648
maxfiles 512 -
maxssiz 34217728 - 34217728

I
maxssiz_64bit 0x800000 - 0X800000
maxswapchunks 8192 - 8192
maxtsiz 0x4000000 Y 0X4000000

Thanks, in advance
Srini
2 REPLIES 2
Charles McCary
Valued Contributor

Re: Core file is generating when process crash

Could this be a path issue?
Srinivasa Kola_1
New Member

Re: Core file is generating when process crash

I did find on /, couldn't find the core file.
Srini