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

help

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Gorock   (149 posts)  [Biography] bio
Date Sat 29 Oct 2005 05:27 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #1 on Sat 29 Oct 2005 05:54 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #2 on Sat 29 Oct 2005 06:58 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #3 on Sat 29 Oct 2005 09:15 PM (UTC)  quote  ]
Message
Why not? It should "fit" fine.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Gorock   (149 posts)  [Biography] bio
Date Reply #4 on Sat 29 Oct 2005 10:24 PM (UTC)  quote  ]
Message
what i mean is that some of the things were were talking about i did not see
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #5 on Sat 29 Oct 2005 10:51 PM (UTC)  quote  ]
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.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Nick Gammon   Australia  (19,608 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Sat 29 Oct 2005 11:01 PM (UTC)  quote  ]
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
[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,822 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [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.

[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]    [Web site powered by FutureQuest.Net]