Source Code Project Mantis - FSSCP
View Issue Details
0002757FSSCPmultiplayerpublic2012-12-18 17:472019-12-22 11:46
ReporterFUBAR-BDHR 
Assigned ToValathil 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.6.15 
Target VersionFixed in Version 
Summary0002757: ASSERTION: "(team_index != -1) && (slot_index != -1)" at multiteamselect.cpp:876
DescriptionPossible this was caused by a drop during loading or file xfer as there is an indication of such an event near the end of the standalone log.
TagsNo tags attached.
Attached Filesrar 2757.rar (134,190) 2012-12-18 17:47
http://scp.indiegames.us/mantis/file_download.php?file_id=2069&type=bug
rar 2757_2.rar (219,877) 2012-12-18 17:55
http://scp.indiegames.us/mantis/file_download.php?file_id=2070&type=bug

Notes
(0014529)
FUBAR-BDHR   
2012-12-18 17:55   
Make that 2 standalones crashed with the same thing. One retail and one mediavp. Both running r9431.
(0014533)
Valathil   
2012-12-18 20:27   
Added an assert in Trunk @ 9454 to give me a better crash dump. Please report when it crashes with this new version.
(0014560)
karajorma   
2012-12-22 00:41   
I'm not certain that assert is quite correct. If you look at multi_ts_init_objnums() both of those values being -1 is quite legal as that function calls multi_ts_get_team_and_slot() for every single ship.

Now it might be okay to leave the assert as is and make multi_ts_init_objnums() only call it for things marked as PLAYER_SHIP.
(0014576)
Valathil   
2012-12-25 13:11   
I changed it around a bit so it only triggers in the circumstance that OP reported
(0016950)
FSCyborg   
2019-12-22 11:46   
There is a tested fix in trunk now. If this happens after that, please re-report

Issue History
2012-12-18 17:47FUBAR-BDHRNew Issue
2012-12-18 17:47FUBAR-BDHRFile Added: 2757.rar
2012-12-18 17:55FUBAR-BDHRNote Added: 0014529
2012-12-18 17:55FUBAR-BDHRFile Added: 2757_2.rar
2012-12-18 20:26ValathilAssigned To => Valathil
2012-12-18 20:26ValathilStatusnew => assigned
2012-12-18 20:27ValathilNote Added: 0014533
2012-12-18 20:27ValathilStatusassigned => feedback
2012-12-22 00:41karajormaNote Added: 0014560
2012-12-25 13:11ValathilNote Added: 0014576
2013-12-01 05:38Echelon9Severityminor => crash
2019-12-22 11:46FSCyborgStatusfeedback => resolved
2019-12-22 11:46FSCyborgResolutionopen => fixed
2019-12-22 11:46FSCyborgNote Added: 0016950