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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
Discussion started by: callmebob
5 Replies
LEARN ABOUT SUNOS
fmd
fmd(1M) System Administration Commands fmd(1M)NAME
fmd - fault manager daemon
SYNOPSIS
/usr/lib/fm/fmd/fmd [-V] [-f file] [-o opt=val] [-R dir]
DESCRIPTION
fmd is a daemon that runs in the background on each Solaris system. fmd receives telemetry information relating to problems detected by the
system software, diagnoses these problems, and initiates proactive self-healing activities such as disabling faulty components. When
appropriate, the fault manager also sends a message to the syslogd(1M) service to notify an administrator that a problem has been detected.
The message directs administrators to a knowledge article on Sun's web site, http://www.sun.com/msg/, which explains more about the problem
impact and appropriate responses.
Each problem diagnosed by the fault manager is assigned a Universal Unique Identifier (UUID). The UUID uniquely identifes this particular
problem across any set of systems. The fmdump(1M) utility can be used to view the list of problems diagnosed by the fault manager, along
with their UUIDs and knowledge article message identifiers. The fmadm(1M) utility can be used to view the resources on the system believed
to be faulty. The fmstat(1M) utility can be used to report statistics kept by the fault manager. The fault manager is started automatically
when Solaris boots, so it is not necessary to use the fmd command directly. Sun's web site explains more about what capabilities are cur-
rently available for the fault manager on Solaris.
OPTIONS
The following options are supported
-f file Read the specified configuration file prior to searching for any of the default fault manager configuration files.
-o opt=value Set the specified fault manager option to the specified value. Fault manager options are currently a Private inter-
face; see attributes(5) for information about Private interfaces.
-R dir Use the specified root directory for all pathnames evaluated by the fault manager, instead of the default root (/).
-V Print the fault manager's version to stdout and exit.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 An error occurred which prevented the fault manager from initializing, such as failure to open the telemetry trans-
port.
2 Invalid command-line options were specified.
FILES
/etc/fm/fmd Fault manager configuration directory
/usr/lib/fm/fmd Fault manager library directory
/var/fm/fmd Fault manager log directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfmd |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), fmadm(1M), fmdump(1M), fmstat(1M), syslogd(1M), attributes(5), smf(5)
http://www.sun.com/msg/
NOTES
The Fault Manager is managed by the service management facility, smf(5), under the service identifier:
svc:/system/fmd:default
The service's status can be queried using the svcs(1) command. Administrators should not disable the Fault Manager service.
SunOS 5.10 17 Nov 2004 fmd(1M)