cancel
Showing results for 
Search instead for 
Did you mean: 

sh: memory fault(coredump)

steven_32
Occasional Visitor

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
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.