Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
As of Lean 4.9.0, --threads=0 gives an assertion violation.
Steps to Reproduce
- Run
lean --threads=0 <(echo "example : True := by simp")
Expected behavior: Either silent, or complains that threads=0 is illegal
Actual behavior:
LEAN ASSERTION VIOLATION
File: /home/runner/work/lean4/lean4/src/runtime/object.cpp
Line: 1053
g_task_manager
'unreachable' code was reached
from
|
extern "C" LEAN_EXPORT obj_res lean_io_promise_new(obj_arg) { |
|
lean_always_assert(g_task_manager); |
Versions
v4.9.0 onwards
Additional Information
[Additional information, configuration or data that might be necessary to reproduce the issue]
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
As of Lean 4.9.0,
--threads=0gives an assertion violation.Steps to Reproduce
lean --threads=0 <(echo "example : True := by simp")Expected behavior: Either silent, or complains that
threads=0is illegalActual behavior:
from
lean4/src/runtime/object.cpp
Lines 1052 to 1053 in daa2218
Versions
v4.9.0 onwards
Additional Information
[Additional information, configuration or data that might be necessary to reproduce the issue]
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.