aldebaran / urbi

Robotic programming language
BSD 3-Clause "New" or "Revised" License
19 stars 22 forks source link

Error in urbi-launch #6

Open griz1112 opened 7 years ago

griz1112 commented 7 years ago

Built urbi on a jetson tx2 with ubuntu 16.04. Build went cleanly but when I try and execute urbi-launch -s I get this error Error in `urbi-launch': munmap_chunk(): invalid pointer: 0x0000007f97beeff0 Its version 2.7.4 patch 1758 urbi-sdk 2.7.5 patch 275 revision cab1661 Kernel killed with signal 6 abort. I don't see any references to this so I assume its some kind of build error. Any ideas on where to look to fix this?

victorpaleologue commented 7 years ago

Could you run it with GDB, and then get all the backtraces (thread apply all bt), please? I hope I can pinpoint the issue quick, this way.

BrutusTT commented 7 years ago

Hi,

i came across the same error and was wondering if I could get some help to solve it. Please find attached the log files.

$ urbi-launch -s urbi_launch.txt

GDB output urbi_gdb.txt

I am running Ubuntu 16.04. LTS in a VirtualBox 5.1.26 r117224 (Qt5.6.2) ... fresh install.

I am aware that the last version of URBI is supported for Debian 7 (docker image works). However, I need to run URBI on a more current Ubuntu and if someone could point me to the problem I can help with the migration.

Cheers

jcbaillie commented 7 years ago

I think this might be caused by the way the coroutines are implemented. I don't have time to investigate it at the moment, but this is a good hint if you feel like looking into the code.

BrutusTT commented 7 years ago

I just added the proper gdb output and it seems to me that there is something going wrong with the argument parsing for job creation. It also seems to use the precompiled parser files instead of compiling it with the rest.

BrutusTT commented 7 years ago

Thanks for the info. I will have a look into that.

mnottale commented 6 years ago

The crash on startup error has been fixed in the urbiforge/urbi fork.