05-11-2004
Decoding of Core Dump
Hi ALL,
Is it possible to decode the core dumb file to find the error?
I get an Memory Core Dumb error with an core file.
Regards,
P. Prathaban.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
2. UNIX for Dummies Questions & Answers
does any one have read a core dump?
is there any reader for that? or may i know what is the use of that core which takes sometimes memory in GBs?
:) (6 Replies)
Discussion started by: sskb
6 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
Working on AIX 4.3. An internal error from my apps engine suddenly causes the engine to die. During this time i do notice a core file being dumped in the directory from where I try to re-start my engine.
Q is how does one read this core file, or I should say 'what is this core file'?
thnx (2 Replies)
Discussion started by: buRst
2 Replies
4. UNIX for Dummies Questions & Answers
I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start
but savecore failed to create the two files, that is vmcore.n and vmunix.n.
savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname
1)... (4 Replies)
Discussion started by: hassan2
4 Replies
5. Programming
MY friends:
my program under sco unix have a problem?
it create a core dump file on the path when execute program ,
but i can't find the error of the C program ,i don't know how to
see the error about my program use core, please help me
or give me some suggest and what tools can use... (1 Reply)
Discussion started by: zhaohaizhou
1 Replies
6. UNIX for Advanced & Expert Users
Hi All,
i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know.
sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies
7. UNIX for Dummies Questions & Answers
Hi All
I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies
8. UNIX for Dummies Questions & Answers
my progrme complaints 'Segmentation fault'.
How to let it print 'Segmentation fault(core dumped)' and generate core dump file?
$ulimit
unlimited (22 Replies)
Discussion started by: vistastar
22 Replies
9. HP-UX
Hi Guys,
I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself.
Thanks
Messi (1 Reply)
Discussion started by: messi777
1 Replies
10. Solaris
Hi guys,
just want to know which core file pattern is best to set for core dumps:
1) per-process file name pattern
or
2) global file name pattern.
I will really appreciate an explanation why the chosen one is better.
Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies
coreadm(2) System Calls Manual coreadm(2)
NAME
coreadm - application core file administration
SYNOPSIS
DESCRIPTION
system call is used to specify the location and pattern for core files produced by abnormally terminating processes. See core(4). This
system call can be used to specify a system wide location for core file placement and/or a process specific pattern.
The structure, is used to specify a system wide or a per-process core file pattern and also specify the current system wide core file set-
tings. is defined in the header
Member Type Member Name Description
char c_pattern The core file pattern.
uint64_t c_flags Core file settings.
Parameters
is expected to be set to It is critical for future backward compatibility that the macro itself be used and not its value.
is the core file pattern. A core file name pattern is a normal file system path name with embedded variables, specified with a leading
character, that are expanded from values in effect when a core file is generated by the operating system. An expanded pattern length
greater than will be truncated to
The possible values are:
c_flags is used to control the system wide core file settings. The flag values can be combination of
Enable/Disable creation of global core files.
Enable/Disable creation of per-process core files.
Enable/Disable creation of global core files for
processes.
Enable/Disable creation of per-process core file for
processes.
If a flag value is not set, then the option is disabled.
For per-process core file setting, c_flags can either be 0 or The former disables core file creation (for that process) and the latter
enables it.
c_pid Should be a (valid) pid of a target process or 0. If c_pid is zero, then the settings are applied to global core file settings.
If c_pid is 1, then the settings are applied to init(1M).
c_in If non-NULL, then the values will be used as new core file settings. If this is NULL, then the c_out parameter is expected to be
non-NULL and system call is used to interrogate the current settings.
c_out If non-NULL, the current settings are returned in this parameter.
RETURN VALUE
Upon successful completion, returns 0. Otherwise, a value of -1 is returned and is set to indicate the error.
ERRORS
fails and does not change the core file settings if
the effective user-ID of the calling process is not a user having appropriate privileges.
The input or output parameter passed to
is an invalid address.
The core file pattern or flags is invalid.
The specified PID is non-zero and does not exist.
EXAMPLES
1. Enable global core file creation using the pattern (core.process-ID.machine-name) in the location
2. Enable per-process core file pattern for the process-ID passed in as argument. The core file will be placed in The pattern is
(core.process-ID.time-stamp).
3. Enable a per-process pattern of core.CUP-ID for all processes in the system (init(1M) core file setting). NOTE: This has to be run
during system startup or reboot the machine after setting this for the settings to take full effect.
SEE ALSO
coreadm(1M), exec(2), fork(2), pstat(2), ttrace(2), core(4).
STANDARDS CONFORMANCE
coreadm(2)