Gammon Forum
Entire forum
SMAUG
SMAUG coding
help
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Gorock
(149 posts) bio
|
Date
| Sat 29 Oct 2005 05:27 PM (UTC) |
Message
| ok i ran gdb and here is where i got too
#0 0x400b3d61 in ?? ()
#1 0x400b3fa4 in ?? ()
#2 0x0806142b in do_whisper (ch=0x80c8f08, argument=0x80c54e8 "\001")
at act_comm.c:1078
#3 0x08061394 in do_whisper (ch=0x0,
argument=0x1f2f <Address 0x1f2f out of bounds>) at act_comm.c:1061
#4 0x08063440 in do_repeat (ch=0x80c54e8,
argument=0xffffffff <Address 0xffffffff out of bounds>) at act_comm.c:1630
#5 0x080635ab in do_emote (ch=0x80c9f28,
argument=0xffffffff <Address 0xffffffff out of bounds>) at act_comm.c:1683
#6 0x0804c964 in imc_write_packet (p=0x1) at imc.c:1539
#7 0x0804ad46 in imc_delete_info () at imc.c:801
#8 0x4009fbb4 in ?? ()
now i went into act_comm.c and here is line 1078
if( !IS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
but i have no idea what gdb is talking about any help on learning to read what gdb is saying | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #1 on Sat 29 Oct 2005 05:54 PM (UTC) |
Message
| Are you sure the MUD is setup correctly for gdb? The first two stacks are missing. They shouldn't be. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Gorock
(149 posts) bio
|
Date
| Reply #2 on Sat 29 Oct 2005 06:58 PM (UTC) |
Message
| im using smaug fuss it should be able to be used if not im not sure how to know i read the gdb manual but it did not seem to fit my mud | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #3 on Sat 29 Oct 2005 09:15 PM (UTC) |
Message
| Why not? It should "fit" fine. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Gorock
(149 posts) bio
|
Date
| Reply #4 on Sat 29 Oct 2005 10:24 PM (UTC) |
Message
| what i mean is that some of the things were were talking about i did not see | top |
|
Posted by
| Samson
USA (683 posts) bio
|
Date
| Reply #5 on Sat 29 Oct 2005 10:51 PM (UTC) |
Message
| That stack is blown, the code path it claims to have gone through cannot happen. Delete the core, run the mud again, and debug it when it crashes the next time. Don't make any code changes in between so you can isolate this properly. | top |
|
Posted by
| Nick Gammon
Australia (22,990 posts) bio
Forum Administrator |
Date
| Reply #6 on Sat 29 Oct 2005 11:01 PM (UTC) |
Message
| Debugging - if you have problems with program crashes (access violation, segmentation fault etc.) try looking at the postings about debugging with gdb for some hints on using the GNU debugger.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
19,201 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
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.