Login
User Name:

Password:



Register

Forgot your password?
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
AFKMud 2.5.1
Jan 17, 2025 2:22 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, Bytespider, AhrefsBot, Amazonbot, Bing

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,722
591
TracySpencer

» SmaugMuds » General » Coding » help with debug?
Forum Rules | Mark all | Recent Posts

help with debug?
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Mar 17, 2018 3:23 pm   Last edited Mar 17, 2018 3:24 pm by joeyfogas
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016

 
is anyone willing to help me debug my code? I have read so much documentation but it is all still over my head... i am using cygwin and getting a stackdump not a core file... and instructions I am finding on how to create a core file are not working for me.

not asking for someone to fix it for me... simply debug it for me and let me know WHAT is causing the segfault.

I would be happy to email my files or host and provide a link to them.


the crash happens when you are fighting, or others in the room are fighting and you type "look"...

edit: This is using smaugfuss 1.9.2 with heavy modifications

Post is unread #2 Mar 17, 2018 7:52 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts78
JoinedAug 28, 2016

 
okay nevermind. got it resolved.


my code had a new variable called cpose, which mobs do not have... I did not put an ifcheck for if(!IS_NPC) and it kept crashing due to that.

Pages:<< prev 1 next >>