lean4-htt/src
Henrik Böving c9facc8102
fix: move allocation of execvp args before fork (#12123)
This PR fixes an issue that may sporadically trigger ASAN to got into a
deadlock when running a subprocess through the `IO.Process.spawn`
framework.

The general issue here is that we run `fork()` and then perform an
allocation in the child before going to `execvp` (for allocating the
arguments to `execvp`). As it turns out, doing this can cause a race
condition in ASAN that ultimately causes a deadlock in the child. This
was fixed upstream but then rolled back (see
https://github.com/google/sanitizers/issues/774). Thus, we must avoid
allocating any memory in between `fork` and `execvp`.
2026-01-23 23:12:23 +00:00
..
bin
cmake
include/lean chore: revert "fix: do not compile with -fwrapv" (#12125) 2026-01-23 17:39:52 +00:00
Init feat: suggest Int*.toNatClamp for Int*.toNat (#11979) 2026-01-22 08:51:51 +00:00
initialize feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
kernel perf: Options.hasTrace (#12001) 2026-01-16 09:03:40 +00:00
lake feat: lake: +mod target keys for modules in deps (#12112) 2026-01-23 02:35:02 +00:00
Lean fix: getParentDeclName? inside where inside public def (#12119) 2026-01-23 17:32:05 +00:00
LeanChecker feat: re-integrate lean4checker as leanchecker (#11887) 2026-01-08 09:41:33 +00:00
library fix: symbol name for native boxed declarations in the interpreter (#12095) 2026-01-21 20:38:29 +00:00
runtime fix: move allocation of execvp args before fork (#12123) 2026-01-23 23:12:23 +00:00
shell chore: tests: use filenames as test names (#11302) 2025-11-21 12:40:58 +00:00
Std fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
util perf: avoid allocation on lean_trace use in interpreter (#12036) 2026-01-18 19:33:48 +00:00
cadical.mk
CMakeLists.txt chore: revert "fix: do not compile with -fwrapv" (#12125) 2026-01-23 17:39:52 +00:00
config.h.in
githash.h.in
Init.lean feat: add Sym.Simp.evalGround simproc (#12031) 2026-01-17 05:13:12 +00:00
lakefile.toml.in feat: re-integrate lean4checker as leanchecker (#11887) 2026-01-08 09:41:33 +00:00
lean-toolchain
Lean.lean refactor: move error explanation text to the manual (#11688) 2025-12-26 17:14:58 +00:00
lean.mk.in
Leanc.lean
LeanChecker.lean feat: re-integrate lean4checker as leanchecker (#11887) 2026-01-08 09:41:33 +00:00
out
Std.lean chore: more module system fixes and refinements for finishing batteries port (#10819) 2025-10-21 08:19:50 +00:00
stdlib.make.in feat: re-integrate lean4checker as leanchecker (#11887) 2026-01-08 09:41:33 +00:00
stdlib_flags.h chore: remove comment from wrong stdlib_flags.h (#11646) 2025-12-12 22:59:38 +00:00
version.h.in