Commit bfeb3e4
committed
[Diag] Revert app_launcher torch-defer (isaac-sim#5633) to reintroduce atfork bug
Surgical hunk-level revert of commit a5eb9ad ("Fixes OmniHub startup
in Docker tests", isaac-sim#5633) applied only to
source/isaaclab/isaaclab/app/app_launcher.py.
Removes the defer-torch mechanism so that `import torch` (and
transitively `import numpy`) happens in AppLauncher.__init__ BEFORE
SimulationApp's fork() through libomni.platforminfo. If the resolved
numpy is 2.3.5, its bundled OpenBLAS pthread_atfork handler will SIGSEGV
the canary jobs.
Unlike the prior whole-file revert, this preserves PR isaac-sim#5449's
`--deterministic` CLI flag and RTX-determinism logic, which landed after
isaac-sim#5633 and was wiped as collateral damage in the previous attempt.
Companion to the relocated diagnostic conftest in the next commit:
source/isaaclab/test/conftest.py prints the resolved numpy + OpenBLAS
hash so we can confirm which numpy actually landed.
Refs PR isaac-sim#5656 (numpy!=2.3.5 exclusion fix being validated).1 parent 4f7dd10 commit bfeb3e4
1 file changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
| |||
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
254 | | - | |
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
| |||
1007 | 1005 | | |
1008 | 1006 | | |
1009 | 1007 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
1013 | 1011 | | |
1014 | | - | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | 1021 | | |
1031 | 1022 | | |
1032 | 1023 | | |
| |||
0 commit comments