[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]  Odd Core Dump
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Odd Core Dump

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


Posted by NixonInnes   (4 posts)  [Biography] bio
Date Tue 11 Mar 2008 01:58 PM (UTC)

Amended on Tue 11 Mar 2008 02:38 PM (UTC) by NixonInnes

Message
Server says:

Segmentation fault (core dumped)

warning: Can't read pathname for load map: Input/output error.


GDB:

GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `/home/james/mud/src/last 4000'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7e5855b in strlen () from /lib/tls/i686/cmov/libc.so.6


The base is a modded ResortMUD v4. I'm compiling under a Ubuntu Gutsy Gibbon 7.10 OS.

I'm not sure where to even start with this one. Boggled.

- Atami
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #1 on Tue 11 Mar 2008 05:17 PM (UTC)
Message
I would suggest reading Nick's excellent guide to debugging with gdb (http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3653); in particular you should look at how to examine backtraces, how to print the value of variables, etc. For instance, you'd need to at least see the line of code from your program at which it's failing.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[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.


2,917 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]