I cannot run CoppeliaSim Edu 4.0.0 on Linux Ubuntu 18.04. Whenever I try to run the ./coppeliaSim.sh through the terminal I get the following error 11:
Loading the CoppeliaSim library...
Done!
Launching CoppeliaSim...
lib: 1
lic: 1
CoppeliaSim Edu V4.0.0. (rev. 1)
Using the default Lua library.
Loaded the video compression library.
Add-on script 'simAddOnScript-addOnScriptDemo.lua' was loaded.
Add-on script 'simAddOnScript-b0RemoteApiServer.lua' was loaded.
Add-on script 'simAddOnScript_PyRep.lua' was loaded.
If CoppeliaSim crashes now, try to install libgl1-mesa-dev on your system:
>sudo apt install libgl1-mesa-dev
Error: signal 11:
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(_Z11_segHandleri+0x2b)[0x7f76776a7eab]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f767b5f9f20]
/lib/x86_64-linux-gnu/libc.so.6(+0x18e5a1)[0x7f767b7495a1]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(_Z15initGl_ifNeededv+0x110)[0x7f767788a330]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(_ZN11CMainWindowC2Ev+0x7c0)[0x7f7677b869c0]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(_ZN3App16createMainWindowEv+0x44)[0x7f767787a4b4]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(_Z24simRunSimulator_internalPKciPFvvES2_S2_iS0_b+0x2f6)[0x7f76776b6206]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/libcoppeliaSim.so(simRunSimulatorEx+0xf)[0x7f76776a589f]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/coppeliaSim(+0x1a86)[0x55f115c0da86]
/home/jeh/9_semester/Master_Mathias/gorobots/projects/C-CPGRBFN/CPGRBFN_compact_v2/V-REP/VREP1/coppeliaSim(+0x136e)[0x55f115c0d36e]
It seemed to happen after I updated my system, and I can't find any similar bugs or errors. I have been running V-REP without any issues and recently also CoppeliaSim without any errors as well.
Yes, it did nothing for me. However, I noticed in looking in other threads that it was crashing when it was evaluating the graphics driver. Apparently, some of Nvidias drivers are buggy for ubuntu and specific graphic cards, so I decided to purge all the graphic drivers and revert to an older more stable version and it worked for.