Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gzclient crashes with a segfault in a non-deterministic way with qt=5.12.9=ha98a1a1_5 #119

Closed
traversaro opened this issue Feb 8, 2022 · 25 comments

Comments

@traversaro
Copy link
Contributor

traversaro commented Feb 8, 2022

I am experiencing non-deterministic (but frequenct, like 1/2 or 2/3 of the times) in recent builds of Gazebo:

  • gazebo=11.10.1=h9f65e32_1
  • gazebo=11.10.1=h7ab597c_2

List (in testing different versions only tbb and gazebo change):

(gazebolatest) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ mamba list
# packages in environment at /home/traversaro/mambaforge/envs/gazebolatest:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
aom                       3.2.0                h9c3ff4c_2    conda-forge
assimp                    5.2.0                hedfc422_1    conda-forge
atk-1.0                   2.36.0               h3371d22_4    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
boost-cpp                 1.74.0               h6cacc03_7    conda-forge
bullet-cpp                3.21                 hb5077e9_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
cairo                     1.16.0            ha00ac49_1009    conda-forge
cfitsio                   4.0.0                h9a35b8e_0    conda-forge
console_bridge            1.0.1                h4bd325d_0    conda-forge
cppzmq                    4.8.1                hf7cf922_0    conda-forge
curl                      7.81.0               h2574ce0_0    conda-forge
dartsim                   6.12.1               h7529616_2    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
eigen                     3.4.0                h4bd325d_0    conda-forge
expat                     2.4.4                h9c3ff4c_0    conda-forge
fcl                       0.7.0                h2cbc392_0    conda-forge
ffmpeg                    4.4.1                h6987444_0    conda-forge
flann                     1.9.1             hfe772e8_1010    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              ha180cfb_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freeglut                  3.2.2                h9c3ff4c_0    conda-forge
freeimage                 3.18.0               h88c329d_7    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
freexl                    1.0.6                h7f98852_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gazebo                    11.10.1              h7ab597c_2    conda-forge
gdbm                      1.18                 h0a1914f_2    conda-forge
gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
geos                      3.10.2               h9c3ff4c_0    conda-forge
geotiff                   1.7.0                h6593c0a_6    conda-forge
gettext                   0.19.8.1          h73d1719_1008    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  2.50.0               h8e749b2_2    conda-forge
gst-plugins-base          1.18.5               hf529b03_3    conda-forge
gstreamer                 1.18.5               h9f60fe5_3    conda-forge
gtk2                      2.24.33              h90689f9_2    conda-forge
gts                       0.7.6                h64030ff_2    conda-forge
harfbuzz                  3.3.1                hb4a5f5f_0    conda-forge
hdf4                      4.2.15               h10796ff_3    conda-forge
hdf5                      1.12.1          nompi_h2750804_103    conda-forge
icu                       69.1                 h9c3ff4c_0    conda-forge
ilmbase                   2.5.5                h780b84a_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9e                   h7f98852_0    conda-forge
json-c                    0.15                 h98cffda_0    conda-forge
jsoncpp                   1.9.5                h4bd325d_1    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kealib                    1.4.14               h87e4c3c_3    conda-forge
krb5                      1.19.2               hcc1bbae_3    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
lerc                      3.0                  h9c3ff4c_0    conda-forge
libblas                   3.9.0           13_linux64_openblas    conda-forge
libccd                    2.1                  h9c3ff4c_1    conda-forge
libclang                  13.0.1          default_hc23dcda_0    conda-forge
libcurl                   7.81.0               h2574ce0_0    conda-forge
libdap4                   3.20.6               hd7c4107_2    conda-forge
libdeflate                1.8                  h7f98852_0    conda-forge
libdrm                    2.4.109              h7f98852_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h9b69904_4    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_12    conda-forge
libgd                     2.3.3                h3cfcdeb_1    conda-forge
libgdal                   3.4.1                h7b6f8d3_2    conda-forge
libgfortran-ng            11.2.0              h69a702a_12    conda-forge
libgfortran5              11.2.0              h5c6108e_12    conda-forge
libglib                   2.70.2               h174f98d_2    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   11.2.0              h1d223b6_12    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libignition-cmake2        2.10.0               h9c3ff4c_0    conda-forge
libignition-common3       3.13.2               ha44c05f_1    conda-forge
libignition-fuel-tools4   4.4.0                hfaf2eda_5    conda-forge
libignition-math6         6.10.0               h9c3ff4c_0    conda-forge
libignition-msgs5         5.7.0                h42850c7_2    conda-forge
libignition-tools1        1.4.1                h33ecc0d_2    conda-forge
libignition-transport8    8.1.0                h12d6754_9    conda-forge
libkml                    1.3.0             h238a007_1014    conda-forge
liblapack                 3.9.0           13_linux64_openblas    conda-forge
libllvm13                 13.0.1               hf817b99_0    conda-forge
libnetcdf                 4.8.1           nompi_hb3fd0d9_101    conda-forge
libnghttp2                1.46.0               h812cca2_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libode                    0.16.2               h122e73d_9    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.18          pthreads_h8fe5266_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.16                 h516909a_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     14.1                 hd57d9b9_1    conda-forge
libprotobuf               3.19.4               h780b84a_0    conda-forge
libraw                    0.20.2               h10796ff_1    conda-forge
librsvg                   2.52.5               h0a9e6e8_2    conda-forge
librttopo                 1.1.0                hf69c175_9    conda-forge
libsdformat               9.3.0                h21f569a_5    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspatialite             5.0.1               h0e567f8_14    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_12    conda-forge
libtar                    1.2.20            h7f98852_1004    conda-forge
libtiff                   4.3.0                h6f004c6_2    conda-forge
libtool                   2.4.6             h9c3ff4c_1008    conda-forge
libudev1                  249                  h7f98852_1    conda-forge
libusb                    1.0.25             h4c0bc5a_100    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libva                     2.13.0               h7f98852_2    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libvpx                    1.11.0               h9c3ff4c_3    conda-forge
libwebp                   1.2.2                h3452ae3_0    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h885dcf4_1    conda-forge
libzip                    1.8.0                h4de3113_1    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
mysql-common              8.0.28               ha770c72_0    conda-forge
mysql-libs                8.0.28               hfa10184_0    conda-forge
ncurses                   6.3                  h9c3ff4c_0    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
nspr                      4.32                 h9c3ff4c_1    conda-forge
nss                       3.74                 hb5efdd6_0    conda-forge
octomap                   1.9.7                h4bd325d_0    conda-forge
ogre                      1.10.12              hf655ca9_7    conda-forge
openal-soft               1.21.1               h4bd325d_0    conda-forge
openexr                   2.5.5                hf817b99_0    conda-forge
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1l               h7f98852_0    conda-forge
pango                     1.50.3               h9967ed3_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
poppler                   21.11.0              ha39eefc_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.1                 h2510834_1    conda-forge
proj                      8.2.1                h277dcde_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pugixml                   1.11.4               h9c3ff4c_0    conda-forge
python                    3.10.2          h85951f9_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
qt                        5.12.9               ha98a1a1_5    conda-forge
qwt                       6.2.0                h7ec6b3e_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
ruby                      3.1.0                h86e321c_1    conda-forge
sdl2                      2.0.18               h9c3ff4c_0    conda-forge
setuptools                60.8.1          py310hff52083_0    conda-forge
simbody                   3.7                  h64f3f5a_3    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
svt-av1                   0.9.0                h9c3ff4c_0    conda-forge
swig                      4.0.2                hd3c618e_2    conda-forge
tbb                       2021.5.0             h4bd325d_0    conda-forge
tiledb                    2.6.2                h2038895_1    conda-forge
tinyxml                   2.6.2                h4bd325d_2    conda-forge
tinyxml2                  9.0.0                h9c3ff4c_2    conda-forge
tk                        8.6.11               h27826a3_1    conda-forge
tzcode                    2021e                h7f98852_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
urdfdom                   2.3.5                h4bd325d_0    conda-forge
urdfdom_headers           1.0.5                h4bd325d_2    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
x264                      1!161.3030           h7f98852_1    conda-forge
x265                      3.5                  h4bd325d_1    conda-forge
xerces-c                  3.2.3                h8ce2273_4    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxaw               1.0.14               h7f98852_1    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxmu               1.1.3                h7f98852_0    conda-forge
xorg-libxpm               3.5.13               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge
zstd                      1.5.2                ha95c52a_0    conda-forge
zziplib                   0.13.69              h27826a3_1    conda-forge

