Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ help

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  (23,173 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.


28,175 views.

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

Go to topic:           Search the forum


[Go to top] top

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