Closed lounick closed 1 year ago
I have versioni 7.3 and had a similar error. -v
is useful to get more details.
$ ign sim -v
[Msg] Gazebo Sim GUI v7.3.0
[Msg] Gazebo Sim Quick start dialog
[Msg] Received world [https://fuel.gazebosim.org/1.0/OpenRobotics/worlds/NAO joint control] from the GUI.
[Msg] Gazebo Sim Server v7.3.0
[Wrn] [LocalCache.cc:165] Server directory does not exist [/home/u/.gz/fuel/fuel.gazebosim.org]
[Msg] Downloading world [fuel.gazebosim.org/openrobotics/worlds/nao joint control]
[GUI] [Wrn] [Application.cc:845] [QT] QQmlApplicationEngine failed to load component
[GUI] [Wrn] [Application.cc:845] [QT] qrc:qml/Main.qml:329:3: Type GzSnackBar unavailable
[GUI] [Wrn] [Application.cc:845] [QT] qrc:/qml/GzSnackBar.qml:18:1: module "QtGraphicalEffects" is not installed
[GUI] [Err] [MainWindow.cc:116] Internal error: Failed to instantiate QML file [qrc:qml/Main.qml]
[GUI] [Err] [Application.cc:152] Failed to initialize main window.
Stack trace (most recent call last):
#28 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
...
ignition-gazebo
package is missing the following deps:
qt5-graphicaleffects qt5-quickcontrols
With the update to 7.4.0
there should be no seg fault on the gz sim
initial command.
Closing this issue, if it still pops up, please open another issue.
Hi,
I just installed ignition-gazebo using paru. All seem to have compiled/installed normally. Trying to run
ign gazebo
though gives me a segmentation fault related to libQt5, I don't know if it is related to the error on the top about the QML file, or that I am running wayland/sway without a DE.My experience in Arch is rusty given that I haven't used it since 2009. So I may as well be the error in the whole process :P
Has anyone experienced something like that?
Some update after trying to debug:
As far as I understand
mainWin
is a null pointer. But is not checked so when you try to set the property it would segfault. MainWindow is a subclass of QObject thus segfaulting at that place. I assume (which can be wrong) that this is related to[GUI] [Err] [Dialog.cc:53] Internal error: Failed to instantiate QML file [qrc:qml/StandaloneDialog.qml]
.I don't know if this should be escalated upstream.