Page MenuHomeFeedback Tracker

Crash on addCuratorEditableObjects with unclean disconnected null objects
Closed, ResolvedPublic


Dedicated server crashes when calling addCuratorEditableObjects [allUnits, true]; when some units in allUnits may be null objects or objects whos locality system is not valid.

{F25338} {F25339}


Legacy ID
Dedicated Server
Steps To Reproduce
  1. Have 3 users in a dedicated server in a mission
  2. Have 1 user disconnect during briefing, prior to mission start
  3. call addCuratorEditableObjects [allUnits, true];

Server crashes.

Additional Information

Crash dump attached.

Event Timeline

jaynus edited Steps To Reproduce. (Show Details)Jan 4 2015, 2:38 AM
jaynus edited Additional Information. (Show Details)
jaynus set Category to Dedicated Server.
jaynus set Reproducibility to Always.
jaynus set Severity to None.
jaynus set Resolution to Open.
jaynus set Legacy ID to 2224268404.May 7 2016, 8:03 PM
Bohemia added a subscriber: Dwarden.Jan 4 2015, 2:38 AM

I was trying but could not reproduce the problem. Is it possible to upload a simple mission?

Thank you very much.

jaynus added a subscriber: jaynus.May 7 2016, 8:03 PM

I've narrowed this down to executing addCuratorEditableObjects when an object is null but not completely deleted yet. This happens when players become out of sync and a null object persists on a client which does not exist on the server.

I cannot reliable reproduce this, but it does reproduce sometimes with the attached mission.

Further testing: It is definitely when an invalid object exists that this will cause a crash. Basic testing is to play a large MP game until you are receiving "Object not found" errors, then run the command on that object. It will crash.

Assuming a null dereference in addCuratorEditableObjects on an invalid object.

dedmen added a subscriber: dedmen.May 20 2020, 3:05 PM

That issue recently came up on official zeus servers. It was fixed within 2 days of being reported to me. I don't know what went wrong here 5 years ago, but something certainly did.

dedmen closed this task as Resolved.May 20 2020, 3:07 PM