https://bugzilla.redhat.com/show_bug.cgi?id=2437502
--- Comment #258 from Nicola Taibi <[email protected]> --- Subject: Technical Update - Resolution of Thread-Safety Race Condition in Event Propagation Hi Fabio, I have finalized the stabilization of the event propagation system, specifically addressing the intermittent visual failures of the dismantle command. Technical Summary of the Fix: A critical race condition was identified within the server’s main logic loop (src/server/logic.c). The system was prematurely releasing the global game_mutex before completing the client update broadcast. This allowed the network thread to occasionally insert new events (such as dismantle effects) which were then immediately cleared by the logic thread's reset sequence without ever being transmitted to the clients. Corrective Actions: Synchronization Realignment: Extended the scope of the global lock to encompass the entire transmission and transient-reset phase, ensuring that all events are atomically processed. Atomic Event Consumption: Refactored the event reset logic to occur immediately following each client-specific broadcast, preventing data loss between ticks. Transmission Telemetry: Integrated server-side broadcast logging to verify the successful departure of IPC_EV_DISMANTLE packets. The versioning has been updated to 2026.05.12.02 in both the changelog and the spacegl.spec packaging file. The codebase has been fully rebuilt and verified for stability. Best regards, Nick Fedora 44: Spec URL: https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-x86_64/10451740-spacegl/spacegl.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/ntaibi/space-gl/fedora-44-x86_64/10451740-spacegl/spacegl-2026.05.12.02-1.fc44.src.rpm -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2437502 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202437502%23c258 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
