Source Code Project Mantis - FSSCP
View Issue Details
0002117FSSCPdockingpublic2010-02-10 03:242012-07-01 21:10
Assigned ToGoober5000 
PlatformOSOS Version
Product Version3.6.11 
Target VersionFixed in Version 
Summary0002117: Better error handling of docking name miscompare needed
DescriptionWas getting an int3() for no apparent reason while working on dock points. Tried just about everything to narrow it down. Docked 2 objects to each other instead of the other ship which worked. Started docking one object at at time which was working until I had a few docked. Went to docking 2 at a time which also worked. Got to the 3rd and 4th from the end of the list and it crashed. No apparent reason. Ended up it was a space at the end of the 2nd to last in the list which I didn't even have anything docked to.
Additional Information3.6.11 r5895. While not an actual bug it would be nice if it either told you where it was crashing or even better caught it on parse. Actual crash occurs at missionparse.cpp line 1604.
TagsNo tags attached.
Attached Filesrar 2117.rar (76,739) 2010-06-17 02:26

2010-02-14 06:20   
This sounds suspiciously like it might be related to 0001658
2010-02-14 14:43   
Doubt it since 0001658 doesn't involve .pof data. This one is a case of the name not having trailing spaces removed in one place (the .pof) and having them removed in the other (FS2).
2010-02-15 15:15   
Ahh. Thanks for the clarification.
2010-05-19 00:51   
Can you attach a mission, or describe the steps, which reproduces the problem?
2010-05-19 01:19   
Space at the end of dock name in PCS2 was the cause I believe. I don't have the problem pof anymore.
2010-06-04 01:38   
Bah. I'd like to fix this for 3.6.12, but I would need to wait a few days to reproduce the bug and find out where exactly the space isn't getting truncated.

If someone could attach a POF with a trailing space after a dock name, and/or a fs2_open.log, it would greatly speed up the process.
2010-06-17 02:28   
Attached modified Faustus. Simply added a space to the end of port docking in PCS2. Just fire up FRED and dock a ship there and save. Instant crash.
2012-05-22 04:37   
Fix committed to trunk@8813.
2012-07-01 21:10   
Fix committed to fs2_open_3_6_14@8945.

Issue History
2010-02-10 03:24FUBAR-BDHRNew Issue
2010-02-10 03:24FUBAR-BDHRStatusnew => assigned
2010-02-10 03:24FUBAR-BDHRAssigned To => Goober5000
2010-02-14 06:20ZacamNote Added: 0011667
2010-02-14 14:43FUBAR-BDHRNote Added: 0011671
2010-02-15 15:15ZacamNote Added: 0011682
2010-05-19 00:51Goober5000Note Added: 0011973
2010-05-19 01:19FUBAR-BDHRNote Added: 0011979
2010-06-04 01:38Goober5000Note Added: 0012037
2010-06-17 02:26FUBAR-BDHRFile Added: 2117.rar
2010-06-17 02:28FUBAR-BDHRNote Added: 0012087
2012-05-22 04:37Goober5000Changeset attached => fs2open trunk r8813
2012-05-22 04:37Goober5000Note Added: 0013604
2012-05-22 04:37Goober5000Statusassigned => resolved
2012-05-22 04:37Goober5000Resolutionopen => fixed
2012-07-01 21:10ZacamChangeset attached => fs2open fs2_open_3_6_14 r8945
2012-07-01 21:10ZacamNote Added: 0013763