The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem in checking file abort ahjiefreak Shell Programming and Scripting 1 04-16-2008 05:42 PM
stack overflow in function psync_status Abort (core dumped) jmcpreach BSD 0 04-29-2006 01:26 PM
Any tool to examine the error or traffic on the machine? umen SUN Solaris 2 04-26-2006 05:14 AM
Abort core dumped!!!! zing Filesystems, Disks and Memory 2 07-09-2003 09:59 PM
How to examine the memory usage?? comadreja UNIX for Advanced & Expert Users 11 01-22-2003 09:05 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2007
Registered User
 

Join Date: Jul 2007
Location: Atlanta
Posts: 1
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)
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-31-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
gdb - yes
bt - yes

I find Linux's handling of threads to be disastrous, especially in the debugger.
Reply With Quote
  #3 (permalink)  
Old 08-10-2007
Registered User
 

Join Date: Feb 2001
Location: Frankfurt Germany
Posts: 61
Tray this ....

pstack core > pstactoutput.txt


I use this on Sun solaris here.


Peter
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0