Operating System - Linux
1752511 Members
5231 Online
108788 Solutions
New Discussion юеВ

Re: 29247 memory fault(coredump)

 
Carlos calo
New Member

29247 memory fault(coredump)

I'M EXECUTING A PROGRAM SHELL IN A HP9000 AND WHILE RUNNING SHELL I GET A MEMORY DUMP SEE BELLOW.



Changing to directory /sidpers/ups/upsin



Creating directory in124

Changing directory to in124

Moving files from /sidpers/ups/upsin/tmp

Changing directory to /sidpers/ups/upsin/ups2data

Copying files from in124...

Changing directory to /sidpers/ups/upsin/ups2}

Processing erbr...

Program = ERBR

Processing erro...

Program = ERRO

Processing apft...

Program = APFT

./upsupdate.sh[238]: 29247 Memory fault(coredump)

4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: 29247 memory fault(coredump)

Is this script/program written by yourself?

This can happen if you try to access "forbidden" memory areas, e.g. with a wrong pointer or cast.

If you do a

# file core

you get the application that was causing the dump.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: 29247 memory fault(coredump)

The problem occurred at line 238 of the script called upsupdate. At that line, a process was started that had the process ID of 29247. Whatever directory this shell script was in, there will be a file called core which you can decode with:

file core

This will only tell you the program's name, not the reason that it failed. Contact the programmer that wrote the program.


Bill Hassell, sysadmin
AwadheshPandey
Honored Contributor

Re: 29247 memory fault(coredump)

Memory fault occurs:
1: Subscripting arrays past the memory allocation for your program.
2: A NULL or unitialized pointer, subscript out of range.
3: Attempts to reference data outside valid address space
4: Parity errors in address space
5: Recursion (try making your own routines "read" and "write" and then call "scanf" or "printf" and watch what happens).

Check these resons in ur script.
Cheers,
Awadhesh
It's kind of fun to do the impossible
AwadheshPandey
Honored Contributor

Re: 29247 memory fault(coredump)

Pls see the link for detail of ur problem.
http://acs.ucsd.edu/info/coredump.php
Cheers,
Awadhesh
It's kind of fun to do the impossible