Skip to content

[Bug Report] Program aborted the execution due to unhandled error when runing API Demos 1 and 2 #1

Closed

Description

@Toni-SM

Describe the bug

Demos 1 and 2 in API Demos abort the execution due to unhandled error

Steps to reproduce

Run demos 1 and 2 in API Demos

  • Spawn different quadrupeds, visualize feet markers, and make robots stand using position commands:

    ./orbit.sh -p source/standalone/demo/play_quadrupeds.py

    kit_20230118_201202.log

    Screenshot from 2023-01-18 20-12-23

  • Spawn multiple Franka arms and apply random position commands:

    ./orbit.sh -p source/standalone/demo/play_arms.py --robot franka_panda

    kit_20230118_201501.log

    Screenshot from 2023-01-18 20-15-36

System Info

Describe the characteristic of your environment:

  • Commit: dd24040
  • Isaac Sim Version: 2022.2.0
  • OS: Ubuntu 20.04
  • GPU: RTX 3080
  • CUDA: 11.8
  • GPU Driver: 520.61.05

Additional context

  • Demo 3 runs well

    Screenshot from 2023-01-18 20-17-26

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Activity

  1. self-assigned this
    on Jan 18, 2023
  2. added
    bug
    on Jan 18, 2023
  3. Mayankm96 commented on Jan 25, 2023

    @Mayankm96
    Contributor

    Just to understand what could be happening, could you also check if the issue happens when running Isaac Sim example on multiple frankas. It does a similar set of operations.

    cd ${ISAACSIM_PATH}
    ./python.sh standalone_examples/api/omni.isaac.core/add_frankas.py
  4. added
    help wanted
    and removed
    bug
    on Jan 25, 2023
  5. Toni-SM commented on Jan 25, 2023

    @Toni-SM
    ContributorAuthor

    There is no error running the Isaac Sim example

    Screenshot from 2023-01-25 22-07-02

    Demos 1 and 2 keep crashing

  6. ADebor commented on Mar 14, 2023

    @ADebor

    Hi @Toni-SM, @Mayankm96 ,

    I don't know if you figured out what is happening, but I just wanted to let you know I'm experiencing the exact same problem with demos 1 and 2, as well as with the teleoperation script located at source/standalone/environments/teleoperation/teleop_se3_agent.py, as you can see below.

    image

    Just like @Toni-SM, there is no error running the Isaac Sim example.

    My environment:
    Commit: 7fe10e1
    Isaac Sim Version: 2022.2.0
    OS: Ubuntu 20.04
    GPU: RTX 3060
    CUDA: 12.0
    GPU Driver: 525.85.05

  7. Mayankm96 commented on Mar 16, 2023

    @Mayankm96
    Contributor

    Hi @ADebor ,

    Thanks for bringing this up again. We weren't able to find the issue yet but from what I discussed with Toni, he was having this issue when running the scripts on a laptop (they worked fine on his desktop with a similar configuration).

    For you, is this happening on a laptop setup as well? Do other scripts also not work (example: play_arms.py)?

  8. ADebor commented on Mar 16, 2023

    @ADebor

    Hi @Mayankm96,

    Thanks for your quick answer.

    Yes, the problem does happen when running the scripts on my laptop (Thinkpad X1 Extreme Gen5). As for the scripts, I encounter the problem running the two first demos play_quadrupeds.py, play_arms.py, and the teleop one I mentioned in my previous comment. play_ik_control.py works though.

  9. Mayankm96 commented on Mar 24, 2023

    @Mayankm96
    Contributor

    Hi @Toni-SM and @ADebor ,

    Isaac Sim 2022.2.1 has been released recently. Can it be checked if the issue still persists with it?

    Thanks a lot!

  10. Toni-SM commented on Mar 24, 2023

    @Toni-SM
    ContributorAuthor

    I'm in..
    Btw, I am getting the following error when ./orbit.sh --extra

    toni@HP-ZBook-Studio-G8:~/isaacorbit/Orbit$ ./orbit.sh --extra
    [INFO] Installing extra requirements such as learning frameworks...                                                                                                                                       
    /home/toni/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/python/bin/python3: can't open file '/home/toni/isaacorbit/Orbit/source/extensions/omni.isaac.orbit_envs[all]': [Errno 2] No such file or directory
    There was an error running python
  11. Toni-SM commented on Mar 24, 2023

    @Toni-SM
    ContributorAuthor

    Hi @Mayankm96

    Demo 1 and 2 still fail
    Demo 3 and 4 run fine
    And the following works nicely

    cd ${ISAACSIM_PATH}
    ./python.sh standalone_examples/api/omni.isaac.core/add_frankas.py

    demo2-kit_20230324_105000.log
    demo1-kit_20230324_104833.log

    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 520.61.05    Driver Version: 520.61.05    CUDA Version: 11.8     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |                               |                      |               MIG M. |
    |===============================+======================+======================|
    |   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 Off |                  N/A |
    | N/A   47C    P8    18W /  N/A |     12MiB / 16384MiB |      0%      Default |
    |                               |                      |                  N/A |
    +-------------------------------+----------------------+----------------------+
                                                                                   
    +-----------------------------------------------------------------------------+
    | Processes:                                                                  |
    |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
    |        ID   ID                                                   Usage      |
    |=============================================================================|
    |    0   N/A  N/A      1574      G   /usr/lib/xorg/Xorg                  4MiB |
    |    0   N/A  N/A      2484      G   /usr/lib/xorg/Xorg                  4MiB |
    +-----------------------------------------------------------------------------+
    
  12. HadiBeyzaee commented on Mar 28, 2023

    @HadiBeyzaee

    Hi @ADebor
    Did you find any solution for the Demos 1 and 2 and ./orbit.sh --extra?
    I have the same errors.

  13. Mayankm96 commented on Mar 28, 2023

    @Mayankm96
    Contributor

    The issue with orbit.sh --extra should be fixed now #41 . For the demos, I have requested for a laptop with a GPU to see what could be the issue here.

  14. Mayankm96 commented on Mar 28, 2023

    @Mayankm96
    Contributor

    @HadiBeyzaee9775 or others,

    I was looking into the scripts and I think I found the possible issue. When the backend is set to torch, it seems that one has to specify the device to use with the backend. This can be seen in the logs @Toni-SM shared above. Over there the devices for all the views are None which is what could be causing the segmentation fault in the code.

    I fixed the device to "cpu" on the branch fix/device-in-demos. Can you please try it out to see if that fixes the issue?

    git remote upstream https://github.com/NVIDIA-Omniverse/Orbit.git
    git fetch upstream fix/device-in-demos
    git checkout fix/device-in-demos
  15. 12 remaining items

  16. added a commit that references this issue on Sep 27, 2024
  17. added a commit that references this issue on Oct 11, 2024
  18. added a commit that references this issue on Feb 3, 2025
  19. added a commit that references this issue on Mar 14, 2025
  20. added a commit that references this issue on Dec 18, 2025
  21. added a commit that references this issue on Nov 27, 2026
  22. added a commit that references this issue on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions