Commit c2d7833
committed
[Fix] Force numpy>=2.4.1 in --install to escape OpenBLAS atfork SIGSEGV
The setup.py constraint "numpy>=2,!=2.3.5" landed in isaac-sim#5642 is silently
overridden during isaaclab.sh --install because pip resolves each
submodule install independently:
- isaaclab -> numpy stays at 2.3.1 (already satisfied)
- isaaclab_mimic[h5py]-> numpy 1.26.4 (h5py wheel ABI)
- isaaclab_rl -> numpy 2.4.5
- isaaclab_teleop[dex-retargeting] -> numpy 2.3.5 (cmeel-boost <2.4 cap)
- isaaclab_visualizers-> numpy 2.3.4
- isaaclab_mimic[robomimic] -> numpy 1.26.4
- _ensure_pink_ik_dependencies_installed force-reinstall -> numpy 2.3.5
The final pin-pink force-reinstall sees only pin-pink's numpy>=1.19 plus
cmeel-boost's numpy<2.4 cap and lands on numpy 2.3.5 - the exact release
whose vendored OpenBLAS (libscipy_openblas64_-fdde5778.so) registers a
buggy pthread_atfork handler that SIGSEGVs Kit's libomni.platforminfo
fork() during SimulationApp startup.
After the pin-pink force-reinstall, append one more pip invocation that
explicitly upgrades numpy to >= 2.4.1. pip prints a resolver warning
about cmeel-boost's cap but installs numpy 2.4.5 anyway; numpy's stable
C ABI (numpy >= 2.0) keeps cmeel's compiled extensions (libpinocchio,
libcoal, ...) working at runtime. The atfork fix landed upstream in
numpy 2.4.1, so the entire 2.3.x risk class is bypassed.
Validated locally on env_isaaclab_test (numpy 2.4.5 + pinocchio 3.9.0 +
pin 3.9.0 + daqp + qpsolvers):
- import numpy, pinocchio, pink, daqp: OK
- Bundled OpenBLAS hash: -32a4b2a6 (not the broken -fdde5778)
- IsaacLab Pink IK unit tests: 54/54 pass
(test_pink_ik_components.py 21/21, test_local_frame_task.py 24/24,
test_null_space_posture_task.py 9/9)
Related: numpy/numpy#30092, OpenMathLib/OpenBLAS#55201 parent 51cde76 commit c2d7833
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
226 | 244 | | |
227 | 245 | | |
228 | 246 | | |
| |||
0 commit comments