Page 1 of 1

Running CoppeliaSim crashes with Error: signal 11

Posted: 03 Mar 2020, 16:00
by jens-troels
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:

Code: Select all

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.

Hope you can help and thank you in advance.

Re: Running CoppeliaSim crashes with Error: signal 11

Posted: 04 Mar 2020, 06:20
by coppelia
Hello,

did you try following?

Code: Select all

sudo apt install libgl1-mesa-dev
Cheers

Re: Running CoppeliaSim crashes with Error: signal 11

Posted: 04 Mar 2020, 11:40
by jens-troels
coppelia wrote: 04 Mar 2020, 06:20 Hello,

did you try following?

Code: Select all

sudo apt install libgl1-mesa-dev
Cheers
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.

You can consider it solved, and thanks!

Re: Running CoppeliaSim crashes with Error: signal 11

Posted: 04 Mar 2020, 11:41
by coppelia
Great, thanks for the feed-back!

Cheers

Re: Running CoppeliaSim crashes with Error: signal 11

Posted: 20 Nov 2020, 19:55
by thanard
I ran into the same issue on 3 different ubuntu machines (both 16.04).

NVIDIA Drivier version: 450.51.06, 440.82, and 384.130

thanard@pabti5:~$ ./CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/coppeliaSim.sh
[CoppeliaSimClient] loading the CoppeliaSim library...
[CoppeliaSimClient] done.
[CoppeliaSimClient:loadinfo] launching CoppeliaSim...
[CoppeliaSim:loadinfo] CoppeliaSim V4.1.0., (rev. 1), flavor: 1
[CoppeliaSim:loadinfo] Legacy machine ID: 5000-9DEB-FFC4-9CEC-F7E3-841D
[CoppeliaSim:loadinfo] Machine ID: E4F2-736C-0B3B-0000-5382-0101
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-thanard'
[CoppeliaSim:loadinfo] using the default Lua library.
[CoppeliaSim:loadinfo] loaded the video compression library.
[CoppeliaSim:loadinfo] if CoppeliaSim crashes now, try to install libgl1-mesa-dev on your system:
>sudo apt install libgl1-mesa-dev


Error: signal 11:

/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(_Z11_segHandleri+0x28)[0x7f35efa0e0b8]
/lib/x86_64-linux-gnu/libc.so.6(+0x354c0)[0x7f35f38314c0]
/lib/x86_64-linux-gnu/libc.so.6(strlen+0x26)[0x7f35f38877c6]
/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(_Z15initGl_ifNeededv+0x116)[0x7f35efb965e6]
/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(_ZN11CMainWindowC1Ev+0x6aa)[0x7f35efe516da]
/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(_ZN3App16createMainWindowEv+0x46)[0x7f35efb884d6]
/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(_Z24simRunSimulator_internalPKciPFvvES2_S2_iS0_b+0x354)[0x7f35efa231d4]
/home/thanard/CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/libcoppeliaSim.so(simRunSimulatorEx+0xf)[0x7f35efa0ba7f]
./CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/coppeliaSim[0x401dfe]
./CoppeliaSim_Edu_V4_1_0_Ubuntu16_04/coppeliaSim[0x4012e8]

Re: Running CoppeliaSim crashes with Error: signal 11

Posted: 24 Nov 2020, 15:18
by coppelia
hello,

and did following help?

Code: Select all

sudo apt install libgl1-mesa-dev
Cheers