I moved from Ubuntu 16.04 to Ubuntu 18.04 and try to run V-REP 3.5. It crashes with the following output:
Code: Select all
Using the default Lua library.
Loaded the video compression library.
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
Error: signal 11:
libv_rep.so(_Z11_segHandleri+0x28)[0x7f5e989400c8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f5e9ca6af20]
Code: Select all
#0 0x0000000000000000 in ()
#1 0x00007ffff11cc19f in QOpenGLContext::makeCurrent(QSurface*) () at ./libQt5Gui.so.5
#2 0x00007ffff2060cf2 in QGLContext::makeCurrent() () at ./libQt5OpenGL.so.5
#3 0x00007ffff30df4df in CMainWindow::CMainWindow() () at ./libv_rep.so
#4 0x00007ffff2db5ea4 in App::createMainWindow() () at ./libv_rep.so
#5 0x00007ffff2c27725 in simRunSimulator_internal(char const*, int, void (*)(), void (*)(), void (*)()) () at ./libv_rep.so
#6 0x00000000004020f2 in main ()
I tried to change the provided libQt5 and liblua for the system ones, but with no success.
I searched this forum and found: Weird segfault in liblua (v.3.5.0) which is somehow similar to problems that I am experiencing and might be related.
Note, in headless mode, the program starts correctly.
Finally, I tried to revert back to the V-REP 3.4 and it works.