Operating System - HP-UX
1836796 Members
2527 Online
110110 Solutions
New Discussion

why core dump in a certain directory

 
SOLVED
Go to solution
Ratzie
Super Advisor

why core dump in a certain directory

I realize that core dumps happen, but what I am trying to figure out is why does it dump in a certain directory. Is there an ryme or reason...
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: why core dump in a certain directory

Generally, it's because that's where the user was at the time - their $PWD.


Pete

Pete
Fred Ruffet
Honored Contributor
Solution

Re: why core dump in a certain directory

Core dumps are generated in chrashing program's working directory.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Muthukumar_5
Honored Contributor

Re: why core dump in a certain directory

Directory may be related to the crashed application path or related to it...

Try to debug it as,

file core
what core

gdb core

gdb> bt

It will give all details there.


Easy to suggest when don't know about the problem!