Sponsored Content
Full Discussion: disassembling core file
Operating Systems HP-UX disassembling core file Post 302249328 by satish@123 on Tuesday 21st of October 2008 06:47:56 AM
Old 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

core file analysis

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

core file

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

How to use core file?

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

core file

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

How to use a core dump file

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

difference between Dual-core & Core-to-duo

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

how to delete core file (file created due to apps crashed)

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

Core file location

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

Help in Core File

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

Core File Generation

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
FINCORE(1)						    BSD General Commands Manual 						FINCORE(1)

NAME
fincore -- query in-core status of file pages SYNOPSIS
fincore [-qs] file ... DESCRIPTION
The fincore utility queries and displays in-core status of specified files. Note that the result can already be stale when being output due to other activities in the system. Thus it should be used only for advisory purposes. The fincore utility accepts the following options. -q The quiet mode. Outputs nothing unless the file has in-core pages. -s The summary mode. Only shows number of pages. EXAMPLES
The following example shows that /bin/cat and /bin/cp are fully cached in-core while the other executables are not in-core. numbers shown in the default output are page indexes in the file of each in-core pages. % fincore /bin/c* /bin/cat: 0 1 2 3 /bin/chio: /bin/chmod: /bin/cp: 0 1 2 3 4 5 /bin/cpio: /bin/csh: % fincore -s /bin/c* /bin/cat: 4 / 4 in-core pages (100.00%) /bin/chio: 0 / 5 in-core pages (0.00%) /bin/chmod: 0 / 3 in-core pages (0.00%) /bin/cp: 6 / 6 in-core pages (100.00%) /bin/cpio: 0 / 36 in-core pages (0.00%) /bin/csh: 0 / 41 in-core pages (0.00%) SEE ALSO
mincore(2) AUTHORS
The fincore utility is written by YAMAMOTO Takashi. CAVEATS
The concept of page cache is an implementation detail of the kernel. The fincore utility works using some assumptions on the current imple- mentation. Thus it might stop working in a future version of NetBSD. BUGS
The amount of CPU time the current implementation of fincore utility would take is roughly proportional to the file sizes. Ideally it should be proportional to the number of in-core pages. BSD
January 5, 2012 BSD
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy