Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Report crashes, strange behaviour, or apparent bugs
Post Reply
HLalogeLC
Posts: 5
Joined: 15 Jun 2020, 16:37

Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by HLalogeLC »

I have a similar experience as this post https://forum.coppeliarobotics.com/view ... f=5&t=9299. When I launch, it does this:

Code: Select all

~/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04> ./coppeliaSim.sh
[CoppeliaSimClient]    loading the CoppeliaSim library...
Could not find function simSetInt32Signal
[CoppeliaSimClient]    could not find all required functions in the CoppeliaSim library.
[CoppeliaSimClient]    unloading the CoppeliaSim library...
[CoppeliaSimClient]    done.
libLoadErrorCheck does not find anything abnormal:

Code: Select all

./libLoadErrorCheck.sh
        linux-vdso.so.1 (0x00007ffdb66eb000)
        libSL.so => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libSL.so (0x00007f51d46b9000)
        liblua5.3.so.0 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/liblua5.3.so.0 (0x00007f51d467e000)
        libqscintilla2_qt5.so.13 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libqscintilla2_qt5.so.13 (0x00007f51d4105000)
        libQt5OpenGL.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5OpenGL.so.5 (0x00007f51d3eae000)
        libQt5Widgets.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5Widgets.so.5 (0x00007f51d365f000)
        libQt5Gui.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5Gui.so.5 (0x00007f51d2e10000)
        libQt5Network.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5Network.so.5 (0x00007f51d2a69000)
        libQt5SerialPort.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5SerialPort.so.5 (0x00007f51d2850000)
        libQt5Core.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5Core.so.5 (0x00007f51d20b7000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f51d1fd7000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f51d1fb4000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f51d1dd0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f51d1c81000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f51d1c66000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f51d1a74000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f51d1a6e000)
        libQt5PrintSupport.so.5 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libQt5PrintSupport.so.5 (0x00007f51d17fc000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f51d17de000)
        libicui18n.so.56 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libicui18n.so.56 (0x00007f51d1345000)
        libicuuc.so.56 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libicuuc.so.56 (0x00007f51d0f8d000)
        libicudata.so.56 => /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libicudata.so.56 (0x00007f51cf5aa000)
        libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f51cf5a5000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f51cf47a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f51d5725000)
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f51cf3c2000)
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f51cf38e000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f51cf31b000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f51cf1de000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f51cf1b2000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f51cf1ac000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f51cf1a4000)
        libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f51cf18a000)
LD_DEBUG=libs give me the list of the symbols not found:

Code: Select all

     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simSetInt32Signal (fatal)
     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simGetInt32Signal (fatal)
     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simClearInt32Signal (fatal)
     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simSetInt32Signal (fatal)
     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simGetInt32Signal (fatal)
     54828:     /home/laloge_h/Tools/CoppeliaSim_Pro_V4_2_0_Ubuntu20_04/libcoppeliaSim.so: error: symbol lookup error: undefined symbol: simClearInt32Signal (fatal)

coppelia
Site Admin
Posts: 8818
Joined: 14 Dec 2012, 00:25

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by coppelia »

Hello,

and sorry for the late reply. Did you compile the client application yourself? Otherwise, I can't explain that error...
Also, when (approximately) did you download coppeliaSim V4.2.0 rev5?

Cheers

HLalogeLC
Posts: 5
Joined: 15 Jun 2020, 16:37

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by HLalogeLC »

Hello,

I didn't compiled the client myself. I downloaded the .tar.gz file the 12 of July at 14:30. I re-downloaded it right now and the bug still happens.

EDIT:

I downloaded it from this link: https://www.coppeliarobotics.com/files/ ... _04.tar.xz
nm shows the functions are missing from libcoppeliaSim.so.

coppelia
Site Admin
Posts: 8818
Joined: 14 Dec 2012, 00:25

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by coppelia »

I can't explain that error. I tested it on a fresh install, but can't reproduce that...
Are you sure you don't have anything special or specific on your system? It really appears as a mismatch between libcoppeliaSimLib.so and coppeliaSim executable.

Cheers

HLalogeLC
Posts: 5
Joined: 15 Jun 2020, 16:37

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by HLalogeLC »

I tried on a fresh system too. I even tried in a fresh ubuntu:focal docker container. Exact same error. Note that I use the PRO version. It works with the EDU version.

Can you confirm that in your installation, the following commands return the same thing?

Code: Select all

# PRO VERSION
> sha1sum coppeliaSim libcoppeliaSim.so
43c0df93c5c3f4983737333a53959d7aa6a8bb43  coppeliaSim
62c28904f7cd9ed93b1e9488f46e7e520522afd9  libcoppeliaSim.so
> nm coppeliaSim|grep simSetInt32Signal
000000000001b058 B simSetInt32Signal
> nm libcoppeliaSim.so|grep simSetInt32Signal
>
# EDU VERSION
> sha1sum coppeliaSim libcoppeliaSim.so
43c0df93c5c3f4983737333a53959d7aa6a8bb43  coppeliaSim
9061d29865d282dcdf20cb1d050a301bb3076b8a  libcoppeliaSim.so
> nm coppeliaSim|grep simSetInt32Signal
000000000001b058 B simSetInt32Signal
> nm libcoppeliaSim.so|grep simSetInt32Signal
00000000005132a0 T simSetInt32Signal
00000000005b2890 T _Z18_simSetInt32SignalPv
000000000028162f t _Z18_simSetInt32SignalPv.cold
0000000000544200 T _Z26simSetInt32Signal_internalPKci
0000000000270f86 t _Z26simSetInt32Signal_internalPKci.cold
>

coppelia
Site Admin
Posts: 8818
Joined: 14 Dec 2012, 00:25

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Post by coppelia »

Oops, I didn't notice you were talking about the Pro version. Indeed, it was faulty under certain circomstances, and was replaced right now, please try to download the new version.

Cheers

Post Reply