Operating System - HP-UX
1752754 Members
4787 Online
108789 Solutions
New Discussion юеВ

sh: memory fault(coredump)

 
steven_32
New Member

sh: memory fault(coredump)

when I execute a file that fullfil a batch task ,
but it report:"sh: memory fault(coredump)"
why?
thx
3 REPLIES 3
SHABU KHAN
Trusted Contributor

Re: sh: memory fault(coredump)

Steven,

What does the program do ?

Please be more specific ...

Thanks,
Shabu
Deepak Extross
Honored Contributor

Re: sh: memory fault(coredump)

This is most likely because of a memory error like an overshooting of array bounds or acessing an invalid pointer.
Do a 'file core' on the generated core dump to find out what caused this. If you really want to debug in detail, you can use a debugger like adb or gdb to backtrace the 'core' file.
Just run a search on this forum, you should find some posts on the usage of debuggers if you need it.