pilotclient icon indicating copy to clipboard operation
pilotclient copied to clipboard

"Wrong sort order" assert in remote aircraft provider

Open oktal3700 opened this issue 2 years ago • 0 comments

https://discord.com/channels/539048679160676382/568904623151382546/937411190185951323

I am experiencing crashes with Swift, a popup appears as shown in the screenshot. I got this several times today with 0.9.61.91 and also after updating to 0.9.7.166. The server used is x-flightserver.net. Program runs on Windows 10 Prof. 64-bit.

swift swiftguistd_220130113450_15756.log minidump.zip

I see in the log (and the crash dump) a value of offsetTimeMs = 3595030 that looks wrong (typical values are around 5000) I wonder why we use qAbs here https://github.com/swift-project/pilotclient/blob/develop/0.9.7/src/blackcore/fsd/fsdclient.cpp#L1702

Also in the log I usually see debug: handleRevBClientPartsPacket always followed by debug: Set Config at 5000 which makes sense because both of those log messages come from handleRevBClientPartsPacket https://github.com/swift-project/pilotclient/blob/develop/0.9.7/src/blackcore/fsd/fsdclient.cpp#L1472 But in the offsetTimeMs = 3595030 case I see only the Set Config at message but not the handleRevBClientPartsPacket message and I don't understand how that can happen.

oktal3700 avatar Jan 30 '22 20:01 oktal3700