Error: signal 11

Report crashes, strange behaviour, or apparent bugs
Post Reply
Jevgenerus
Posts: 3
Joined: 31 Jul 2018, 13:32

Error: signal 11

Post by Jevgenerus »

Hello,

I have freshly installed Ubuntu 18.04 LTS version and downloaded the latest version of V-REP Pro Edu (3.5.0) from the website.

When I try to run V-REP by using "./vrep.sh" command I get the following error:

Code: Select all

~/Programs/V-REP_PRO_EDU_V3_5_0_Linux$ ./vrep.sh
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)[0x7fec3236f0c8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fec36499f20]
/lib/x86_64-linux-gnu/libc.so.6(+0x49ac3)[0x7fec364a4ac3]
libv_rep.so(_ZN6oglExt15_isFboAvailableERb+0x1d)[0x7fec3256ea4d]
libv_rep.so(_ZN6oglExt25prepareExtensionFunctionsEb+0x1a)[0x7fec3256eada]
libv_rep.so(_Z15initGl_ifNeededv+0x59)[0x7fec32516769]
libv_rep.so(_ZN11CMainWindowC2Ev+0x854)[0x7fec328344e4]
libv_rep.so(_ZN3App16createMainWindowEv+0x44)[0x7fec3250aea4]
libv_rep.so(_Z24simRunSimulator_internalPKciPFvvES2_S2_+0x265)[0x7fec3237c725]
/home/jev/Programs/V-REP_PRO_EDU_V3_5_0_Linux/vrep[0x4020f2]

I have found a few topics with similar issues here on forum:
In this one it was suggested to check graphics driver, however I assume it is not my case, since I have the newest driver installed for my videocard.

Second one seems more similar to my case, from which it looks that I cannot run V-REP on Ubuntu version 18.

What can cause this problem? And do I have to reinstall OS to be Ubuntu ver. 16 or is there any workaround?

Thanks,
Jevgeni

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: Error: signal 11

Post by fferri »

One thing you could try is to download and install a Qt version which supports Ubuntu 18, and compile V-REP from source.

Jevgenerus
Posts: 3
Joined: 31 Jul 2018, 13:32

Re: Error: signal 11

Post by Jevgenerus »

Thanks for the answer!

If I get correct, first I should install Qt software from this website: https://www.qt.io/download

For compiling from source - I understood that:

Before compiling:
0) I should install QScintilla2, Boost C++ library and Lua 5.1 (binaries and headers)

For compiling:
1) I should download and install V-REP PRO EDU (like normally)
2) Then I should download source code of V-REP and plugins into V-REP folder.
3) "Finally, before being able to compile the V-REP project, you will have to adjust various paths in the config.pri file."
- should I adjust paths here in some specific way?
4) "The easiest for you to do is to copy the compiled libraries into the V-REP PRO or V-REP PRO EDU folder, then you will be sure that V-REP should start and won't complain about missing dependencies."
-- do the libraries here mean Boost C++ library/source codes/something else?

Is the sequence correct and what do I supposed to do in steps 3 and 4?

Sorry for these silly questions, I am just encountering with these things for first time.

Thanks,
Jevgeni

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: Error: signal 11

Post by fferri »

Jevgenerus wrote: 05 Sep 2018, 00:24 Thanks for the answer!

If I get correct, first I should install Qt software from this website: https://www.qt.io/download

For compiling from source - I understood that:

Before compiling:
0) I should install QScintilla2, Boost C++ library and Lua 5.1 (binaries and headers)
yes, you should have packages for most of these dependencies, but you will need to manually download the source code of QScintilla2, unpack it somewhere, and compile it, because V-REP will use some private QScintilla2 headers
Jevgenerus wrote: 05 Sep 2018, 00:24 For compiling:
1) I should download and install V-REP PRO EDU (like normally)
2) Then I should download source code of V-REP and plugins into V-REP folder.
3) "Finally, before being able to compile the V-REP project, you will have to adjust various paths in the config.pri file."
- should I adjust paths here in some specific way?
you will need to adjust for the path where you unpacked QScintilla2 source for example.
Jevgenerus wrote: 05 Sep 2018, 00:24 4) "The easiest for you to do is to copy the compiled libraries into the V-REP PRO or V-REP PRO EDU folder, then you will be sure that V-REP should start and won't complain about missing dependencies."
-- do the libraries here mean Boost C++ library/source codes/something else?
again, I think this step is needed only for those library you manually compile, such as QScintilla2. you will need to copy libqscintilla2....so to the same directory where the vrep executable is.

Post Reply