[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  core... where? got core?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: core... where? got core?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 20 Dec 2004 07:23 PM (UTC)  quote  ]
Message
How big is your core file? Mine was about 3.6 Mb. eg.


$ ls -lh core*
-rw-------    1 nick     nick         3.6M Dec 21 07:21 core.12335


Under Cygwin, you don't seem to get core files BTW.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Mon 20 Dec 2004 03:14 AM (UTC)  quote  ]
Message
Check the area directory for your core file. Thats where mine is :)

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Frobozz   (75 posts)  [Biography] bio
Date Mon 20 Dec 2004 03:12 AM (UTC)  quote  ]
Message
[frobozz]$ gdb core smaug
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"..."/home/frobozz/smaug/src/core": not in executable format: File truncated

"/home/frobozz/smaug/src/smaug" is not a core dump: File format not recognized
(gdb) bt
No stack.

*sob*
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Mon 20 Dec 2004 02:13 AM (UTC)  quote  ]
Message
A new core file should be created every time your mud crashes, assuming you have your system settings right, check out the GDB guide of Nick's for what to set these too and how.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by Frobozz   (75 posts)  [Biography] bio
Date Mon 20 Dec 2004 02:00 AM (UTC)  quote  ]
Message
Ok..

Perhaps this is the ultimate newbie question! Maybe not. I dont know!

Some how in the process of debugging a problem with do_sset my core file grew legs, wings, and or something else and disappeared.

My question is how do I recreate my core file? Or at least make a new one?

Thanks!
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,900 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]