Source Code Project Mantis - FSSCP
View Issue Details
0002952FSSCPdockingpublic2013-11-13 04:202013-11-14 22:31
Reporterniffiwan 
Assigned ToGoober5000 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.7.1 
Target VersionFixed in Version3.7.1 
Summary0002952: dock lists are not cleared between missions
DescriptionPretty much as the summary says.
In a release build, you can get cool stuff like the attached screenshot (from Surrender Belisarius!)
In a debug build, FSO hits an Assertion:
ASSERTION FAILED: "dock_list == NULL" at object/object.cpp:155 dock_list should have been cleared already!

It may also be responsible for some recently reported BluePlanet issues:
http://www.hard-light.net/forums/index.php?topic=86058.0
http://www.hard-light.net/forums/index.php?topic=86001.msg1719055#msg1719055
Steps To ReproduceStart any mission
Call in a support ship
When it is docked with you, end the mission (escape - quit)
Start any new mission
Additional InformationI believe this was introduced in 9995.
TagsNo tags attached.
Attached Filespng docked_with_WHAT.png (769,702) 2013-11-13 04:20
http://scp.indiegames.us/mantis/file_download.php?file_id=2293&type=bug

Notes
(0015406)
Goober5000   
2013-11-13 19:21   
Okay, I added a method to clear out docking instance information when obj_delete is called. The methods are called again in object::clear, so this should take care of all possibilities.
(0015407)
niffiwan   
2013-11-14 03:21   
that looks like its solved the issue. I'll follow up with Lykurgos88 on the forum to confirm, but you may as well close it for now. I can always reopen if required.
(0015408)
Goober5000   
2013-11-14 22:31   
Super. :)

Issue History
2013-11-13 04:20niffiwanNew Issue
2013-11-13 04:20niffiwanStatusnew => assigned
2013-11-13 04:20niffiwanAssigned To => Goober5000
2013-11-13 04:20niffiwanFile Added: docked_with_WHAT.png
2013-11-13 19:20Goober5000Changeset attached => fs2open trunk r10058
2013-11-13 19:21Goober5000Note Added: 0015406
2013-11-14 03:21niffiwanNote Added: 0015407
2013-11-14 22:31Goober5000Note Added: 0015408
2013-11-14 22:31Goober5000Statusassigned => resolved
2013-11-14 22:31Goober5000Resolutionopen => fixed
2013-11-14 22:31Goober5000Fixed in Version => 3.7.1