[Isaac Sim 6.0.1] Reliable segfault on Timeline Stop when "Enable GPU Dynamics" is on (regression from 5.1.0) #757
Replies: 2 comments 2 replies
|
Hi @MohammadrezaFar thank you for the detailed info on the crash issue you are running into. Can you share the full logs from your runs and the Dockerfile you are using? Thank you. |
|
Hi @MohammadrezaFar, Thank you for providing the logs and Docker configuration. We were not able to reproduce the crash on our single-GPU Isaac Sim 6.0.1 setup, but your dual-GPU configuration appears to be an important part of the trigger. We found a related multi-GPU PhysX issue in which stopping the Timeline can crash while releasing a GPU simulation. A fix for that issue is expected in the Physics version included with Isaac Sim 6.1, which is scheduled to be released today or tomorrow. We cannot confirm that your crash has the same root cause without a matching native backtrace, but the version, multi-GPU configuration, GPU Dynamics dependency, and Stop-time failure are closely aligned. Once Isaac Sim 6.1 is publicly available, please test the same scene with both GPU Dynamics and multi-GPU enabled and let us know whether the crash is resolved. Until then, the preferred workaround is to run Isaac Sim in single-GPU mode while keeping GPU Dynamics enabled: ./runheadless.sh --/renderer/multiGpu/enabled=falseIf single-GPU execution is not suitable, continue using CPU PhysX by disabling Enable GPU Dynamics, which you have already confirmed avoids the crash. If the issue remains in Isaac Sim 6.1, please share the new log and crash dump ID. It would also be helpful to confirm whether |
Uh oh!
There was an error while loading. Please reload this page.
Isaac Sim Version
[X] 6.0.1
[ ] 6.0.0
[ ] 5.1.0
[ ] 5.0.0
[ ] 4.5.0
[ ] 4.2.0
[ ] 4.1.0
[ ] 4.0.0
[ ] 4.5.0
[ ] 2023.1.1
[ ] 2023.1.0-hotfix.1
[ ] Other (please specify):
Operating System
[X] Ubuntu 24.04
[ ] Ubuntu 22.04
[ ] Ubuntu 20.04
[ ] Windows 11
[ ] Windows 10
[ ] Other (please specify):
GPU Information
Topic Description
Detailed Description
Summary
Isaac Sim 6.0.1, running headless in Docker with the WebRTC streaming client, crashes with a segmentation fault 100% of the time when stopping the timeline (
Stopbutton oromni.timeline.get_timeline_interface().stop()), as long as the scene has an actively-stepping PhysX simulation with Enable GPU Dynamics turned on. Disabling Enable GPU Dynamics on the PhysicsScene prim (keeping physics running on CPU) makes the exact same scenes Play/Stop reliably with no crash. This setup worked without issue for a long time on Isaac Sim 5.1.0 with identical hardware, driver, and Docker configuration.I've isolated this down to a minimal repro and would like to know whether this is a known regression, whether disabling GPU Dynamics is the recommended workaround, and whether a fix is planned.
System / Environment
nvcr.io/nvidia/isaac-sim:6.0.1)appVersion=6.0.1, KitVersion=110.1.2+production.326809.f9bf0dda.gllib_isaacSim_buildVersion=6.0.1-rc.7,lib_isaacSim_buildHash=32955d8lib_physx_buildVersion=110.1.13CarbSdkVersion=210.1.11+release.13746.80f6dc72.glFROM nvcr.io/nvidia/isaac-sim:6.0.1, launched viarunheadless.sh→isaacsim.exp.full.streaming.kit, connected to via the Isaac Sim WebRTC Streaming ClientnvidiaDocker runtime, container runs as non-root user,--/renderer/multiGpu/enabled=trueThis exact dual-GPU configuration (with
multiGpu/enabled=true) was used for a long time on Isaac Sim 5.1.0 on the same server, same driver, same Docker setup, with no crashes of this kind.Steps to Reproduce
docker compose down+build+up, no cached state —~/.local/share/ov/datais not volume-mounted, so every run starts cold;autoloadExtsis empty, confirmed via crash-report metadata).omni.timeline.get_timeline_interface().stop()from the Script Editor.restart: unless-stopped).Isolation performed
I went through a fairly thorough elimination process across several sessions before landing on the actual cause:
autoloadExts)omni.timeline.get_timeline_interface().stop()via Script Editorxvfb-runto provide a virtual displayxvfb-runstartup issue on my end means this test isn't fully conclusive — noting for completeness, not as a ruled-out variableSo the crash appears tied specifically to GPU-accelerated PhysX pipeline teardown when the timeline is stopped, not to rendering, materials, or any third-party extension.
Crash signature (consistent across 4 separate captured logs)
carb.crashreporter-breakpad.plugincatches aSegmentation fault (core dumped).dump file size is 0 bytes, file is readablein earlier captures; later captures didn't complete the upload before the container was torn down). I have not yet been able to attach a debugger in time (open to suggestions on the best way to do this reliably in a headless streaming container, if there's a documented approach).carb.windowing-glfw.pluginlogs aGLFW initialization failedwarning — mid-session, not at startup (this is distinct from the normal, documented, harmless startup-time GLFW warning for headless mode). This ~3-second gap between that warning and the segfault was consistent across all 4 logs I captured (regardless of scene, script, or elapsed session time — seen at roughly the 500s, 750s, 1036s, and 754s marks in different sessions). I'm not sure if this is causally related to the GPU Dynamics teardown or a separate symptom that happens to be time-correlated — flagging it in case it's a useful clue.lastCommandin the crash metadata isToolbarStopButtonClickedwhen Stop is triggered via the UI, and (as expected, since API calls don't go through Kit's Command History) stays at the previous command when Stop is triggered via script — but the crash happens either way.Question for NVIDIA / the community
Happy to share full logs, my Dockerfile, or run further tests — this is 100% reproducible on my end so I can iterate quickly.
All reactions