8.3.7.3
[RS-1199] Resolved Critical Application Crashes on Closure and Eliminated Ghost Application Issue
In this release, we have successfully addressed two critical issues that impacted the stability of the application. These issues caused the application to crash during race closure and resulted in the persistence of a “ghost” application in the task manager after closure. Both problems were related to the proper handling of threads and sockets during application shutdown. These critical bug fixes significantly enhance the application’s stability and overall performance.
Technical details
Crash Issue: The crash occurred due to an attempt to retrieve the thread status (owl::TThread). Ghost Application Issue: The presence of a “ghost” application in the task manager was due to a failure to close the listening thread properly.
Resolution
To rectify these issues, the following actions were taken: We have implemented an improved communication mechanism between the main thread and the listening threads. The infinite loop on listening threads has been replaced with a condition loop. The main thread now sets the condition to false and performs a disconnect on each listening socket, allowing each thread to terminate gracefully. The main thread waits for 500 milliseconds before checking the thread status and cleaning up memory.
[RS-1378] Resolved “Live Results” Functionality and Screen Navigation Issues.
In this release, we have successfully addressed a bug related to the “Live Results” functionality, which previously displayed a device not ready error when invoked. Additionally, we have resolved issues with screen navigation using the up/down arrows, Page Up/Page Down, and Ctrl+Home/End buttons. In previous versions (2021), pressing any of these buttons would result in an empty screen. With these fixes, “Live Results Lookup” now allows users to navigate as intended. Please check the video https://www.youtube.com/watch?v=SEAP2YztXpk .
Technical details
Issue: The issue stemmed from the improper usage of memcpy instead of the copy constructor for the results class, leading to errors in the “Live Results” functionality.
Resolution
To rectify this issue, we have added the necessary copy constructor for the results class, ensuring correct data handling. We have also fixed screen navigation for the “Live Results” class by correctly painting the new screen based on user navigation inputs.
[RS-1384] Addressed Application Crash for Exception Handling in Listing Files.
In this release, we have successfully resolved a bug that previously caused the application to crash when an exception occurred during the execution of a listing file. Instead of abruptly crashing, the application now correctly informs the user when an exception has taken place, improving user experience.
Technical details
Issue: The crash was attributed to a buffer overflow and an improperly formatted string that lacked a null-terminated character.
Resolution
To address this issue, we have taken two key actions: Increased the buffer size to prevent buffer overflows and properly formatted the exception message to ensure it includes a null-terminated character at the end, preventing application crashes and providing clear information to the user when exceptions occur.
[RS-1389] Team Score Export Now Starts from 1st Place.
In this release, we have successfully resolved a bug that previously caused team score exports to initiate from 2nd place, leading to inaccuracies in the export results. This issue has been rectified, and team score exports now correctly start from 1st place, ensuring the accurate representation of team rankings.
Technical details:
Issue: The bug was attributed to incorrect index usage within a for loop, causing the incorrect numbering of teams in the export, with the 1st team being printed as the 2nd, the 2nd as the 3rd, and so on.
Resolution:
To address this issue, we have fixed the index usage and memory corruption. Additionally, we conducted a comprehensive review of related classes to identify and correct similar issues, ensuring the stability of team score exports.
Improvements:
[RS-1305] Added Option to Set Pre-Event to NONE in Event Configuration.
In this release, we have introduced a new improvement that allows users to set the pre-event to “NONE” for a specific event. This functionality is accessible through the “Tools” menu, under “Miscellaneous,” and then “Edit list of Events.” This enhancement was made in response to user feedback, with the aim of simplifying configuration for entry-level users, making it more user-friendly.
[RS-1377] Expanded Installer to Include Missing Races.
In this release, we have made an important improvement by adding the missing races to the installer package, which now includes the “XCAthleticNet race.” This ensures that the installer will encompass all the races available on our website https://runscore.com/rsdownloads/ (“Other Downloads” section)
[RS-1381] Expanded External Timers to Support Up to 8 External Timers.
In this release, we have implemented an enhancement by increasing the number of supported external timers from 4 to 8. This change allows the application to better accommodate larger events and simplifies the experience for part-time staff who may not be experts in RunScore. This improvement enables event organizers to rely on a single interface, making it more accessible and user-friendly for new staff.
[RS-1386] View Ignored Chip Reads with Enhanced Data Details.
In this release, we have introduced a valuable enhancement that empowers users to view ignored chip reads with enhanced data details. This feature is in response to [RS-1310] from Release 8.3.7.1 and allows users to access and review ignored chip reads through the “Miscellaneous” menu, specifically “View/Edit Ignored Chips.” The data provided will include the bib number, event information, reason, and the raw chip data. Furthermore, with each race open, the application will record a delimiter with the local time and time zone.
[RS-1387] Persistent Start/Stop Flags for External Timers on Auto-Enable.
In this release, we have introduced an enhancement that improves the management of External Timers. Now, user selections for Start/Stop flags are persisted, ensuring that when the “Auto enable external timers on start-up” option is enabled in preferences, only the timers marked with “Start” will be initiated. This change offers more efficient resource utilization by running only the selected timers. Previously, in prior versions, all timers would start upon application launch, regardless of user selections.