Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate MAP-Elites archives error #2

Open
Hi-Ryan opened this issue Oct 24, 2018 · 3 comments
Open

generate MAP-Elites archives error #2

Hi-Ryan opened this issue Oct 24, 2018 · 3 comments

Comments

@Hi-Ryan
Copy link

Hi-Ryan commented Oct 24, 2018

Hi, I have compiled the cullye_2015_nature repository and install depenencies for each. But when I generated the MAP-Elites, some error occurred. The error information is as follows:

dong@dong-pc:~/cully_2015_nature$ ./sferes2/build/default/exp/map_elites_hexapod/hexa_duty_text
debut run
sferes2 version: (const char*)"c1079efedd1d21b602e3ba02af37b6058ad5ddc3"
seed: 1540378784
Segmentation fault (core dumped)

So..can you give me some advice and tell me your compile environment such as the version of ODE and system version?
I run on Ubuntu 14.04 and the version of ODE is 0.13

@jbmouret
Copy link
Member

Can you run the binary with gdb or valgrind and send us the trace corresponding to the segfault?

In addition, please note that we have a new version of this algorithm here: https://github.com/resibots/ite_v2

@Hi-Ryan
Copy link
Author

Hi-Ryan commented Oct 25, 2018

They are as follow:
dong@dong-pc:~/cully_2015_nature$ valgrind ./sferes2/build/debug/exp/map_elites_hexapod/hexa_duty_text==3277== Memcheck, a memory error detector
==3277== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==3277== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==3277== Command: ./sferes2/build/debug/exp/map_elites_hexapod/hexa_duty_text
==3277==
debut run
sferes2 version: (const char*)"c1079efedd1d21b602e3ba02af37b6058ad5ddc3"
seed: 1540435475

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=-0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=-0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=-0.0000e+00)

ODE Message 3: LCP internal error, s <= 0 (s=-0.0000e+00)
^C==3277==
==3277== HEAP SUMMARY:
==3277== in use at exit: 4,788,042 bytes in 3,030 blocks
==3277== total heap usage: 3,404,851 allocs, 3,401,821 frees, 422,429,498 bytes allocated
==3277==
==3277== LEAK SUMMARY:
==3277== definitely lost: 53,400 bytes in 337 blocks
==3277== indirectly lost: 22,080 bytes in 109 blocks
==3277== possibly lost: 62,078 bytes in 122 blocks
==3277== still reachable: 4,650,484 bytes in 2,462 blocks
==3277== suppressed: 0 bytes in 0 blocks
==3277== Rerun with --leak-check=full to see details of leaked memory
==3277==
==3277== For counts of detected and suppressed errors, rerun with: -v
==3277== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Killed

dong@dong-pc:/cully_2015_nature$ gdb ./sferes2/build/debug/exp/map_elites_hexapod/hexa_duty_text
GNU gdb (Ubuntu 7.7.1-0ubuntu5
14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./sferes2/build/debug/exp/map_elites_hexapod/hexa_duty_text...done.
(gdb) r
Starting program: /home/dong/cully_2015_nature/sferes2/build/debug/exp/map_elites_hexapod/hexa_duty_text
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
debut run
sferes2 version: (const char*)"c1079efedd1d21b602e3ba02af37b6058ad5ddc3"
seed: 1540438422
[New Thread 0x7ffff618b700 (LWP 3862)]
[New Thread 0x7ffff5d8a700 (LWP 3863)]
[New Thread 0x7ffff5989700 (LWP 3864)]

ODE INTERNAL ERROR 1: assertion "job_instance->m_dependencies_count != 0" failed in AlterJobProcessingDependencies() [threading_impl_templates.h:718]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff618b700 (LWP 3862)]
0x00007ffff63e0c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)

@jbmouret
Copy link
Member

It seems to be the same error as: resibots/robdyn#7

Unfortunately, we have no fix as we did not use this code (based on ODE) for years. The best option is to switch to ite_v2: https://github.com/resibots/ite_v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants