We are a Lawson shop trying to upgrade our Lawson environment from an old version to a new one. When we run the install scripts on one of our systems (RP8400, HP-UX 11.i) we get a Memory Fault error and it core dumps. HP support has taken an output of TUSC and then pointed us to the application vendor, but the vendor hasn't been helpful as of yet.
Is there any way we can decipher what the install program is trying to do and determine what the program is dying on? We have stoppped all processes on the system to eliminate that a lack of memory exists.
The HP-UX version is just about a year old now, and has had some minor patches along the way. This is a production system, so down time and major patching is limited.
Here is a quick program:
It is specific to HP-UX. But copy that code into a file called memoryfault.c. Compile it with:
cc memoryfault.c -o memoryfault
and run it with:
./memoryfault
It will generate a memory fault. This is because it attempted a illegal sequence of operations. Adding memory or swap to your box will not fix my program. My program is broken. That's what a memory fault is.
A "memory fault" might be called a "segmentation fault" on another OS. Or even another shell. But the signal SIGSEGV was sent to process by the kernel. The shell detects this and displays the "memory fault" message.
Basicly the program attempted to write into a place that was not a writable memory segment. Your program might be doing that. Or it might be attempting a read from a location that is not in a readable memory segment.
But clearly, the program has a bug and it almost certainly involves referencing a pointer with an invalid value. And the author of the program is going to need to fix that.
Thanks for your help! Your explaination is very helpful understanding what causes the error message.
We kinda' new there was a problem with the code, but we are not getting any help from the vendor as to what the problem is.
The closest we got....
when the program tries to update an existing file that it needs it bombs. But when we remove the file it is looking to update, it creates a new one and updates that one just fine. The code written to handle the pre-existing file appears to be buggy.
Hi Guys and Gals,
Does anyone know how to track down a faulty DIMM on the memory board of an M4000?
showhardconf tells me which board it is, but was wondering if there was a way to track it down to a DIMM?
Thanks in advance
Martin (5 Replies)
I am writing a program that copies a program and prints the program with a line count.
this is the program I wrote:
#include <stdio.h>
main()
{
int c;
int nl_cnt = 0;
while((c = getchar()) != EOF){
if(c = '\n'){
nl_cnt++;... (3 Replies)
We have migrated our application from HP UX to linux. The code is in 4gl and after migration it has started giving Memory fault while running a batch job. The trace shows segmentation fault after a series of recvfrom and sendto(DB read)
sigsegv segmentation fault @ 0 0
killed by SIGSEGV
The... (2 Replies)
Hi i have this code that used to wrok fine in unix mp-ras.
After the migration to linux suse i recompiled the script and now when it is executed i get a Memory fault (coredump) message.
Does anybody knows why' what should I change?
tks
SCRIPT
#include <stdio.h>
#include <sys/types.h>... (1 Reply)
I (think I) installed MYSQL on a Red Hat box. When I try to start mysql I get a memory fault error. Any ideas on how to fix this?
Here is some info that might help:
My distro info
$ cat /proc/version
Linux version 2.4.21-40.ELsmp (bhcompile@hs20-bc1-7 .build.redhat.com) (gcc version 3.2.3... (0 Replies)
I'm not an HP-UX Admin professional, but rather a Lawson ERP installer. I'm looking for clues on how to troubleshoot this issue. I have WAS 6.1 ND running on HP-UX 11.23 PA-RISC with the Lawson ERP application . When I start the Lawson application, no errors arise. When I start WAS app server, an... (4 Replies)
Hey guys,
I am new to the Linux world and have a question to post.
When I ssh from a HP-UX machine to a ubuntu machine I get the following error message
Memory fault(coredump)
i.e. ssh 192.168.1.3
I get this message as shown below
Memory fault(coredump)
Can someone please explain... (2 Replies)
We are running a SQR program on Unix Platform with Oracle RDBMS.
It's an interfacing program to integrate data from foreign sites to
PeopleSoft database, using a flat file input.
After many hours of processing, the program stops with a coredump error (memory fault). With top command we noticed... (1 Reply)
I am using Unix OpenServer Release 5.
When a run a application with user different to "Superuser" the application give me the following error:
"Memory Fault - Core Dump". What's that mean?
Thank you in advance.
Roberto Veras. (1 Reply)