I initially tought this was due to #115, but it seems that it happens also in earlier build. It also may be something in my setup.

@traversaro traversaro changed the title Recent builds of Gazebo segfaults on WSL2 Recent builds (Early-Mid February 2022) of Gazebo segfaults on WSL2 Feb 8, 2022
@traversaro
Copy link
Contributor Author

The great debugging of @HosameldinMohamed and @kouroshD suggested that the problem is related to Qt. Indeed, a new qt build was uploaded ~25 days ago: https://anaconda.org/conda-forge/qt/files .

An older version can be installed with:

mamba install qt=5.12.9=hda022c4_4

The latest gazebo build is not compatible with qt=5.12.9=hda022c4_4, so the solver installs gazebo 11.10.0, that unfortunatly does not start with:

(gazebo) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ gazebo --verbose
Gazebo multi-robot simulator, version 11.10.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 11.10.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.20.249.14
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.20.249.14
[Err] [server_main.cc:57] Ogre Error:ItemIdentityException: Resource with the name shadow_caster_vp_glsl already exists. in ResourceManager::add at /home/conda/feedstock_root/build_artifacts/ogre_1612037790705/work/OgreMain/src/OgreResourceManager.cpp (line 157)

(This was an upstream problem fixed in 11.10.1, see gazebosim/gazebo-classic#3161).

However, if one ask for an older gazebo such as 11.9, gazebo works again:

mamba install gazebo=11.9 qt=5.12.9=hda022c4_4

Note that this is not related to the gazebo version, as if one installs:

mamba install gazebo=11.9 qt=5.12.9=ha98a1a1_5

gazebo segfaults as well.

@traversaro
Copy link
Contributor Author

Details on working and not working environments

Environment that is working (mamba install gazebo=11.9 qt=5.12.9=hda022c4_4):

(gazebo_working) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ mamba list
# packages in environment at /home/traversaro/mambaforge/envs/gazebo_working:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
aom                       3.2.0                h9c3ff4c_2    conda-forge
assimp                    5.0.1                hedfc422_7    conda-forge
atk-1.0                   2.36.0               h3371d22_4    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
boost-cpp                 1.74.0               h312852a_4    conda-forge
bullet-cpp                3.17                 hb5077e9_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
cfitsio                   4.0.0                h9a35b8e_0    conda-forge
console_bridge            1.0.1                h4bd325d_0    conda-forge
cppzmq                    4.8.1                hf7cf922_0    conda-forge
curl                      7.81.0               h2574ce0_0    conda-forge
dartsim                   6.12.1               he39ca3a_0    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
eigen                     3.4.0                h4bd325d_0    conda-forge
expat                     2.4.4                h9c3ff4c_0    conda-forge
fcl                       0.7.0                h2cbc392_0    conda-forge
ffmpeg                    4.4.1                h6987444_0    conda-forge
flann                     1.9.1             hfe772e8_1010    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              ha180cfb_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freeglut                  3.2.2                h9c3ff4c_0    conda-forge
freeimage                 3.18.0               h88c329d_7    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
freexl                    1.0.6                h7f98852_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gazebo                    11.9.1               h9f65e32_2    conda-forge
gdbm                      1.18                 h0a1914f_2    conda-forge
gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
geos                      3.10.1               h9c3ff4c_1    conda-forge
geotiff                   1.7.0                h90a4e78_5    conda-forge
gettext                   0.19.8.1          h73d1719_1008    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  2.50.0               h85b4f2f_1    conda-forge
gst-plugins-base          1.18.5               hf529b03_3    conda-forge
gstreamer                 1.18.5               h9f60fe5_3    conda-forge
gtk2                      2.24.33              h539f30e_1    conda-forge
gts                       0.7.6                h64030ff_2    conda-forge
harfbuzz                  3.1.1                h83ec7ef_0    conda-forge
hdf4                      4.2.15               h10796ff_3    conda-forge
hdf5                      1.12.1          nompi_h2750804_103    conda-forge
icu                       68.2                 h9c3ff4c_0    conda-forge
ilmbase                   2.5.5                h780b84a_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9e                   h7f98852_0    conda-forge
json-c                    0.15                 h98cffda_0    conda-forge
jsoncpp                   1.9.5                h4bd325d_1    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kealib                    1.4.14               h87e4c3c_3    conda-forge
krb5                      1.19.2               hcc1bbae_3    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
lerc                      3.0                  h9c3ff4c_0    conda-forge
libblas                   3.9.0           13_linux64_openblas    conda-forge
libccd                    2.1                  h9c3ff4c_1    conda-forge
libclang                  11.1.0          default_ha53f305_1    conda-forge
libcurl                   7.81.0               h2574ce0_0    conda-forge
libdap4                   3.20.6               hd7c4107_2    conda-forge
libdeflate                1.8                  h7f98852_0    conda-forge
libdrm                    2.4.109              h7f98852_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h9b69904_4    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_12    conda-forge
libgd                     2.3.3                h6ad9fb6_0    conda-forge
libgdal                   3.4.0               h4471fe2_11    conda-forge
libgfortran-ng            11.2.0              h69a702a_12    conda-forge
libgfortran5              11.2.0              h5c6108e_12    conda-forge
libglib                   2.70.2               h174f98d_2    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   11.2.0              h1d223b6_12    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libignition-cmake2        2.10.0               h9c3ff4c_0    conda-forge
libignition-common3       3.13.2               ha44c05f_1    conda-forge
libignition-fuel-tools4   4.4.0                hfaf2eda_6    conda-forge
libignition-math6         6.10.0               h9c3ff4c_0    conda-forge
libignition-msgs5         5.7.0                h42850c7_2    conda-forge
libignition-tools1        1.4.1                h33ecc0d_2    conda-forge
libignition-transport8    8.1.0                h12d6754_9    conda-forge
libkml                    1.3.0             h238a007_1014    conda-forge
liblapack                 3.9.0           13_linux64_openblas    conda-forge
libllvm11                 11.1.0               hf817b99_2    conda-forge
libnetcdf                 4.8.1           nompi_hb3fd0d9_101    conda-forge
libnghttp2                1.46.0               h812cca2_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libode                    0.16.2               h122e73d_9    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.18          pthreads_h8fe5266_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.16                 h516909a_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     13.5                 hd57d9b9_1    conda-forge
libprotobuf               3.19.4               h780b84a_0    conda-forge
libraw                    0.20.2               h10796ff_1    conda-forge
librsvg                   2.52.5               hc3c00ef_1    conda-forge
librttopo                 1.1.0                h30b5eef_8    conda-forge
libsdformat               9.3.0                h21f569a_5    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspatialite             5.0.1               hf3ee066_12    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_12    conda-forge
libtar                    1.2.20            h7f98852_1004    conda-forge
libtiff                   4.3.0                h6f004c6_2    conda-forge
libtool                   2.4.6             h9c3ff4c_1008    conda-forge
libudev1                  249                  h7f98852_1    conda-forge
libusb                    1.0.25             h4c0bc5a_100    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libva                     2.13.0               h7f98852_2    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libvpx                    1.11.0               h9c3ff4c_3    conda-forge
libwebp                   1.2.2                h3452ae3_0    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
libzip                    1.8.0                h4de3113_1    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
mysql-common              8.0.28               ha770c72_0    conda-forge
mysql-libs                8.0.28               hfa10184_0    conda-forge
ncurses                   6.3                  h9c3ff4c_0    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
nspr                      4.32                 h9c3ff4c_1    conda-forge
nss                       3.74                 hb5efdd6_0    conda-forge
octomap                   1.9.7                h4bd325d_0    conda-forge
ogre                      1.10.12              hf655ca9_7    conda-forge
openal-soft               1.21.1               h4bd325d_0    conda-forge
openexr                   2.5.5                hf817b99_0    conda-forge
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1l               h7f98852_0    conda-forge
pango                     1.48.10              h54213e6_2    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
poppler                   21.11.0              ha39eefc_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                13.5                 h2510834_1    conda-forge
proj                      8.2.0                h277dcde_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pugixml                   1.11.4               h9c3ff4c_0    conda-forge
python                    3.10.2          h85951f9_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
qt                        5.12.9               hda022c4_4    conda-forge
qwt                       6.2.0                h7ec6b3e_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
ruby                      3.1.0                h86e321c_1    conda-forge
sdl2                      2.0.18               h9c3ff4c_0    conda-forge
setuptools                60.8.1          py310hff52083_0    conda-forge
simbody                   3.7                  h64f3f5a_3    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
svt-av1                   0.9.0                h9c3ff4c_0    conda-forge
swig                      4.0.2                hd3c618e_2    conda-forge
tbb                       2020.2               h4bd325d_4    conda-forge
tbb-devel                 2020.2               h4bd325d_4    conda-forge
tiledb                    2.5.3                h2038895_0    conda-forge
tinyxml                   2.6.2                h4bd325d_2    conda-forge
tinyxml2                  9.0.0                h9c3ff4c_2    conda-forge
tk                        8.6.11               h27826a3_1    conda-forge
tzcode                    2021e                h7f98852_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
urdfdom                   2.3.5                h4bd325d_0    conda-forge
urdfdom_headers           1.0.5                h4bd325d_2    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
x264                      1!161.3030           h7f98852_1    conda-forge
x265                      3.5                  h4bd325d_1    conda-forge
xerces-c                  3.2.3                h9d8b166_3    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxaw               1.0.14               h7f98852_1    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxmu               1.1.3                h7f98852_0    conda-forge
xorg-libxpm               3.5.13               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge
zstd                      1.5.2                ha95c52a_0    conda-forge
zziplib                   0.13.69              h27826a3_1    conda-forge

Environment that is not working (gazebo=11.9 qt=5.12.9=ha98a1a1_5):

(gazebo_not_working) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ mamba list
# packages in environment at /home/traversaro/mambaforge/envs/gazebo_not_working:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
aom                       3.2.0                h9c3ff4c_2    conda-forge
assimp                    5.0.1                hedfc422_7    conda-forge
atk-1.0                   2.36.0               h3371d22_4    conda-forge
blosc                     1.21.0               h9c3ff4c_0    conda-forge
boost-cpp                 1.74.0               h6cacc03_7    conda-forge
bullet-cpp                3.17                 hb5077e9_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
cairo                     1.16.0            ha00ac49_1009    conda-forge
cfitsio                   4.0.0                h9a35b8e_0    conda-forge
console_bridge            1.0.1                h4bd325d_0    conda-forge
cppzmq                    4.8.1                hf7cf922_0    conda-forge
curl                      7.81.0               h2574ce0_0    conda-forge
dartsim                   6.12.1               he39ca3a_0    conda-forge
dbus                      1.13.6               h5008d03_3    conda-forge
eigen                     3.4.0                h4bd325d_0    conda-forge
expat                     2.4.4                h9c3ff4c_0    conda-forge
fcl                       0.7.0                h2cbc392_0    conda-forge
ffmpeg                    4.4.1                h6987444_0    conda-forge
flann                     1.9.1             hfe772e8_1010    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              ha180cfb_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freeglut                  3.2.2                h9c3ff4c_0    conda-forge
freeimage                 3.18.0               h88c329d_7    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
freexl                    1.0.6                h7f98852_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gazebo                    11.9.1               h9f65e32_2    conda-forge
gdbm                      1.18                 h0a1914f_2    conda-forge
gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
geos                      3.10.2               h9c3ff4c_0    conda-forge
geotiff                   1.7.0                h6593c0a_6    conda-forge
gettext                   0.19.8.1          h73d1719_1008    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.13               h85f3911_1    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
graphviz                  2.50.0               h8e749b2_2    conda-forge
gst-plugins-base          1.18.5               hf529b03_3    conda-forge
gstreamer                 1.18.5               h9f60fe5_3    conda-forge
gtk2                      2.24.33              h90689f9_2    conda-forge
gts                       0.7.6                h64030ff_2    conda-forge
harfbuzz                  3.3.1                hb4a5f5f_0    conda-forge
hdf4                      4.2.15               h10796ff_3    conda-forge
hdf5                      1.12.1          nompi_h2750804_103    conda-forge
icu                       69.1                 h9c3ff4c_0    conda-forge
ilmbase                   2.5.5                h780b84a_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9e                   h7f98852_0    conda-forge
json-c                    0.15                 h98cffda_0    conda-forge
jsoncpp                   1.9.5                h4bd325d_1    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kealib                    1.4.14               h87e4c3c_3    conda-forge
krb5                      1.19.2               hcc1bbae_3    conda-forge
lame                      3.100             h7f98852_1001    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
lerc                      3.0                  h9c3ff4c_0    conda-forge
libblas                   3.9.0           13_linux64_openblas    conda-forge
libccd                    2.1                  h9c3ff4c_1    conda-forge
libclang                  13.0.1          default_hc23dcda_0    conda-forge
libcurl                   7.81.0               h2574ce0_0    conda-forge
libdap4                   3.20.6               hd7c4107_2    conda-forge
libdeflate                1.8                  h7f98852_0    conda-forge
libdrm                    2.4.109              h7f98852_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               h9b69904_4    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_12    conda-forge
libgd                     2.3.3                h3cfcdeb_1    conda-forge
libgdal                   3.4.1                h7b6f8d3_2    conda-forge
libgfortran-ng            11.2.0              h69a702a_12    conda-forge
libgfortran5              11.2.0              h5c6108e_12    conda-forge
libglib                   2.70.2               h174f98d_2    conda-forge
libglu                    9.0.0             he1b5a44_1001    conda-forge
libgomp                   11.2.0              h1d223b6_12    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libignition-cmake2        2.10.0               h9c3ff4c_0    conda-forge
libignition-common3       3.13.2               ha44c05f_1    conda-forge
libignition-fuel-tools4   4.4.0                hfaf2eda_6    conda-forge
libignition-math6         6.10.0               h9c3ff4c_0    conda-forge
libignition-msgs5         5.7.0                h42850c7_2    conda-forge
libignition-tools1        1.4.1                h33ecc0d_2    conda-forge
libignition-transport8    8.1.0                h12d6754_9    conda-forge
libkml                    1.3.0             h238a007_1014    conda-forge
liblapack                 3.9.0           13_linux64_openblas    conda-forge
libllvm13                 13.0.1               hf817b99_0    conda-forge
libnetcdf                 4.8.1           nompi_hb3fd0d9_101    conda-forge
libnghttp2                1.46.0               h812cca2_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libode                    0.16.2               h122e73d_9    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.18          pthreads_h8fe5266_0    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.16                 h516909a_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     14.2                 hd57d9b9_0    conda-forge
libprotobuf               3.19.4               h780b84a_0    conda-forge
libraw                    0.20.2               h10796ff_1    conda-forge
librsvg                   2.52.5               h0a9e6e8_2    conda-forge
librttopo                 1.1.0                hf69c175_9    conda-forge
libsdformat               9.3.0                h21f569a_5    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libspatialite             5.0.1               h0e567f8_14    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_12    conda-forge
libtar                    1.2.20            h7f98852_1004    conda-forge
libtiff                   4.3.0                h6f004c6_2    conda-forge
libtool                   2.4.6             h9c3ff4c_1008    conda-forge
libudev1                  249                  h7f98852_1    conda-forge
libusb                    1.0.25             h4c0bc5a_100    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libva                     2.13.0               h7f98852_2    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libvpx                    1.11.0               h9c3ff4c_3    conda-forge
libwebp                   1.2.2                h3452ae3_0    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h885dcf4_1    conda-forge
libzip                    1.8.0                h4de3113_1    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
mysql-common              8.0.28               ha770c72_0    conda-forge
mysql-libs                8.0.28               hfa10184_0    conda-forge
ncurses                   6.3                  h9c3ff4c_0    conda-forge
nettle                    3.6                  he412f7d_0    conda-forge
nspr                      4.32                 h9c3ff4c_1    conda-forge
nss                       3.74                 hb5efdd6_0    conda-forge
octomap                   1.9.7                h4bd325d_0    conda-forge
ogre                      1.10.12              hf655ca9_7    conda-forge
openal-soft               1.21.1               h4bd325d_0    conda-forge
openexr                   2.5.5                hf817b99_0    conda-forge
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1l               h7f98852_0    conda-forge
pango                     1.50.3               h9967ed3_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
poppler                   21.11.0              ha39eefc_0    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
postgresql                14.2                 h2510834_0    conda-forge
proj                      8.2.1                h277dcde_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pugixml                   1.11.4               h9c3ff4c_0    conda-forge
python                    3.10.2          h85951f9_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
qt                        5.12.9               ha98a1a1_5    conda-forge
qwt                       6.2.0                h7ec6b3e_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
ruby                      3.1.0                h86e321c_1    conda-forge
sdl2                      2.0.18               h9c3ff4c_0    conda-forge
setuptools                60.8.1          py310hff52083_0    conda-forge
simbody                   3.7                  h64f3f5a_3    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
svt-av1                   0.9.0                h9c3ff4c_0    conda-forge
swig                      4.0.2                hd3c618e_2    conda-forge
tbb                       2020.2               h4bd325d_4    conda-forge
tbb-devel                 2020.2               h4bd325d_4    conda-forge
tiledb                    2.6.2                h2038895_1    conda-forge
tinyxml                   2.6.2                h4bd325d_2    conda-forge
tinyxml2                  9.0.0                h9c3ff4c_2    conda-forge
tk                        8.6.11               h27826a3_1    conda-forge
tzcode                    2021e                h7f98852_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
urdfdom                   2.3.5                h4bd325d_0    conda-forge
urdfdom_headers           1.0.5                h4bd325d_2    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
x264                      1!161.3030           h7f98852_1    conda-forge
x265                      3.5                  h4bd325d_1    conda-forge
xerces-c                  3.2.3                h8ce2273_4    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxaw               1.0.14               h7f98852_1    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxmu               1.1.3                h7f98852_0    conda-forge
xorg-libxpm               3.5.13               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
zeromq                    4.3.4                h9c3ff4c_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge
zstd                      1.5.2                ha95c52a_0    conda-forge
zziplib                   0.13.69              h27826a3_1    conda-forge

Diff:

--- <unnamed>
+++ <unnamed>
@@ -1,5 +1,5 @@
-(gazebo_working) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ mamba list
-# packages in environment at /home/traversaro/mambaforge/envs/gazebo_working:
+(gazebo_not_working) traversaro@IITICUBLAP257:/mnt/c/Users/STraversaro$ mamba list
+# packages in environment at /home/traversaro/mambaforge/envs/gazebo_not_working:
 #
 # Name                    Version                   Build  Channel
 _libgcc_mutex             0.1                 conda_forge    conda-forge
@@ -9,12 +9,12 @@
 assimp                    5.0.1                hedfc422_7    conda-forge
 atk-1.0                   2.36.0               h3371d22_4    conda-forge
 blosc                     1.21.0               h9c3ff4c_0    conda-forge
-boost-cpp                 1.74.0               h312852a_4    conda-forge
+boost-cpp                 1.74.0               h6cacc03_7    conda-forge
 bullet-cpp                3.17                 hb5077e9_1    conda-forge
 bzip2                     1.0.8                h7f98852_4    conda-forge
 c-ares                    1.18.1               h7f98852_0    conda-forge
 ca-certificates           2021.10.8            ha878542_0    conda-forge
-cairo                     1.16.0            h6cf1ce9_1008    conda-forge
+cairo                     1.16.0            ha00ac49_1009    conda-forge
 cfitsio                   4.0.0                h9a35b8e_0    conda-forge
 console_bridge            1.0.1                h4bd325d_0    conda-forge
 cppzmq                    4.8.1                hf7cf922_0    conda-forge
@@ -41,22 +41,22 @@
 gazebo                    11.9.1               h9f65e32_2    conda-forge
 gdbm                      1.18                 h0a1914f_2    conda-forge
 gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
-geos                      3.10.1               h9c3ff4c_1    conda-forge
-geotiff                   1.7.0                h90a4e78_5    conda-forge
+geos                      3.10.2               h9c3ff4c_0    conda-forge
+geotiff                   1.7.0                h6593c0a_6    conda-forge
 gettext                   0.19.8.1          h73d1719_1008    conda-forge
 giflib                    5.2.1                h36c2ea0_2    conda-forge
 gmp                       6.2.1                h58526e2_0    conda-forge
 gnutls                    3.6.13               h85f3911_1    conda-forge
 graphite2                 1.3.13            h58526e2_1001    conda-forge
-graphviz                  2.50.0               h85b4f2f_1    conda-forge
+graphviz                  2.50.0               h8e749b2_2    conda-forge
 gst-plugins-base          1.18.5               hf529b03_3    conda-forge
 gstreamer                 1.18.5               h9f60fe5_3    conda-forge
-gtk2                      2.24.33              h539f30e_1    conda-forge
+gtk2                      2.24.33              h90689f9_2    conda-forge
 gts                       0.7.6                h64030ff_2    conda-forge
-harfbuzz                  3.1.1                h83ec7ef_0    conda-forge
+harfbuzz                  3.3.1                hb4a5f5f_0    conda-forge
 hdf4                      4.2.15               h10796ff_3    conda-forge
 hdf5                      1.12.1          nompi_h2750804_103    conda-forge
-icu                       68.2                 h9c3ff4c_0    conda-forge
+icu                       69.1                 h9c3ff4c_0    conda-forge
 ilmbase                   2.5.5                h780b84a_0    conda-forge
 jbig                      2.1               h7f98852_2003    conda-forge
 jpeg                      9e                   h7f98852_0    conda-forge
@@ -71,7 +71,7 @@
 lerc                      3.0                  h9c3ff4c_0    conda-forge
 libblas                   3.9.0           13_linux64_openblas    conda-forge
 libccd                    2.1                  h9c3ff4c_1    conda-forge
-libclang                  11.1.0          default_ha53f305_1    conda-forge
+libclang                  13.0.1          default_hc23dcda_0    conda-forge
 libcurl                   7.81.0               h2574ce0_0    conda-forge
 libdap4                   3.20.6               hd7c4107_2    conda-forge
 libdeflate                1.8                  h7f98852_0    conda-forge
@@ -81,8 +81,8 @@
 libevent                  2.1.10               h9b69904_4    conda-forge
 libffi                    3.4.2                h7f98852_5    conda-forge
 libgcc-ng                 11.2.0              h1d223b6_12    conda-forge
-libgd                     2.3.3                h6ad9fb6_0    conda-forge
-libgdal                   3.4.0               h4471fe2_11    conda-forge
+libgd                     2.3.3                h3cfcdeb_1    conda-forge
+libgdal                   3.4.1                h7b6f8d3_2    conda-forge
 libgfortran-ng            11.2.0              h69a702a_12    conda-forge
 libgfortran5              11.2.0              h5c6108e_12    conda-forge
 libglib                   2.70.2               h174f98d_2    conda-forge
@@ -98,7 +98,7 @@
 libignition-transport8    8.1.0                h12d6754_9    conda-forge
 libkml                    1.3.0             h238a007_1014    conda-forge
 liblapack                 3.9.0           13_linux64_openblas    conda-forge
-libllvm11                 11.1.0               hf817b99_2    conda-forge
+libllvm13                 13.0.1               hf817b99_0    conda-forge
 libnetcdf                 4.8.1           nompi_hb3fd0d9_101    conda-forge
 libnghttp2                1.46.0               h812cca2_0    conda-forge
 libnsl                    2.0.0                h7f98852_0    conda-forge
@@ -108,14 +108,14 @@
 libopus                   1.3.1                h7f98852_1    conda-forge
 libpciaccess              0.16                 h516909a_0    conda-forge
 libpng                    1.6.37               h21135ba_2    conda-forge
-libpq                     13.5                 hd57d9b9_1    conda-forge
+libpq                     14.2                 hd57d9b9_0    conda-forge
 libprotobuf               3.19.4               h780b84a_0    conda-forge
 libraw                    0.20.2               h10796ff_1    conda-forge
-librsvg                   2.52.5               hc3c00ef_1    conda-forge
-librttopo                 1.1.0                h30b5eef_8    conda-forge
+librsvg                   2.52.5               h0a9e6e8_2    conda-forge
+librttopo                 1.1.0                hf69c175_9    conda-forge
 libsdformat               9.3.0                h21f569a_5    conda-forge
 libsodium                 1.0.18               h36c2ea0_1    conda-forge
-libspatialite             5.0.1               hf3ee066_12    conda-forge
+libspatialite             5.0.1               h0e567f8_14    conda-forge
 libssh2                   1.10.0               ha56f1ee_2    conda-forge
 libstdcxx-ng              11.2.0              he4da1e4_12    conda-forge
 libtar                    1.2.20            h7f98852_1004    conda-forge
@@ -131,7 +131,7 @@
 libwebp-base              1.2.2                h7f98852_1    conda-forge
 libxcb                    1.13              h7f98852_1004    conda-forge
 libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
-libxml2                   2.9.12               h72842e0_0    conda-forge
+libxml2                   2.9.12               h885dcf4_1    conda-forge
 libzip                    1.8.0                h4de3113_1    conda-forge
 libzlib                   1.2.11            h36c2ea0_1013    conda-forge
 lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
@@ -148,19 +148,19 @@
 openh264                  2.1.1                h780b84a_0    conda-forge
 openjpeg                  2.4.0                hb52868f_1    conda-forge
 openssl                   1.1.1l               h7f98852_0    conda-forge
-pango                     1.48.10              h54213e6_2    conda-forge
+pango                     1.50.3               h9967ed3_0    conda-forge
 pcre                      8.45                 h9c3ff4c_0    conda-forge
 pip                       22.0.3             pyhd8ed1ab_0    conda-forge
 pixman                    0.40.0               h36c2ea0_0    conda-forge
 poppler                   21.11.0              ha39eefc_0    conda-forge
 poppler-data              0.4.11               hd8ed1ab_0    conda-forge
-postgresql                13.5                 h2510834_1    conda-forge
-proj                      8.2.0                h277dcde_0    conda-forge
+postgresql                14.2                 h2510834_0    conda-forge
+proj                      8.2.1                h277dcde_0    conda-forge
 pthread-stubs             0.4               h36c2ea0_1001    conda-forge
 pugixml                   1.11.4               h9c3ff4c_0    conda-forge
 python                    3.10.2          h85951f9_3_cpython    conda-forge
 python_abi                3.10                    2_cp310    conda-forge
-qt                        5.12.9               hda022c4_4    conda-forge
+qt                        5.12.9               ha98a1a1_5    conda-forge
 qwt                       6.2.0                h7ec6b3e_0    conda-forge
 readline                  8.1                  h46c0cb4_0    conda-forge
 ruby                      3.1.0                h86e321c_1    conda-forge
@@ -172,7 +172,7 @@
 swig                      4.0.2                hd3c618e_2    conda-forge
 tbb                       2020.2               h4bd325d_4    conda-forge
 tbb-devel                 2020.2               h4bd325d_4    conda-forge
-tiledb                    2.5.3                h2038895_0    conda-forge
+tiledb                    2.6.2                h2038895_1    conda-forge
 tinyxml                   2.6.2                h4bd325d_2    conda-forge
 tinyxml2                  9.0.0                h9c3ff4c_2    conda-forge
 tk                        8.6.11               h27826a3_1    conda-forge
@@ -183,7 +183,7 @@
 wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
 x264                      1!161.3030           h7f98852_1    conda-forge
 x265                      3.5                  h4bd325d_1    conda-forge
-xerces-c                  3.2.3                h9d8b166_3    conda-forge
+xerces-c                  3.2.3                h8ce2273_4    conda-forge
 xorg-fixesproto           5.0               h7f98852_1002    conda-forge
 xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
 xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
@@ -209,5 +209,3 @@
 zlib                      1.2.11            h36c2ea0_1013    conda-forge
 zstd                      1.5.2                ha95c52a_0    conda-forge
 zziplib                   0.13.69              h27826a3_1    conda-forge
-
-

@traversaro traversaro changed the title Recent builds (Early-Mid February 2022) of Gazebo segfaults on WSL2 gzclient crashes with a segfault in a non-deterministic way with qt=5.12.9=ha98a1a1_5 Feb 11, 2022
@traversaro
Copy link
Contributor Author

(Renamed the issue after the recent investigations)

@traversaro
Copy link
Contributor Author

I just tested on Windows, and there the qt-5.12.9-h556501e_5 build of qt is not creating any problem.

@traversaro
Copy link
Contributor Author

I just tested on Windows, and there the qt-5.12.9-h556501e_5 build of qt is not creating any problem.

Actually, this is not true. I created the environment via mamba create -n gazebo gazebo, but there the qt build is still _4 :

qt                        5.12.9               h5909a2a_4    conda-forge

probably due to conda/infrastructure#514 . So a bug that prevented (for now) another bug, it seems.

@Tobias-Fischer
Copy link
Contributor

Wow great debugging! I can't wait for the new qt 5.15 ..

@traversaro
Copy link
Contributor Author

Wow great debugging! I can't wait for the new qt 5.15 ..

Yes, I am afraid that looking more deep is going to consume a lot of time with no benefit. To test things before the official qt-main migration, we could do dual builds of gazebo with both qt 5.12 and qt-main 5.15, but we would need to do the same with qwt before.

@Tobias-Fischer
Copy link
Contributor

I've got qwt builds on robostack-experinental channel ..

@traversaro
Copy link
Contributor Author

traversaro commented Feb 13, 2022

Thanks to #120, the workaround now is simply:

mamba install gazebo icu=68

that also have the advantage of being cross-platform. However, this is entrisically a fragile workaround, as the icu is pinned to 69 at the conda-forge level: https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/2071/files .

@traversaro
Copy link
Contributor Author

I've got qwt builds on robostack-experinental channel ..

It seems to be only osx for now: https://anaconda.org/robostack-experimental/qwt/, right? Anyhow, I can easily build both qwt and gazebo locally such that they depend on qt-main and see if they work fine.

@Tobias-Fischer
Copy link
Contributor

Yes correct, only osx for now. Thanks for conda-forge/qwt-feedstock#30!

@traversaro
Copy link
Contributor Author

As we hoped, the issue does not occurs if one installs:

mamba create -n newgazebo gazebo qt-main

so eventually the issue will be closed once conda-forge move to qt 5.15 (qt-main).

@traversaro
Copy link
Contributor Author

traversaro commented Mar 22, 2022

Apparently the problem is present also with qt=5.12.9=h1304e3e_6 build.

@traversaro traversaro mentioned this issue Mar 29, 2022
5 tasks
@traversaro
Copy link
Contributor Author

On Windows the problem does not seem to be present.

@hmaarrfk
Copy link
Contributor

I'm not sure what the issue can be. The change from _4 to _5 in qt was the introduction of icu version 69.

conda-forge/qt-feedstock#214

@traversaro
Copy link
Contributor Author

After the qt515 migration (#131) the default version of gazebo installed will be the one linked against qt 5.15 that is not affected by this issue. I think we can probably wait for a rebuild of ros-noetic and ros galactic (or humble) to definitely close this issue, as until then I guess that many user may install gazebo with qt 5.12 by installing some ros package that use qt 5.12 .

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Jun 5, 2022

I think this is related to #125

@traversaro
Copy link
Contributor Author

Even without including ROS in the picture, unfortunatly there are still many cases for which a gazebo that links qt 5.12 is installed. If one tries to install qt-main, libopencv and gazebo, the installation fails with:

C:\Users\STraversaro>mamba create -n test libopencv gazebo qt-main

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.22.1) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['libopencv', 'gazebo', 'qt-main']

conda-forge/win-64                                          Using cache
conda-forge/noarch                                          Using cache
Encountered problems while solving:
  - package libopencv-4.5.1-py38hf7032e7_0 requires qt 5.12.*, but none of the providers can be installed

After a bit of investigation, I understood that the problem is that gazebo is linking libgdal, that still needs to complete the icu=70 migration, and instead still links icu=69 . Instead libopencv requires qt-main 5.15.3, that requires icu=70. Probably we need to migrate libgdal to icu=70 to improve the situation.

@traversaro
Copy link
Contributor Author

I think this is related to #125

Yes, they seem all related.

@traversaro
Copy link
Contributor Author

After a bit of investigation, I understood that the problem is that gazebo is linking libgdal, that still needs to complete the icu=70 migration, and instead still links icu=69 . Instead libopencv requires qt-main 5.15.3, that requires icu=70. Probably we need to migrate libgdal to icu=70 to improve the situation.

Indirectly related to conda-forge/xerces-c-feedstock#32 (comment) .

@traversaro
Copy link
Contributor Author

For reference, this is the output when passing from gazebo=11.9 qt=5.12.9=hda022c4_4 (working) to gazebo=11.9 qt=5.12.9=ha98a1a1_5 (not working) :

(test1124) traversaro@IITICUBLAP257:~$ mamba install qt=5.12.9=ha98a1a1_5

                  __    __    __    __
                 /  \  /  \  /  \  /  \
                /    \/    \/    \/    \
███████████████/  /██/  /██/  /██/  /████████████████████████
              /  / \   / \   / \   / \  \____
             /  /   \_/   \_/   \_/   \    o \__,
            / _/                       \_____/  `
            |/
        ███╗   ███╗ █████╗ ███╗   ███╗██████╗  █████╗
        ████╗ ████║██╔══██╗████╗ ████║██╔══██╗██╔══██╗
        ██╔████╔██║███████║██╔████╔██║██████╔╝███████║
        ██║╚██╔╝██║██╔══██║██║╚██╔╝██║██╔══██╗██╔══██║
        ██║ ╚═╝ ██║██║  ██║██║ ╚═╝ ██║██████╔╝██║  ██║
        ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝╚═════╝ ╚═╝  ╚═╝

        mamba (0.23.0) supported by @QuantStack

        GitHub:  https://github.com/mamba-org/mamba
        Twitter: https://twitter.com/QuantStack

█████████████████████████████████████████████████████████████


Looking for: ['qt==5.12.9=ha98a1a1_5']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.10.*


Transaction

  Prefix: /home/traversaro/mambaforge/envs/test1124

  Updating specs:

   - qt==5.12.9=ha98a1a1_5
   - ca-certificates
   - openssl


  Package         Version  Build               Channel                    Size
────────────────────────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────────────────────────

  + libllvm13      13.0.1  hf817b99_2          conda-forge/linux-64     Cached

  Change:
────────────────────────────────────────────────────────────────────────────────

  - boost-cpp      1.74.0  h312852a_4          conda-forge
  + boost-cpp      1.74.0  h6cacc03_7          conda-forge/linux-64     Cached
  - cairo          1.16.0  h6cf1ce9_1008       conda-forge
  + cairo          1.16.0  ha12eb4b_1010       conda-forge/linux-64     Cached
  - curl           7.83.1  h7bff187_0          conda-forge
  + curl           7.83.1  h2283fc2_0          conda-forge/linux-64     Cached
  - hdf5           1.12.1  nompi_h2386368_104  conda-forge
  + hdf5           1.12.1  nompi_h4df4325_104  conda-forge/linux-64     Cached
  - krb5           1.19.3  h3790be6_0          conda-forge
  + krb5           1.19.3  h08a2579_0          conda-forge/linux-64     Cached
  - libcurl        7.83.1  h7bff187_0          conda-forge
  + libcurl        7.83.1  h2283fc2_0          conda-forge/linux-64     Cached
  - libevent       2.1.10  h9b69904_4          conda-forge
  + libevent       2.1.10  h28343ad_4          conda-forge/linux-64     Cached
  - libgd           2.3.3  h6ad9fb6_0          conda-forge
  + libgd           2.3.3  h283352f_2          conda-forge/linux-64     Cached
  - libgdal         3.4.0  h4471fe2_11         conda-forge
  + libgdal         3.4.0  h1504ab5_12         conda-forge/linux-64       14MB
  - libnghttp2     1.47.0  h727a467_0          conda-forge
  + libnghttp2     1.47.0  he49606f_0          conda-forge/linux-64     Cached
  - libssh2        1.10.0  ha56f1ee_2          conda-forge
  + libssh2        1.10.0  ha35d2d1_2          conda-forge/linux-64     Cached
  - libxml2        2.9.12  h72842e0_0          conda-forge
  + libxml2        2.9.12  h885dcf4_1          conda-forge/linux-64     Cached
  - libzip          1.8.0  h4de3113_1          conda-forge
  + libzip          1.8.0  h1c5bbd1_1          conda-forge/linux-64     Cached
  - mysql-common   8.0.29  haf5c9bc_1          conda-forge
  + mysql-common   8.0.29  h26416b9_1          conda-forge/linux-64     Cached
  - mysql-libs     8.0.29  h28c427c_1          conda-forge
  + mysql-libs     8.0.29  hbc51c84_1          conda-forge/linux-64     Cached
  - python         3.10.4  h9a8a25e_0_cpython  conda-forge
  + python         3.10.4  h2660328_0_cpython  conda-forge/linux-64     Cached
  - qt             5.12.9  hda022c4_4          conda-forge
  + qt             5.12.9  ha98a1a1_5          conda-forge/linux-64     Cached
  - ruby            3.1.2  h22ca3a2_0          conda-forge
  + ruby            3.1.2  hc054e64_0          conda-forge/linux-64     Cached
  - tiledb          2.5.3  h2038895_0          conda-forge
  + tiledb          2.5.3  hf3d3071_0          conda-forge/linux-64        3MB
  - xerces-c        3.2.3  h9d8b166_3          conda-forge
  + xerces-c        3.2.3  h8ce2273_4          conda-forge/linux-64     Cached

  Upgrade:
────────────────────────────────────────────────────────────────────────────────

  - harfbuzz        3.1.1  h83ec7ef_0          conda-forge
  + harfbuzz        3.4.0  hb4a5f5f_0          conda-forge/linux-64     Cached
  - icu              68.2  h9c3ff4c_0          conda-forge
  + icu              69.1  h9c3ff4c_0          conda-forge/linux-64     Cached
  - libclang       11.1.0  default_ha53f305_1  conda-forge
  + libclang       13.0.1  default_hc23dcda_0  conda-forge/linux-64     Cached
  - libpq            13.5  hd57d9b9_1          conda-forge
  + libpq            14.2  h676c864_0          conda-forge/linux-64     Cached
  - openssl        1.1.1o  h166bdaf_0          conda-forge
  + openssl         3.0.3  h166bdaf_0          conda-forge/linux-64     Cached
  - postgresql       13.5  h2510834_1          conda-forge
  + postgresql       14.2  hce44dc1_0          conda-forge/linux-64     Cached

  Summary:

  Install: 1 packages
  Change: 20 packages
  Upgrade: 6 packages

  Total download: 17MB

────────────────────────────────────────────────────────────────────────────────

Confirm changes: [Y/n] y
tiledb                                               3.3MB @   1.0MB/s  3.2s
libgdal                                             14.2MB @ 850.5kB/s 16.7s
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(Related to #136)

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Jun 6, 2022

one thing you could do, is to rebuild with a recent version of qt 5.12.

There may be a library that is reexporting symbols accidentally too.. now that one is really hard to find :/

@Tobias-Fischer
Copy link
Contributor

Shall we close here seeing that qt 5.15 build have landed?

@traversaro
Copy link
Contributor Author

Shall we close here seeing that qt 5.15 build have landed?

Sorry, I never realized that. Probably we can close once we have rebuilds of ROS such that the qt 5.15 builds are the one installed once one runs: mamba create -n ros-noetic -c conda-forge -c robostack ros-noetic-desktop-full ?

Until then, I think that keeping the issue open helps its visibility (see RoboStack/ros-noetic#323).

@Tobias-Fischer
Copy link
Contributor

We now have qt 5.15 builds in robostack-staging, so closing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants