Hello all,
Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time it result in core dump and client terminaes, iam writing scripts to run them which follow like here:
At server side:
Code:
#! /bin/ksh
export CLASSPATH=/user/vpp/Test/jal/classes:$CLASSPATH
#set var for filename config file
export JAL_CONF_FILE=/user/vpp/Test/jal/conf/NJALapp.conf
export JAL_CONF_FILE1=/user/vpp/Test/jal/conf/NJALHost.conf
java -DJAL_CONF_FILE=$JAL_CONF_FILE -DJAL_CONF_FILE1=$JAL_CONF_FILE1 jalsvr/JALTCPServer 7712
place please check this if u come across any solutions please tell me step by step
this is first time iam coming acorss core dump if u can help me it will be a great favour as u r the masters of unix.please help me.
My options take there path
<b>
for ex:
netscape=/user/bin/netscape
jot=/user/bin
clock=/user/bin/xclock
For sometime they work when i execute them repeatedly they result in coredump.please help me.</b>
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)
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)
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)
how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Hi ,
I want to read core dump file on AIX5.3. While i am trying to use following commands, i am getting only few lines of information.
ux201p3:e46123> dbx capsWrkstnMgr core
Type 'help' for help.
reading symbolic information ...
Segmentation fault in malloc_common.extend_brk at... (1 Reply)
my progrme complaints 'Segmentation fault'.
How to let it print 'Segmentation fault(core dumped)' and generate core dump file?
$ulimit
unlimited (22 Replies)
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)
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
LEARN ABOUT BSD
crash
CRASH(L) CRASH(L)
NAME
crash - analyze kernel dump or active system image
SYNOPSIS
crash [ aps ] [ -bdvtiz ] [ -s sfile ] [ -c cfile ] [ -u addr ]
DESCRIPTION
Synopsis of options -
-b Brief mode; skip general display of processes
-d Crash dump contains swap image. (default?)
-v Verbose; dump much information about each proc [future]
-t TTY structs to be dumpped
-i Incore inode table to be printed
-c FILE Provide non-standard file name for system image input
-s FILE Provide non-standard symboltable input
-u ADDR Trace a process other than currently selected one
-z Interrupt Trace displayed
aps Print PS & PC at time of interupt (doesn't do anything)
crash examines a dump of unix which it looks for in the file sysdump. It prints out the contents of the general registers, the kernel
stack and a traceback through the kernel stack. If an aps is specified, the ps and pc at time of interrupt are also printed out. The dump
of the stack commences from a "reasonable" address and all addresses are relocated to virtual addresses by using the value of kdsa6 found
in the dump.
The following options may be specified.
-b Brief mode; skip general display of processes. Only the currently selected process will be traced.
-c cfile
If the -c argument is found, the following argument is taken to be the name of a file containing the system image. The default is
"/usr/sys/core".
-s sfile
If the -s argument is found the following argument is taken to be the name of a file, containing a symbol table which should be used
in interpreting text addresses. The default is "/unix".
-u addr
Force a process to be displayed as if it were active when the crash occurred. addr is the octal address of the proc table entry.
FILES
/unix system namelist
/dev/swap swap device
/usr/sys/core core file
SEE ALSO crash(8), adb(1), ps(1), rstat(1)DIAGNOSTICS
Missing arg Unable to Open file Format Error in symbolfile
BUGS
Care should be used in running crash on "/dev/mem". Things can change while crash is running; the picture it gives is only a close approx-
imation to reality.
AUTHOR
Mike Muuss, JHU EE
John Stewart, Teledyne Geotech
March 1983 CRASH(L)