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

Gammon 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?

core... where? got core?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Frobozz   (75 posts)  [Biography] bio
Date Mon 20 Dec 2004 02:00 AM (UTC)
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

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #1 on Mon 20 Dec 2004 02:13 AM (UTC)
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 Reply #2 on Mon 20 Dec 2004 03:12 AM (UTC)
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 Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #3 on Mon 20 Dec 2004 03:14 AM (UTC)
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 Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Mon 20 Dec 2004 07:23 PM (UTC)
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

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.


4,167 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]