Reversible Gray Debugging of Concurrent Systems

MSCA (Marie Skłodowska-Curie)HORIZON-TMA-MSCA-PF-EFID: 101106046
EC Contribution
€1,728
Consortium Size
5 orgs
Start Year
2023
Summary

The project tackles gray debugging of concurrent systems. Gray debugging means debugging systems where only part of the source code is accessible (e.g., the system invokes external services such as Google Maps). Debugging concurrent systems (from multiprocessors to Cloud) is notoriously hard. Reversible Causal-Consistent Debugging and Replay (RCCDR) is an innovative approach to this problem, allowing one to log a faulty execution in production environment and replay it in the debugger. There it can be explored backwards and forwards following causality links from the visible misbehavior to the bug causing it. This approach has been implemented in CauDEr, a debugger for the Erlang language.Currently, RCCDR requires access to the whole source code of the target program. To enable gray RCCDR we need to answer the following questions:How can we define RCCDR, and, more generally, reversibility in concurrent systems, in a compositional way, to be able to apply it to systems which are only partially accessible? Are we able to correctly explore backwards and forwards the accessible part? If not, which approximation in the exploration is caused by the missing information about the inaccessible part? Till now RCCDR has only been explored in the concrete setting of Erlang, and gray RCCDR has never been studied. We plan to study gray RCCDR at two levels:1) the abstract level of event structures. Abstraction ensures simpler proofs and generality of the results, making them applicable to many languages;2) the concrete level of Erlang semantics, ensuring applicability in a setting of interest, and allowing to implement it by extending CauDEr and integrating it in the Erlang Solutions environment. As an outcome we will provide the theory to apply the powerful RCCDR approach to concurrent systems which are only partially accessible, as well as exploit it in practice, in the setting of Erlang. This will also enable interaction with IT SMEs and software developers.

Consortium (5)

Project Results (14)

Source: CORDIS, the EU research results database.

Publications (12)
Intrinsically Correct Sorting in Cubical Agda
Proceedings of the 14th ACM SIGPLAN International Conference on Certified Programs and Proofs· 2025DOI
Cass Alexandru; Vikraman Choudhury; Jurriaan Rot; Niels van der Weide
Semantic Analysis of Normalisation for Directional Logic Programming
WITS 2025 - Fourth Workshop on the Implementation of Type Systems· 2025
Choudhury, Vikraman; Suo, Ariadne, Si; Krishnaswami, Neel; Choudhury, Vikraman; Krishnaswami, Neel; Suo, Ariadne, Si
The Duality of λ-Abstraction
Proceedings of the ACM on Programming Languages· 2025DOI
Vikraman Choudhury, Simon J. Gay
Towards Quantum Multiparty Session Types
Fifth International Workshop on Programming Languages for Quantum Computing (PLanQC 2025)· 2025
Ivan Lanese; Ugo Dal Lago; Vikraman Choudhury
A Small-Step Semantics for Janus
Lecture Notes in Computer Science ISBN: 9783031620751· 2024DOI
Lami, Pietro; Lanese, Ivan; Stefani, Jean-Bernard
Causal Debugging for Concurrent Systems
Lecture Notes in Computer Science ISBN: 14680· 2024DOI
Lanese, Ivan; Gössler, Gregor
On commutativity, total orders, and sorting
Workshop on Homotopy Type Theory / Univalent Foundations (HoTT/UF 2024)· 2024
Simon Gay; Wind Wong; Vikraman Choudhury; Wind Wong; Vikraman Choudhury; Simon Gay
Reversibility with Holes
Reversible Computation: 16th International Conference, RC 2024· 2024DOI
Fabbretti, Giovanni; Lanese, Ivan; Stefani, Jean-Bernard
Reversible Debugging of Erlang Programs in CauDEr
Proceedings of the 2nd ACM International Workshop on Future Debugging Techniques· 2024DOI
Lanese, Ivan; Vidal, Germán
revTPL: The Reversible Temporal Process Language
Logical Methods in Computer Science· 2024DOI
Laura Bocchi, Ivan Lanese, Claudio Antares Mezzina, Shoji Yuen
Scheme Pearl: Quantum Continuations
Scheme Workshop 2022· 2024DOI
Choudhury, Vikraman; Agapiev, Borislav; Sabry, Amr; Choudhury, Vikraman; Agapiev, Borislav; Sabry, Amr
Towards Quantum Multiparty Session Types
Lecture Notes in Computer Science ISBN: 9783031773815· 2024DOI
Lanese, Ivan; Dal Lago, Ugo; Choudhury, Vikraman
Deliverables (2)