Sponsored Content
Full Discussion: Memory Fault
Top Forums UNIX for Dummies Questions & Answers Memory Fault Post 18919 by Bab00shka on Thursday 4th of April 2002 08:09:14 AM
Old 04-04-2002
Hi

This happens when there is some sort of conflict within memory. A file called "core" is produced. This contains an image of the memory at the time the problem occurred. There are packages available to examine the "core" file to find out where the memory conflict occurs. But, its not always easy to trace the error.

There could be numerous reasons why this is happening. It could be that he application could require permissions or environment variables which are only available to the superuser. Although it may be just "luck" that the core dump does not happen as "superuser", such is the nature of memory faults. Do you have the source code to the application? If so, it may be worth checking the permissions/env variables theory within the code. It could also be a totally unrelated error in the source code.

Sorry to be vague, but memory faults are unpredictable by nature and difficult to track down without usually a great deal of investigation.

Good luck!
 

10 More Discussions You Might Find Interesting

1. Programming

Memory fault(coredump)

Dear All, I made a program which do some simple jobs like reading data from other process's shared memory and writing messages to the queues of other process. what happens is my program works fine and do all the task as expected but then then program ends it give Memory fault(coredump). I... (0 Replies)
Discussion started by: ralo
0 Replies

2. Programming

memory fault

When I excute a program . It seems to generate an error : memory fault (core dump ) So how can i (1 Reply)
Discussion started by: iwbasts
1 Replies

3. UNIX for Advanced & Expert Users

Memory fault in ql session

Hi, Am getting memory fault when i start ql session in SCO unix server. Can any one suggest the way to solve this issue. Thanks (0 Replies)
Discussion started by: param_it
0 Replies

4. Ubuntu

Memory fault(coredump)

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)
Discussion started by: fkaba81
2 Replies

5. UNIX for Dummies Questions & Answers

mysql memory fault

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)
Discussion started by: wsetchell
0 Replies

6. UNIX for Advanced & Expert Users

Setui(0) memory fault

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)
Discussion started by: mrodrig
1 Replies

7. Linux

Help with memory fault

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)
Discussion started by: aimee
2 Replies

8. UNIX for Dummies Questions & Answers

Page Fault + Memory

I am not sure where to post this so i will put it in the newbie section. I have set up a bog standard debain 6, LAMP environment in the cloud. The specs 1 core at 2GH 2.5gb Memory running Jommla, with about 1.6K visitors a day. I am using AppFirst (appfirst.com) to monitor the... (2 Replies)
Discussion started by: waseem
2 Replies

9. Homework & Coursework Questions

Memory fault(coredump)

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)
Discussion started by: heywoodfloyd
3 Replies

10. Solaris

M4000 Memory Fault

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
tnfxtract(1)							   User Commands						      tnfxtract(1)

NAME
tnfxtract - extract kernel probes output into a trace file SYNOPSIS
tnfxtract [-d dumpfile -n namelist] tnf_file DESCRIPTION
The tnfxtract utility collects kernel trace output from an in-core buffer in the Solaris kernel, or from the memory image of a crashed sys- tem, and generates a binary TNF trace file like those produced directly by user programs being traced. Either both or neither of the -d and -n options must be specified. If neither is specified, trace output is extracted from the running ker- nel. If both are specified, the -d argument names the file containing the (crashed) system memory image, and the -n argument names the file containing the symbol table for the system memory image. The TNF trace file tnf_file produced is exactly the same size as the in-core buffer; it is essentially a snapshot of that buffer. It is legal to run tnfxtract while kernel tracing is active, i.e., while the in-core buffer is being written. tnfxtract insures that the output file it generates is low-level consistent, that is, that only whole probes are written out, and that internal data structures in the buffer are not corrupted because the buffer is being concurrently written. The TNF trace file generated is suitable as input to tnfdump(1), which will generate an ASCII file. OPTIONS
The following options are supported: -d dumpfile Uses dumpfile as the system memory image, instead of the running kernel. The dumpfile is normally the path name of a file generated by the savecore utility. -n namelist Uses namelist as the file containing the symbol table information for the given dumpfile. OPERANDS
The following operand is supported: tnf_file Output file generated by tnfxtract based on kernel trace output from an in-core buffer in the Solaris kernel. EXAMPLES
Example 1 Extracting probes from a running kernel Extract probes from the running kernel into ktrace.out: example% tnfxtract ktrace.out Example 2 Extracting probes from a kernel crash dump Extract probes from a kernel crash dump into ktrace.out: example% tnfxtract -d /var/crash/`uname -n`/vmcore.0 -n /var/crash/`uname -n`/unix.0 ktrace.out EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWtnfc | +-----------------------------+-----------------------------+ SEE ALSO
prex(1), tnfdump(1), savecore(1M), tnf_kernel_probes(4), attributes(5) SunOS 5.11 19 Aug 2003 tnfxtract(1)
All times are GMT -4. The time now is 06:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy