UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 26th, 2003, 04:54 AM
chrisd33 chrisd33 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 38 chrisd33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
core dump

hi

what is a 'core dump' - i'm using sun solaris. how do you analyse it ? is there a specific tool or do i juts use the emacs text editor ?

cheers

chris

Reply With Quote
  #2  
Old June 26th, 2003, 05:28 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
A core dump is generated for debugging when a program crashes. Its a dump of the core memory of the system. You can't use emacs to edit or look at the file since its normally binary data, not ascii.

Reply With Quote
  #3  
Old June 26th, 2003, 05:49 AM
chrisd33 chrisd33 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 38 chrisd33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
is there anyway to use software to see it, as in to debug it ? is there nothing to use which interprets teh binary code or is there nothing to view it - if so what is the point of teh core dumping the memory ?

cheers

Reply With Quote
  #4  
Old June 26th, 2003, 07:01 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27

Reply With Quote
  #5  
Old February 25th, 2004, 05:44 PM
prady123 prady123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 prady123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb

Quote:
Originally Posted by chrisd33
is there anyway to use software to see it, as in to debug it ? is there nothing to use which interprets teh binary code or is there nothing to view it - if so what is the point of teh core dumping the memory ?

cheers


You can use a debugger to view the core file.
In Sun its dbx. Usage is dbx 'path/name of executable' 'path/name of core file'
In HP or AIX its gdb. Usage is gdb 'path/name of executable' 'path/name of core file'

Use man gdb or dbx for looking at more options.

Good Luck

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > core dump


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway