Login
User Name:

Password:



Register
Forgot your password?
LOP 1.39r1
Author: Remcon
Submitted by: Remcon
Yaeger areas
Author: Yaeger
Submitted by: Cyberthrope
The City of Anon
Author: Yaeger
Submitted by: Cyberthrope
The Walls of Anon - Smaug
Author: Yaeger
Submitted by: Cyberthrope
LOP 1.39
Author: Remcon
Submitted by: Remcon
CommonCrawl, Yandex, Bing, Sogou, Yahoo!

Members: 0
Guests: 1
Stats
Files
Topics
Posts
Members
Newest Member
375
3,323
16,512
561
Aurin
Affiliates
Smaug Building Institute Arthmoor
» SmaugMuds.org » Codebases » SWR FUSS » possible bug with the CHECK_L...
Forum Rules | Mark all | Recent Posts

possible bug with the CHECK_LINKS macro
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 13, 2009, 8:38 am   Last edited Jul 13, 2009, 11:41 am by Andril
Go to the bottom of the page Go to the top of the page
Andril
Magician
GroupMembers
Posts130
JoinedJun 9, 2009

Or maybe with the INSERT macro, though I don't think this is the case.

Anyways, I'm trying to use INSERT to, well, insert something in front of something else. Afterwards I'm calling CHECK_LINKS just to make sure everything is still working like it should be and the mud hangs. Here's what the log file shows for the last session when this happened.
Mon Jul 13 08:26:18 2009 :: [*****] BUG: CHECK_LINKS(ship->first_module): 0x91d3088:->prev != 0x91cf000.  Fixing.
Mon Jul 13 08:26:18 2009 :: [*****] BUG: CHECK_LINKS(ship->first_module): 0x91d3088:->prev != 0x91d3088.  Fixing.


Now, looking at the CHECK_LINKS macro, ship->first_module(*ptr)->prev is getting checked against *pptr, which should be NULL. This is, apparently, not the case. It also appears to be stuck in an infinite loop, which is why I believe the mud is hanging, because, as you can see, *pptr is changing, but it's not changing *ptr, which looks to be stuck on ship->first_module.

Then again, it only happens after using INSERT, so maybe it is the other way around?
       
Pages:<< prev 1 next >>

 
Contact Us