Ticket

back to ticket overview

Project RCM Ultimate
Summary Error while processing passing record
Sequence 3500
Classification Bug
Priority Medium
Status Done
Kickoff date Jun 23, 2023
Maturity date Jun 23, 2023
Responsible
Version 2.5.0.1688
Expense 0
Description We are currently in the middle of a France Championship race and we have an issue with the timing system. You can find enclosed a screenshot of an error message that appears every time a car is detected. The timing is registrated correclty but we need to clear the error manually permanently.

It has appeared after the update of the software.

Do you have a solution to the issue ?

Comments

Timestamp Who Comment
Jun 23, 2023 8:08:12 AM Felix Romer 18.06.2023 09:16:13.502 [INFO] Format '%s %cars %s' ungültig oder nicht kompatibel mit Argument.

(0002DE3E){RCM Ultimate.exe} [00C2EE3E] System.SysUtils.ConvertErrorFmt$qqrp20System.TResStringRecpx14System.TVarRecxi (Line 5703, "System.SysUtils.pas" + 2) + $0
(0003190C){RCM Ultimate.exe} [00C3290C] System.SysUtils.FormatBuf$qqrpbuipxvuipx14System.TVarRecxirx31System.Sysutils.TFormatSettings (Line 12811, "System.SysUtils.pas" + 1) + $10
(00031AA4){RCM Ultimate.exe} [00C32AA4] System.SysUtils.FmtStr$qqrr20System.UnicodeStringx20System.UnicodeStringpx14System.TVarRecxirx31System.Sysutils.TFormatSettings (Line 12941, "System.SysUtils.pas" + 3) + $26
(00031A1E){RCM Ultimate.exe} [00C32A1E] System.SysUtils.Format$qqrx20System.UnicodeStringpx14System.TVarRecxirx31System.Sysutils.TFormatSettings (Line 12918, "System.SysUtils.pas" + 1) + $B
(00031A03){RCM Ultimate.exe} [00C32A03] System.SysUtils.Format$qqrx20System.UnicodeStringpx14System.TVarRecxi (Line 12912, "System.SysUtils.pas" + 1) + $F
(01AD7414){RCM Ultimate.exe} [026D8414] MsgItemList.TMsgItemList.GetMessage (Line 349, "MsgItemList.pas" + 42) + $41
(01B264F1){RCM Ultimate.exe} [027274F1] Core_VoiceManager.TCore_VoiceManager.FireEvent (Line 659, "Core_VoiceManager.pas" + 44) + $7
(01C1CA2E){RCM Ultimate.exe} [0281DA2E] Core_RaceManager.TCore_RaceManager.ProcessAnnouncements (Line 2607, "Core_RaceManager.pas" + 15) + $1D
(01C1BC9C){RCM Ultimate.exe} [0281CC9C] Core_RaceManager.TCore_RaceManager.AddLapTime (Line 2206, "Core_RaceManager.pas" + 244) + $E
(01C1B71E){RCM Ultimate.exe} [0281C71E] Core_RaceManager.TCore_RaceManager.AddLapTime (Line 1930, "Core_RaceManager.pas" + 16) + $8
(01555348){RCM Ultimate.exe} [02156348] Base_Decoder.TBase_Decoder.CalculateLapTime (Line 557, "Base_Decoder.pas" + 130) + $C
(0143DE87){RCM Ultimate.exe} [0203EE87] AmbRC3_NetDecoder.TAmbRC3_NetDecoder.ProcessPassing (Line 267, "AmbRC3_NetDecoder.pas" + 91) + $8
(0143DAB2){RCM Ultimate.exe} [0203EAB2] AmbRC3_NetDecoder.TAmbRC3_NetDecoder.ProcessMessage (Line 149, "AmbRC3_NetDecoder.pas" + 8) + $2
(0143DA18){RCM Ultimate.exe} [0203EA18] AmbRC3_NetDecoder.TAmbRC3_NetDecoder.ProcessInputBuffer (Line 129, "AmbRC3_NetDecoder.pas" + 17) + $6
(0143D305){RCM Ultimate.exe} [0203E305] Base_NetDecoder.TBase_NetDecoder.Process (Line 300, "Base_NetDecoder.pas" + 59) + $4
(0143D148){RCM Ultimate.exe} [0203E148] Base_NetDecoder.TBase_NetDecoder.Execute (Line 202, "Base_NetDecoder.pas" + 17) + $5
(000D9E39){RCM Ultimate.exe} [00CDAE39] System.Classes.ThreadProc$qqrxp22System.Classes.TThread (Line 15826, "System.Classes.pas" + 18) + $5
(0000B08C){RCM Ultimate.exe} [00C0C08C] System.ThreadWrapper$qqspv (Line 25397, "System.pas" + 45) + $0
Jun 23, 2023 8:08:52 AM Felix Romer Thank you very much for the logfile. I just did have a look at it and found the source of the problem without even having a look at your event. The exception listened in the logfile are exactly showing the problem:

> Format '%s %cars %s' ungültig oder nicht kompatibel mit Argument.

You have an invalid voice configuration within your "loop passed" announcement (see attachment "23-06-2023_07-56-26.png"). There you have added as pattern "%cars %s" what is not valid as "%c" of the "%cars" is an invalid formatting format. Based on this, and exception has been raised while the decoder interface has processed the lap and passed it to the counting core. And this exception has been catched by the decoder interface, waht caused again, that this error message has been shown, what is of course not ok. I have already done a fix on the code in order that this exception will be catched and handeled on the right source location, what will solve this issue.

To get this issue solved on your installation without installing any update, please change the value marked within the attached printscreen from "%cars %s" to "cars %s" and it will work as before.

Change history

Timestamp Who Modification
Jun 23, 2023 8:07:58 AM Ticket created
Jun 23, 2023 8:10:24 AM Felix Romer Field: Status
Old value: Opened
New value : Done