Source Code Project Mantis - FSSCP
View Issue Details
0001841FSSCPmultiplayerpublic2008-12-07 01:492020-09-10 01:32
ReporterZacam 
Assigned ToZacam 
PrioritynormalSeveritycrashReproducibilityunable to reproduce
StatusresolvedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001841: Int3(): From e:\storage\fso\fs2_open\code\network\psnet2.cpp at line 637
DescriptionIn testing the CoOp missions 1-09, 1-10 and Loop1-1 (amongst the few) crash out once things get really busy. Usually this is even more pronounced when the player involvement becomes more aggressive rather than passively as an observer.
Steps To ReproduceThis is the tricky part. It will always happen, but _when_ is a matter of player involvement. In 1-09, it happens when I attempt to destroy the sentry guns, but if I let the AI or other ships destroy them, it isn't a problem. In Loop1-1, if I attempt to engage the vasudan bombers, the first one destroyed by me causes it.
TagsNo tags attached.
Attached Files

Notes
(0014208)
karajorma   
2012-11-28 03:49   
Is this still an issue? I'm going to commit an improvement on one of the Int3() functions in that area anyway.
(0016957)
FSCyborg   
2020-01-14 01:33   
The actual Int3 was changed to an Assertion:

Assertion(((packet_type >= 0) && (packet_type < PSNET_NUM_TYPES)), "Invalid packet_type found. Packet type %d does not exist", packet_type);

It's trying to read the packet type and will return an assertion if it's invalid. The cause of this could be myriad and may only occur when things are busy, as Zacam said. My guess then is that we were overwhelming the ability of this section of code to read the packets, but I really do not know for sure.
(0017022)
FSCyborg   
2020-09-10 01:31   
After working on the multi code for 8 months, my guess is that this was packet misalignment. Because this is no longer occurring, I'm putting this "cannot reproduce."

Issue History
2008-12-07 01:49ZacamNew Issue
2010-12-13 23:41ZacamStatusnew => assigned
2010-12-13 23:41ZacamAssigned To => Zacam
2012-11-28 03:49karajormaNote Added: 0014208
2020-01-14 01:33FSCyborgNote Added: 0016957
2020-09-10 01:31FSCyborgNote Added: 0017022
2020-09-10 01:32FSCyborgReproducibilityalways => unable to reproduce
2020-09-10 01:32FSCyborgStatusassigned => resolved