examine core file after abort()


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users examine core file after abort()
# 1  
Old 07-31-2007
examine core file after abort()

I'm running Red Hat Linux 2.6.7 on a x86_64 box.
I have a core file from a program that called abort(). Does anyone here know how can I get a backtrace? (Re-creating the error with svd running inside gdb has proved impossible).
% gdb svd core.25223
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
...
Core was generated by `svd'.
Program terminated with signal 6, Aborted.
...
#0 0x0000003db9b2dc05 in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x0000003db9b2dc05 in raise () from /lib64/tls/libc.so.6
Cannot access memory at address 0x7fbfffe038
(gdb)
# 2  
Old 07-31-2007
gdb - yes
bt - yes

I find Linux's handling of threads to be disastrous, especially in the debugger.
# 3  
Old 08-10-2007
Tray this ....

pstack core > pstactoutput.txt


I use this on Sun solaris here.


Peter
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script to Abort if file name has space.

Hi, In my shell script I use the following code to copy files from one directory to other. for file in `ls`; do #----------------- Copy Files From INDIR to OUTDIR -------------# echoen "Copying File ${INDIR}/$file to ${OUTDIR}/${file}" cp ${INDIR}/$file ... (4 Replies)
Discussion started by: pinnacle
4 Replies

2. Solaris

I can't copy any file to any machine | abort problem | freezing

I want to copy tar file to another machine. tar size is 4gb. Firstly I tried copy to windows machine with ftp client but copy operation didn't start. Now I have tryied to copy to solaris machine command with scp but copy was freezed. Picture is attached.... (1 Reply)
Discussion started by: getrue
1 Replies

3. Shell Programming and Scripting

Need help with examine the number files in directories given as arguments

Hi , this is homework .. I have to finish it tomorrow, I did my best , but I found it so difficult .. Can You HELP Me ??! Write a bash shell script filestatic. The script should examine the number files in directories given as arguments (parameters) to this script. a. if one argument is... (1 Reply)
Discussion started by: abo-el-sos
1 Replies

4. UNIX for Dummies Questions & Answers

How to examine and open a text file?

Hi I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me. Regards ---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ---------- Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies

5. UNIX for Advanced & Expert Users

How to abort file transfer if the file is already existing?

Hi , while doing FTP from mainframe to unix if the file we are sending is already existing in the server ,it is getting replaced.when i used sunique command,its not replacing but stil creates a copy of the file with .1 to .99 extension.is there any way to abort the file transfer if the file is... (3 Replies)
Discussion started by: amodmenon
3 Replies

6. Shell Programming and Scripting

Problem in checking file abort

Hi, I would like to know given executing a file with inputs, I would like to know when does it terminate /abort abnormally. I tried to append an echo $? after executing my program which is in C. However, there is nothing..It shows 0 even though the program actually exit. my command is... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

7. BSD

stack overflow in function psync_status Abort (core dumped)

I am running Open BSD 3.8 (3.5 upgrade) on a Pent Pro. 200, 64 Megs Ram, Nvedia Vanta TNT 16 Megs, Realtech 8139 Nic. When running ifconfig -a I get this error back. I've run searches on google no deal. I can get Stack overflow or psync, but not both. So I would really like to know how to fix it. ... (0 Replies)
Discussion started by: jmcpreach
0 Replies

8. Solaris

Any tool to examine the error or traffic on the machine?

Hello all is there any graphic tool or not graphic tool that lets me examine or monitor the error in the system or data traffic ? Thanks for your help (2 Replies)
Discussion started by: umen
2 Replies

9. Filesystems, Disks and Memory

Abort core dumped!!!!

HI All, I am working on Solaris 8, i have this application runing on one of the partitions,(the installation was done here ie /export/home) And the out put of this goes to another parition of other disk attached to the same machine. After a certain period of time is get this error stating... (2 Replies)
Discussion started by: zing
2 Replies

10. UNIX for Advanced & Expert Users

How to examine the memory usage??

Hello, I'm working with Linux 2.4.18 I'll like to know, if there is a way to know exactly what is using the RAM memory of my box. I try with ps command, but the size of the memory usage than I can calculate, it is very diferent compared with the information that I get with the free command. ... (11 Replies)
Discussion started by: comadreja
11 Replies
Login or Register to Ask a Question