RoboticsAcademy icon indicating copy to clipboard operation
RoboticsAcademy copied to clipboard

System Crashes after Launching RobotAcademy

Open Blebot0 opened this issue 3 years ago • 16 comments

System Details:

  • OS: Fedora 35
  • RADI Version: Latest

Installation Steps Followed:

docker pull jderobot/robotics-academy:latest

Details of the issue:

After running the command: docker run --rm -it -p 8000:8000 -p 2303:2303 -p 1905:1905 -p 8765:8765 -p 6080:6080 -p 1108:1108 jderobot/robotics-academy:latest ./start.sh

I navigate to localhost:8000 on my web browser. After the "Connection" was established, when I click on Launch button, my system stops responding. Source : (https://jderobot.github.io/RoboticsAcademy/exercises/AutonomousCars/follow_line/)

I am unable to take screenshots of the output screen on my terminal.

Blebot0 avatar Apr 13 '22 14:04 Blebot0

Hi @Blebot0 , please try again on latest docker image (3.2.5) with the following command:

docker run --rm -it -p 8000:8000 -p 2303:2303 -p 1905:1905 -p 8765:8765 -p 6080:6080 -p 1108:1108 jderobot/robotics-academy

pariaspe avatar Apr 15 '22 15:04 pariaspe

@pariaspe I tried it. Still the same issue.

Blebot0 avatar Apr 16 '22 12:04 Blebot0

Could you share your console output?

pariaspe avatar Apr 18 '22 07:04 pariaspe

I'll try to log my terminal output. As I told you, my entire system freezes as soon as I click launch which is followed by a hard reset.

Blebot0 avatar Apr 18 '22 08:04 Blebot0

Hi @Blebot0

I am trying to replicate this issue on my end, Is there any sort of information or steps you have followed during the launch which is not mentioned above.

akshaynarisetti avatar Apr 25 '22 19:04 akshaynarisetti

@pariaspe I am able to replicate the issue on my end.

Here is the console output https://pastebin.com/0fkqX9Ud, something looks familiar?

Edit:- roscore command also produces the same output

akshaynarisetti avatar Apr 26 '22 19:04 akshaynarisetti

Hey @akshaynarisetti , try to run RADI with --logs flag. It will record logs into .roboticsacademy/log/{date_time}

pariaspe avatar Apr 27 '22 08:04 pariaspe

Hi @pariaspe,

I tried using --logs flag, doesn't seem to be the correct way, It throws an error

unknown flag: --logs
See 'docker run --help'.

I tried with -logs flag which logged to /var/lib/docker/containers/ but didn't find anything much there, here is the logs for your reference.

https://github.com/akshaynarisetti/issue1670_logs/tree/main/a46b603f60d6c50df76fbd002b96654e89e3622a06b8f411cc31f6b80af020b1

akshaynarisetti avatar Apr 27 '22 11:04 akshaynarisetti

Although the std::bad_alloc() seems to be caused by not enough memory being left in the device, I still haven't come to a conclusion on the root cause.

I'll try other ROS docker containers and see if they are working fine on Fedora_35.

akshaynarisetti avatar Apr 27 '22 11:04 akshaynarisetti

Hi @pariaspe,

I tried using --logs flag, doesn't seem to be the correct way, It throws an error

unknown flag: --logs
See 'docker run --help'.

I tried with -logs flag which logged to /var/lib/docker/containers/ but didn't find anything much there, here is the logs for your reference.

https://github.com/akshaynarisetti/issue1670_logs/tree/main/a46b603f60d6c50df76fbd002b96654e89e3622a06b8f411cc31f6b80af020b1

Try:

docker run --rm -it -p 8000:8000 -p 2303:2303 -p 1905:1905 -p 8765:8765 -p 6080:6080 -p 1108:1108 jderobot/robotics-academy --logs

pariaspe avatar Apr 27 '22 12:04 pariaspe

@akshaynarisetti How did you log the output from command line? Are you using a VM for Fedora 35?

Blebot0 avatar Apr 27 '22 18:04 Blebot0

Hi @Blebot0 I am running it on AWS cloud essentially in virtualization env.

akshaynarisetti avatar Apr 27 '22 20:04 akshaynarisetti

Hi @pariaspe,

logs doesn't seem to work.

Could be because docker crashes along with the terminal application.

akshaynarisetti avatar Apr 28 '22 14:04 akshaynarisetti

Hi @pariaspe

Update:- I tried running the official Docker image of ros:noetic. It also throws the same error on executing roscore.

Seems the issue is not with our Repository.

The core issue is with Fedora_35, Docker and ROS.

akshaynarisetti avatar Apr 28 '22 15:04 akshaynarisetti

Thanks @akshaynarisetti for testing on Fedora35 machines

pariaspe avatar Apr 29 '22 18:04 pariaspe

Hi @pariaspe

Let us escalate this issue to Docker or Fedora and this issue should be closable once done.

akshaynarisetti avatar Aug 22 '22 06:08 akshaynarisetti