Operating System - HP-UX
1834882 Members
2131 Online
110071 Solutions
New Discussion

Re: aC++ apps, threads and core files...

 
Carlo Henrico_1
Regular Advisor

aC++ apps, threads and core files...

Hi All

O/S - HP-UX 11.0
aC++ - C.03.30
H/W - L1000
Mem - 1GB

We (still) have a problem with core file creation, and would like to know how we can handle this one.

Our developers have demonstrated to me that when a program keeps on allocating memory (it starts swapping up to a point), it eventually dumps and creates a core file.

If however the same thing is done in a thread instead of in the main program, the swapping starts and after a while the program just terminates with no core file being created.

Anybody got any ideas please?

Thanks

Carlo
Live fast, die young - enjoy a good looking corpse!
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: aC++ apps, threads and core files...


Fix your program so that it doesn't core dump is the first thought that comes to mind.


live free or die
harry
Live Free or Die
Carlo Henrico_1
Regular Advisor

Re: aC++ apps, threads and core files...

The problem is that when a thread abends, no core is created so that one can determine what to fix.

Carlo
Live fast, die young - enjoy a good looking corpse!