10-21-2008
disassembling core file
hi,
using core file ( stripped version of binary) i'm able to get backtrace. but i'm unable to figure out the root cause by looking at the code.
core file has been generated by SEGV. i'm able to disassemble the functions but i do not know how to interpret it. pls suggest.
thanks,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
I'm hoping someone would be charitable enough to give me a quick explanation of adb usage for analyzing core files...or point me in the right direction. A search here revealed scant results and web searches are providing me with ambiguous information.
Running Solaris.
Thanks,... (1 Reply)
Discussion started by: kristy
1 Replies
2. Solaris
Hi friends,
Can core file be deleted if there is no need for any one to use it for debugging ?
What should be the setting for a person who has root access to the solaris system ?
thanks in advance
Veera (2 Replies)
Discussion started by: sveera
2 Replies
3. Programming
Hi experts,
A good day to you all.
With debug option, I compiled a big program called OpenFOAM (Written mainly in c++) on IRIX.
after it is finished, I got a SEGV when I executed it.
I noticed that the core file is quite a big block (800M)!
However, I can get very little information... (9 Replies)
Discussion started by: lakeat
9 Replies
4. Solaris
hello all,
I have same core like below:
lsav@GINTINGsmsc1/var/opt/GINTING/cores/SLF $ pstack core
core 'core' of 26799: /opt/GINTING/bin/SLF -poolSize 520000
pstack: warning: librtld_db failed to initialize; symbols from shared libraries will not be available
----------------- lwp# 1 ... (1 Reply)
Discussion started by: fredginting
1 Replies
5. Programming
Hi All,
May be it is a stupid question, but, I would like to know what is the advantage using a core dump file at the moment of debugging using gdb.
I know a core dump has information about the state of the application when it crashed, but, what is the difference between debugging using the... (2 Replies)
Discussion started by: lagigliaivan
2 Replies
6. UNIX for Dummies Questions & Answers
Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Discussion started by: s3270226
6 Replies
8. HP-UX
Hi,
Regarding core dump on HP-UX.
more /etc/rc.config.d/savecrash
#!/sbin/sh
# @(#) $Revision: 80.1 $
# Savecrash configuration
#
#
# SAVECRASH: Set to 0 to disable saving system crash dumps.
SAVECRASH=1
# SAVECRASH_DIR:Directory name for system crash dumps. Note: the... (2 Replies)
Discussion started by: mohtashims
2 Replies
9. UNIX for Advanced & Expert Users
Hi
I am using Linux and I have Java as well as C++ services running on it.
The ulimit -c is set to around 400Mb.
Whenever any of the service fails they produce a core file.(Actual size of core could be greater than 400Mb).
Whenever my Java service fails I get a core file of size 400Mb... (1 Reply)
Discussion started by: Raj999
1 Replies
10. UNIX for Dummies Questions & Answers
Hi
I am using Linux and I am using Java as well as C++ services running on it.
The ulimit -c is set to around 400Mb.
Whenever any of the service fails they produce a core file.(Actual size of core could be greater than 400Mb).
Whenever my Java service fails I get a core file of size 400Mb... (3 Replies)
Discussion started by: Raj999
3 Replies
SKILL(1) Linux User's Manual SKILL(1)
,
NAME
skill, snice - report process status
SYNOPSIS
skill [signal to send] [options] process selection criteria
snice [new priority] [options] process selection criteria
DESCRIPTION
The default signal for skill is TERM. Use -l or -L to list available signals. Particularly useful signals include HUP, INT, KILL, STOP,
CONT, and 0. Alternate signals may be specified in three ways: -9 -SIGKILL -KILL.
The default priority for snice is +4. (snice +4 ...) Priority numbers range from +20 (slowest) to -20 (fastest). Negative priority num-
bers are restricted to administrative users.
GENERAL OPTIONS
-f fast mode This is not currently useful.
-i interactive use You will be asked to approve each
action.
-v verbose output Display information about selected
processes.
-w warnings enabled This is not currently useful.
-n no action This only displays the process ID.
PROCESS SELECTION OPTIONS
Selection criteria can be: terminal, user, pid, command. The options below may be used to ensure correct interpretation.
-t The next argument is a terminal (tty or pty).
-u The next argument is a username.
-p The next argument is a process ID number.
-c The next argument is a command name.
SIGNALS
The signals listed below are available for use with skill. When known, numbers and default behavior are shown.
Name Num Action Description
() ()
ALRM 14 exit
HUP 1 exit
INT 2 exit
KILL 9 exit this signal may not be blocked
PIPE 13 exit
POLL exit
PROF exit
TERM 15 exit
USR1 exit
USR2 exit
VTALRM exit
STKFLT exit i386, m68k, arm and ppc hardware only
UNUSED exit i386, m68k, arm and ppc hardware only
TSTP stop context-dependent behavior may appear random
TTIN stop context-dependent behavior may appear random
TTOU stop context-dependent behavior may appear random
STOP stop this signal may not be blocked
CONT restart continue if stopped, otherwise ignore
PWR ignore may exit on some systems
WINCH ignore
CHLD ignore
URG ignore
ABRT 6 core
FPE 8 core
ILL 4 core
QUIT 3 core
SEGV 11 core
TRAP 5 core
SYS core may not be implemented
EMT core may not be implemented
BUS core core dump may fail
XCPU core core dump may fail
XFSZ core core dump may fail
EXAMPLES
Command Description
snice netscape crack +7 Slow down netscape and crack
skill -KILL -v pts/* Kill users on new-style PTY devices
skill -STOP torvalds davem tytso Stop 3 users
snice -17 root bash Give priority to root's shell
SEE ALSO
top(1) kill(1) renice(1) nice(1)
STANDARDS
No standards apply.
AUTHOR
Albert Cahalan <acahalan@cs.uml.edu> wrote skill and snice in 1999 as a replacement for a non-free version. Michael K. Johnson <john-
sonm@redhat.com> is the current maintainer of the procps collection.
Please send bug reports to <procps-list@redhat.com>
()