-
Notifications
You must be signed in to change notification settings - Fork 276
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
Gazebo-Garden Vanilla installation both from binary as well as source ,GUI is crashing with segmentation fault in MAcOS BigSur #1987
Comments
@fenil1608 Gazebo built from source will run on a M1 MacBook Pro using macOS Monterey (I run on Monterey 12.6.2 but the earlier version should also be ok). The problem you are seeing is different to the OP, and seems to be an issue with resolving library paths. Some suggestions if you build from source:
colcon build --symlink-install --merge-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_MACOSX_RPATH=FALSE -DCMAKE_INSTALL_NAME_DIR=$(pwd)/install/lib -DGZ_PYTHON_VERSION=3.10 --event-handlers=desktop_notification- --packages-up-to gz-sim7
|
Hi @srmainwaring , wether above solution will fix my initial problem statement? Bigsur with i7 config? Though the error output is different for me |
Hi @bhagathkumar, maybe not. Your problem appears to not be so much with library resolution but with the rendering set up and possible the interaction with Qt. Which model of mac are you using? I have previously built and run |
@srmainwaring Have you had any luck running Gazebo installed through homebrew? |
I haven't tried recently as I am always using from source builds for dev and updating brew tends to wreck my ROS Humble stack every time. Could try my M1 machine as I am planning to pilot Ventura on that soon. Edit I've just installed gz sim --version
Gazebo Sim, version 7.5.0
... The Before installing I ran |
@srmainwaring I have macbook pro 2019 edition with I7 processor .current version BigSur 11.7.1 .Gpu Iris 1536 MB and Radeon 5300M 4GB. Hope ogre2.3 have compatibility issues with the version. i tried with --render-engine ogre .. Still it didn't work. |
I am seeing a crash in Qt after updating and upgrading brew then rebuilding from source:
Nominally I was looking into a separate issue concerning gz sim -v4 -g
...
[GUI] [Dbg] [MinimalScene.cc:664] Creating gz-renderering interface for Metal
[GUI] [Dbg] [MinimalScene.cc:819] Creating render thread interface for Metal
ruby(92714,0x700007c4e000) malloc: Heap corruption detected, free list is damaged at 0x60000717cb80
*** Incorrect guard value: 1065353216
ruby(92714,0x700007c4e000) malloc: *** set a breakpoint in malloc_error_break to debug
Stack trace (most recent call last) in thread 123145432653824:
#25 Object "libsystem_pthread.dylib", at 0x7ff80abf14e1, in _pthread_start + 125
#24 Object "QtCore", at 0x10dda9f60, in QThread::qt_metacall(QMetaObject::Call, int, void**) + 1168
#23 Object "QtQuick", at 0x10c4bba7f, in QSGOpenGLLayer::qt_metacall(QMetaObject::Call, int, void**) + 21999
#22 Object "QtQuick", at 0x10c4ba841, in QSGOpenGLLayer::qt_metacall(QMetaObject::Call, int, void**) + 17329
#21 Object "QtQuick", at 0x10c5135e0, in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 928
#20 Object "QtQuick", at 0x10c44b0ca, in QSGRenderer::renderScene(unsigned int) + 58
#19 Object "QtQuick", at 0x10c44b2fb, in QSGRenderer::renderScene(QSGBindable const&) + 539
#18 Object "QtQuick", at 0x10c464056, in QSGBatchRenderer::Renderer::render() + 1846
#17 Object "QtQuick", at 0x10c461d35, in QSGBatchRenderer::Renderer::renderBatches() + 1109
#16 Object "QtQuick", at 0x10c45f5a0, in QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 1056
#15 Object "QtQuick", at 0x10c45e9b5, in QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>*, QSGBatchRenderer::Batch const*, int, int) + 181
#14 Object "QtGui", at 0x10e73758e, in QRhiResourceUpdateBatch::updateDynamicBuffer(QRhiBuffer*, int, int, void const*) + 46
#13 Object "QtCore", at 0x10de10653, in QByteArray::QByteArray(char const*, int) + 51
#12 Object "QtCore", at 0x10ddb7461, in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) + 145
#11 Object "libsystem_malloc.dylib", at 0x7ff80aa28abb, in _malloc_zone_malloc + 125
#10 Object "libsystem_malloc.dylib", at 0x7ff80aa0c5a4, in nanov2_malloc + 56
#9 Object "libsystem_malloc.dylib", at 0x7ff80aa0c677, in nanov2_allocate + 130
#8 Object "libsystem_malloc.dylib", at 0x7ff80aa0d0e8, in nanov2_allocate_from_block + 582
#7 Object "libsystem_malloc.dylib", at 0x7ff80aa2e308, in malloc_zone_error + 178
#6 Object "libsystem_malloc.dylib", at 0x7ff80aa1a357, in has_default_zone0 + 0
#5 Object "libsystem_c.dylib", at 0x7ff80ab3cd24, in abort + 123
#4 Object "libsystem_pthread.dylib", at 0x7ff80abf11ff, in pthread_kill + 263
#3 Object "libsystem_kernel.dylib", at 0x7ff80abbb00f, in __pthread_kill + 11
#2 Object "libsystem_platform.dylib", at 0x7ff80ac06dfc, in _sigtramp + 28
#1 Object "libgz-tools2-backward.dylib", at 0x10662321d, in backward::SignalHandling::sig_handler(int, __siginfo*, void*) + 13
#0 Object "libgz-tools2-backward.dylib", at 0x106623286, in backward::SignalHandling::handleSignal(int, __siginfo*, void*) + 70 This appears to be coming from the <plugin filename="ComponentInspector" name="Component inspector">
<gz-gui>
<property type="bool" key="showTitleBar">false</property>
<property type="string" key="state">docked</property>
</gz-gui>
</plugin> in In the meanwhile @bhagathkumar and @fenil1608 it may be worth trying to load a minimal set of gui plugins to see whether you have similar behaviour. The bare minimum <?xml version="1.0"?>
<window>
<width>1200</width>
<height>800</height>
<style
material_theme="Light"
material_primary="#9e9e9e"
material_accent="#03a9f4"
toolbar_color_light="#f3f3f3"
toolbar_text_color_light="#111111"
toolbar_color_dark="#414141"
toolbar_text_color_dark="#f3f3f3"
plugin_toolbar_color_light=""
plugin_toolbar_text_color_light=""
plugin_toolbar_color_dark=""
plugin_toolbar_text_color_dark=""
/>
<menus>
<drawer default="false">
</drawer>
</menus>
<dialog_on_exit>true</dialog_on_exit>
</window>
<plugin filename="MinimalScene" name="3D View">
<gz-gui>
<title>3D View</title>
<property type="bool" key="showTitleBar">false</property>
<property type="string" key="state">docked</property>
</gz-gui>
<engine>ogre2</engine>
<scene>scene</scene>
<ambient_light>0.4 0.4 0.4</ambient_light>
<background_color>0.8 0.8 0.8</background_color>
<camera_pose>-6 0 6 0 0.5 0</camera_pose>
</plugin>
<plugin filename="GzSceneManager" name="Scene Manager">
<gz-gui>
<property key="resizable" type="bool">false</property>
<property key="width" type="double">5</property>
<property key="height" type="double">5</property>
<property key="state" type="string">floating</property>
<property key="showTitleBar" type="bool">false</property>
</gz-gui>
</plugin> |
Did reset the homebrew. Reinstalled the dependencies. dartsim 6.13.0_3 and qt 5.15.8_3. Gazebo Sim Server v7.5.0 with default gui.config ,It crashed as in Original issue description.
when quitting 2.When using minimal gui.config .It works as expected with shapes.sdf So yea it might be a problem with component Inspector plugin |
Great - thanks for confirming that you can reproduce.
|
@azeey is there a Qt/QML expert who might take a look at this issue or be available to discuss? I don't think this is a threading error after all as the objects are all on the UI thread and this problem happens even when the I suspect there is something going on with the QML - specifically where The heap corruption error is occurring in the QSG render thread (entirely managed by Qt), and at first I thought that there might be an issue because different Qt control libraries are in use: While the app will run if the Update:The issue is using the import QtQuick 2.9
import QtQuick.Controls 1.4 as QQC1
import QtQuick.Controls 2.2
import QtQuick.Controls.Styles 1.4
Rectangle {
id: demo
Component {
id: willCrash
QQC1.SpinBox {
id: spinbox
}
}
Rectangle {
Loader {
id: willCrashLoader
sourceComponent: willCrash
}
}
} This will crash the Qt scene graph... and this won't: import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Styles 1.4
Rectangle {
id: demo
Component {
id: wontCrash
SpinBox {
id: spinbox
}
}
Rectangle {
Loader {
id: wontCrashLoader
sourceComponent: wontCrash
}
}
} |
Wow, great job investigating this! https://doc.qt.io/qt-5/qtquickcontrols1-index.html says QtQuick Controls 1 is deprecated as of qt 5.12, so we should just update these to use version 2 anyways. |
Hey @srmainwaring , thank you for everything you do. Hard to understate how valuable you are. I reproduced this as well. I recently tried to install garden from binary (brew) like you suggested a while back and I encounter the same issue as @fenil1608 , and I ensured that SIP was turned off ahead of time. Very stuck. #1990 . I am on Ventura. Any tips to resolve would be killer. |
This is not straight forward. The version of SpinBox in in QtQuick.Controls 2.2 is for ints rather than doubles. The suggested adaptation in https://doc.qt.io/qt-5/qml-qtquick-controls2-spinbox.html#validator-prop for dealing with floating point numbers is not a practical solution as it overflows / underflows for the full range of doubles / decimals points currently used. Some further discussion here: https://stackoverflow.com/questions/43406830/how-to-use-float-in-a-qml-spinbox in the second comment. A custom control is probably required. Will raise a separate issue. |
@NDevDrone - have just upgraded to Ventura 13.4, Xcode and CommandLineTools 14.3.1, updated brew and rebuilt gz-sim7 - all working ok (except the Qt issue mentioned above). Will see if I can get the binary install to run. |
Hi Rhys, @srmainwaring Thanks for reviewing it. Some new work has come up involving simulation, which has lead me to try once again. Building from source on Ventura with updated tools yields the following: |
The For some reason |
Sorry about that, here is the full logs: First, running graph gives:
I then use either of the colcon build commands, the first one OR the one that has arguments for apple sillicon macs. Running the second yields the following:
|
Looks like you may be missing / need to upgrade some deps: brew update
brew upgrade
brew install gts swscale uuid There may be others. Also check you're Python packages are up to date python3 -m pip list --outdated and fix as necessary. It's worth patching My intel mac workstation is current with brew latests and Python as of the beginning of this week, and gz garden is building and running. My M1 MacBook has not been updated for a few months, so there may be inconsistencies... |
Hey Rhys @srmainwaring , Checked all this to be sure, still no luck. All packages are up to date. I am not sure how to go about patching gz-cmake3 on my own, this is beyond me in terms of level of developer skill. I would love to be helpful and try to fix it so I can develop with MacOS, so if you have any patience left for it we could work together to get source install functioning on apple silicon. Also sorry for the massive wall of text in prior messages, I will delete a bunch of them now and reformat them to fix this issue's comment section to retain its readability. |
@NDevDrone - ok, next step will be for me to carry out the same upgrade to a M1 machine as applied to the intel one to verify the build is good. Are all your branches of gz-* current? To replicate I'll need the branch and hash for each of the gz-* libraries. Could you run the following from your workspace and upload the files. vcs export ./src > gz-garden.yaml vcs export --exact ./src > gz-garden-exact.yaml |
Oh my, somehow I've managed to get it to build from source!!! @srmainwaring In my frustration and considering my possible inability to follow instructions, I decided to uninstall (wipe) homebrew entirely. This time around, I first set the export dependencies for ogre in advance within my system shell, then I ran YOUR suggested colcon build command, i.e.
This then appeared TO BUILD EVERYTHING PROPERLY (!) After that, I tried to then run the main build command as is to see if it would fail like before, And it built again properly! I have no idea why your suggested colcon build arguments set was required to fix it, but it did. |
@srmainwaring I'll send you a message on ArduPlane community forums, I'm now going to work to finalize the aircraft model I've been working on so I can contribute it to your project, thanks to all this! |
Some background on the flags:
|
Super! Look forward to seeing that. |
Environment
Tried both binary as well as source build as mentioned in the below links
https://gazebosim.org/docs/garden/install_osx
https://gazebosim.org/docs/garden/install_osx_src
If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
─ system_profiler SPDisplaysDataType ─╯
Graphics/Displays:
Intel UHD Graphics 630:
AMD Radeon Pro 5300M:
~/.gz/rendering
╰─ cat auto_default.log ─╯
(2023-05-09T21:28:03.314201000) (2023-05-09T21:28:03.314235000) [Msg] Gazebo Sim GUI v7.4.0
(2023-05-09T21:28:03.428487000) (2023-05-09T21:28:03.428508000) [Dbg] [Application.cc:96] Initializing application.
(2023-05-09T21:28:03.428593000) (2023-05-09T21:28:03.428607000) [Dbg] [Application.cc:110] Qt using Metal graphics interface
(2023-05-09T21:28:03.432056000) (2023-05-09T21:28:03.432076000) [GUI] [Dbg] [Application.cc:607] Create main window
(2023-05-09T21:28:03.850167000) (2023-05-09T21:28:03.850185000) [GUI] [Wrn] [Application.cc:859] [QT] Populating font family aliases took 247 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost.
(2023-05-09T21:28:05.714736000) (2023-05-09T21:28:05.714755000) [GUI] [Dbg] [PathManager.cc:67] Requesting resource paths through [/gazebo/resource_paths/get]
(2023-05-09T21:28:05.752924000) (2023-05-09T21:28:05.752946000) [GUI] [Dbg] [Gui.cc:340] GUI requesting list of world names. The server may be busy downloading resources. Please be patient.
(2023-05-09T21:28:05.816313000) (2023-05-09T21:28:05.816334000) [GUI] [Dbg] [PathManager.cc:56] Received resource paths.
(2023-05-09T21:28:05.816607000) (2023-05-09T21:28:05.816622000) [GUI] [Dbg] [Gui.cc:398] Requesting GUI from [/world/shapes/gui/info]...
(2023-05-09T21:28:05.817101000) (2023-05-09T21:28:05.817119000) [GUI] [Dbg] [GuiRunner.cc:149] Requesting initial state from [/world/shapes/state]...
(2023-05-09T21:28:05.822374000) (2023-05-09T21:28:05.822393000) [GUI] [Msg] Loading config [/Users/bhagathkumar/.gz/sim/7/gui.config]
(2023-05-09T21:28:05.822467000) (2023-05-09T21:28:05.822482000) [GUI] [Dbg] [Application.cc:459] Loading plugin [MinimalScene]
(2023-05-09T21:28:05.830907000) (2023-05-09T21:28:05.830925000) [GUI] [Dbg] [MinimalScene.cc:657] Creating gz-rendering interface for OpenGL
(2023-05-09T21:28:05.830980000) (2023-05-09T21:28:05.830994000) [GUI] [Dbg] [MinimalScene.cc:657] Creating gz-rendering interface for OpenGL
(2023-05-09T21:28:05.831030000) (2023-05-09T21:28:05.831043000) [GUI] [Dbg] [MinimalScene.cc:813] Creating render thread interface for OpenGL
(2023-05-09T21:28:06.60688000) (2023-05-09T21:28:06.60708000) [GUI] [Msg] Added plugin [3D View] to main window
(2023-05-09T21:28:06.60986000) (2023-05-09T21:28:06.61001000) [GUI] [Msg] Loaded plugin [MinimalScene] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libMinimalScene.dylib]
(2023-05-09T21:28:06.61076000) (2023-05-09T21:28:06.61089000) [GUI] [Dbg] [Application.cc:459] Loading plugin [EntityContextMenuPlugin]
(2023-05-09T21:28:06.104936000) (2023-05-09T21:28:06.104959000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.105040000) (2023-05-09T21:28:06.105055000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.123991000) (2023-05-09T21:28:06.124014000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.124103000) (2023-05-09T21:28:06.124117000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.124752000) (2023-05-09T21:28:06.124770000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.124854000) (2023-05-09T21:28:06.124869000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.132156000) (2023-05-09T21:28:06.132178000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.132254000) (2023-05-09T21:28:06.132269000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.133056000) (2023-05-09T21:28:06.133075000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.133140000) (2023-05-09T21:28:06.133154000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.133850000) (2023-05-09T21:28:06.133869000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.133932000) (2023-05-09T21:28:06.133947000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.137176000) (2023-05-09T21:28:06.137196000) [GUI] [Msg] Added plugin [Entity Context Menu] to main window
(2023-05-09T21:28:06.137280000) (2023-05-09T21:28:06.137295000) [GUI] [Msg] Loaded plugin [EntityContextMenuPlugin] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libEntityContextMenuPlugin.dylib]
(2023-05-09T21:28:06.137378000) (2023-05-09T21:28:06.137392000) [GUI] [Dbg] [Application.cc:459] Loading plugin [GzSceneManager]
(2023-05-09T21:28:06.166384000) (2023-05-09T21:28:06.166407000) [GUI] [Msg] Added plugin [Scene Manager] to main window
(2023-05-09T21:28:06.166515000) (2023-05-09T21:28:06.166531000) [GUI] [Msg] Loaded plugin [GzSceneManager] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libGzSceneManager.dylib]
(2023-05-09T21:28:06.166610000) (2023-05-09T21:28:06.166624000) [GUI] [Dbg] [Application.cc:459] Loading plugin [InteractiveViewControl]
(2023-05-09T21:28:06.173542000) (2023-05-09T21:28:06.173562000) [GUI] [Msg] Camera view controller topic advertised on [/gui/camera/view_control]
(2023-05-09T21:28:06.173683000) (2023-05-09T21:28:06.173700000) [GUI] [Msg] Camera reference visual topic advertised on [/gui/camera/view_control/reference_visual]
(2023-05-09T21:28:06.173828000) (2023-05-09T21:28:06.173844000) [GUI] [Msg] Camera view control sensitivity advertised on [/gui/camera/view_control/sensitivity]
(2023-05-09T21:28:06.196583000) (2023-05-09T21:28:06.196606000) [GUI] [Msg] Added plugin [Interactive view control] to main window
(2023-05-09T21:28:06.196689000) (2023-05-09T21:28:06.196704000) [GUI] [Msg] Loaded plugin [InteractiveViewControl] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libInteractiveViewControl.dylib]
(2023-05-09T21:28:06.196782000) (2023-05-09T21:28:06.196796000) [GUI] [Dbg] [Application.cc:459] Loading plugin [CameraTracking]
(2023-05-09T21:28:06.229246000) (2023-05-09T21:28:06.229289000) [GUI] [Msg] Added plugin [Camera tracking] to main window
(2023-05-09T21:28:06.229378000) (2023-05-09T21:28:06.230032000) [GUI] [Msg] Loaded plugin [CameraTracking] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libCameraTracking.dylib]
(2023-05-09T21:28:06.230123000) (2023-05-09T21:28:06.230138000) [GUI] [Dbg] [Application.cc:459] Loading plugin [MarkerManager]
(2023-05-09T21:28:06.238181000) (2023-05-09T21:28:06.238208000) [GUI] [Msg] Listening to stats on [/world/shapes/stats]
(2023-05-09T21:28:06.259795000) (2023-05-09T21:28:06.259818000) [GUI] [Msg] Added plugin [Marker Manager] to main window
(2023-05-09T21:28:06.259900000) (2023-05-09T21:28:06.259915000) [GUI] [Msg] Loaded plugin [MarkerManager] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libMarkerManager.dylib]
(2023-05-09T21:28:06.259996000) (2023-05-09T21:28:06.260011000) [GUI] [Dbg] [Application.cc:459] Loading plugin [SelectEntities]
(2023-05-09T21:28:06.285295000) (2023-05-09T21:28:06.285319000) [GUI] [Msg] Added plugin [Select entities] to main window
(2023-05-09T21:28:06.285437000) (2023-05-09T21:28:06.285455000) [GUI] [Msg] Loaded plugin [SelectEntities] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libSelectEntities.dylib]
(2023-05-09T21:28:06.285532000) (2023-05-09T21:28:06.285546000) [GUI] [Dbg] [Application.cc:459] Loading plugin [Spawn]
(2023-05-09T21:28:06.312839000) (2023-05-09T21:28:06.312862000) [GUI] [Msg] Added plugin [Spawn] to main window
(2023-05-09T21:28:06.312942000) (2023-05-09T21:28:06.312957000) [GUI] [Msg] Loaded plugin [Spawn] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libSpawn.dylib]
(2023-05-09T21:28:06.313047000) (2023-05-09T21:28:06.313061000) [GUI] [Dbg] [Application.cc:459] Loading plugin [VisualizationCapabilities]
(2023-05-09T21:28:06.327744000) (2023-05-09T21:28:06.327790000) [GUI] [Msg] View as transparent service on [/gui/view/transparent]
(2023-05-09T21:28:06.327915000) (2023-05-09T21:28:06.327938000) [GUI] [Msg] View as wireframes service on [/gui/view/wireframes]
(2023-05-09T21:28:06.328028000) (2023-05-09T21:28:06.328042000) [GUI] [Msg] View center of mass service on [/gui/view/com]
(2023-05-09T21:28:06.328122000) (2023-05-09T21:28:06.328135000) [GUI] [Msg] View inertia service on [/gui/view/inertia]
(2023-05-09T21:28:06.328209000) (2023-05-09T21:28:06.328222000) [GUI] [Msg] View collisions service on [/gui/view/collisions]
(2023-05-09T21:28:06.328311000) (2023-05-09T21:28:06.328323000) [GUI] [Msg] View joints service on [/gui/view/joints]
(2023-05-09T21:28:06.328395000) (2023-05-09T21:28:06.328408000) [GUI] [Msg] View frames service on [/gui/view/frames]
(2023-05-09T21:28:06.351853000) (2023-05-09T21:28:06.351875000) [GUI] [Msg] Added plugin [Visualization capabilities] to main window
(2023-05-09T21:28:06.351954000) (2023-05-09T21:28:06.351968000) [GUI] [Msg] Loaded plugin [VisualizationCapabilities] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libVisualizationCapabilities.dylib]
(2023-05-09T21:28:06.352041000) (2023-05-09T21:28:06.352054000) [GUI] [Dbg] [Application.cc:459] Loading plugin [WorldControl]
(2023-05-09T21:28:06.365646000) (2023-05-09T21:28:06.365668000) [GUI] [Msg] Using world control service [/world/shapes/control]
(2023-05-09T21:28:06.366141000) (2023-05-09T21:28:06.366160000) [GUI] [Msg] Listening to stats on [/world/shapes/stats]
(2023-05-09T21:28:06.366226000) (2023-05-09T21:28:06.366240000) [GUI] [Dbg] [WorldControl.cc:250] Using an event to share WorldControl msgs with the server
(2023-05-09T21:28:06.387798000) (2023-05-09T21:28:06.387821000) [GUI] [Msg] Added plugin [World control] to main window
(2023-05-09T21:28:06.387905000) (2023-05-09T21:28:06.387920000) [GUI] [Msg] Loaded plugin [WorldControl] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libWorldControl.dylib]
(2023-05-09T21:28:06.387999000) (2023-05-09T21:28:06.388013000) [GUI] [Dbg] [Application.cc:459] Loading plugin [WorldStats]
(2023-05-09T21:28:06.396955000) (2023-05-09T21:28:06.396977000) [GUI] [Msg] Listening to stats on [/world/shapes/stats]
(2023-05-09T21:28:06.418700000) (2023-05-09T21:28:06.418724000) [GUI] [Msg] Added plugin [World stats] to main window
(2023-05-09T21:28:06.418804000) (2023-05-09T21:28:06.418819000) [GUI] [Msg] Loaded plugin [WorldStats] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libWorldStats.dylib]
(2023-05-09T21:28:06.418896000) (2023-05-09T21:28:06.418910000) [GUI] [Dbg] [Application.cc:459] Loading plugin [Shapes]
(2023-05-09T21:28:06.446441000) (2023-05-09T21:28:06.446463000) [GUI] [Msg] Added plugin [Shapes] to main window
(2023-05-09T21:28:06.446542000) (2023-05-09T21:28:06.446557000) [GUI] [Msg] Loaded plugin [Shapes] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libShapes.dylib]
(2023-05-09T21:28:06.446634000) (2023-05-09T21:28:06.446649000) [GUI] [Dbg] [Application.cc:459] Loading plugin [Lights]
(2023-05-09T21:28:06.472193000) (2023-05-09T21:28:06.472215000) [GUI] [Msg] Added plugin [Lights] to main window
(2023-05-09T21:28:06.472294000) (2023-05-09T21:28:06.472309000) [GUI] [Msg] Loaded plugin [Lights] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libLights.dylib]
(2023-05-09T21:28:06.472383000) (2023-05-09T21:28:06.472397000) [GUI] [Dbg] [Application.cc:459] Loading plugin [TransformControl]
(2023-05-09T21:28:06.524460000) (2023-05-09T21:28:06.524480000) [GUI] [Msg] Added plugin [Transform control] to main window
(2023-05-09T21:28:06.524549000) (2023-05-09T21:28:06.524562000) [GUI] [Msg] Loaded plugin [TransformControl] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libTransformControl.dylib]
(2023-05-09T21:28:06.524632000) (2023-05-09T21:28:06.524644000) [GUI] [Dbg] [Application.cc:459] Loading plugin [Screenshot]
(2023-05-09T21:28:06.562185000) (2023-05-09T21:28:06.562209000) [GUI] [Msg] Screenshot service on [/gui/screenshot]
(2023-05-09T21:28:06.584074000) (2023-05-09T21:28:06.584099000) [GUI] [Msg] Added plugin [Screenshot] to main window
(2023-05-09T21:28:06.584182000) (2023-05-09T21:28:06.584197000) [GUI] [Msg] Loaded plugin [Screenshot] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-gui-7/plugins/libScreenshot.dylib]
(2023-05-09T21:28:06.584277000) (2023-05-09T21:28:06.584292000) [GUI] [Dbg] [Application.cc:459] Loading plugin [CopyPaste]
(2023-05-09T21:28:06.612113000) (2023-05-09T21:28:06.612136000) [GUI] [Msg] Added plugin [Copy/Paste] to main window
(2023-05-09T21:28:06.612219000) (2023-05-09T21:28:06.612234000) [GUI] [Msg] Loaded plugin [CopyPaste] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libCopyPaste.dylib]
(2023-05-09T21:28:06.612316000) (2023-05-09T21:28:06.612331000) [GUI] [Dbg] [Application.cc:459] Loading plugin [ComponentInspector]
(2023-05-09T21:28:06.732059000) (2023-05-09T21:28:06.732083000) [GUI] [Msg] Added plugin [Component inspector] to main window
(2023-05-09T21:28:06.732175000) (2023-05-09T21:28:06.732190000) [GUI] [Msg] Loaded plugin [ComponentInspector] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libComponentInspector.dylib]
(2023-05-09T21:28:06.732267000) (2023-05-09T21:28:06.732281000) [GUI] [Dbg] [Application.cc:459] Loading plugin [EntityTree]
(2023-05-09T21:28:06.787233000) (2023-05-09T21:28:06.787255000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityTree/EntityTree.qml:148:7: QML ToolButton: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:06.809164000) (2023-05-09T21:28:06.809185000) [GUI] [Msg] Added plugin [Entity tree] to main window
(2023-05-09T21:28:06.809259000) (2023-05-09T21:28:06.809273000) [GUI] [Msg] Loaded plugin [EntityTree] from path [/Users/bhagathkumar/software/gz_garden/install/lib/gz-sim-7/plugins/gui/libEntityTree.dylib]
(2023-05-09T21:28:06.809345000) (2023-05-09T21:28:06.809359000) [GUI] [Dbg] [Application.cc:329] Loading window config
(2023-05-09T21:28:06.809456000) (2023-05-09T21:28:06.809470000) [GUI] [Msg] Using server control service [/server_control]
(2023-05-09T21:28:06.809520000) (2023-05-09T21:28:06.809533000) [GUI] [Dbg] [Application.cc:621] Applying config
(2023-05-09T21:28:06.910412000) (2023-05-09T21:28:06.910431000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:06.952664000) (2023-05-09T21:28:06.952684000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:06.958660000) (2023-05-09T21:28:06.958676000) [GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v135WorldE], which doesn't have
operator>>
. Component will not be deserialized.(2023-05-09T21:28:06.992345000) (2023-05-09T21:28:06.992364000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.39659000) (2023-05-09T21:28:07.39679000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.89596000) (2023-05-09T21:28:07.89617000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.187378000) (2023-05-09T21:28:07.187398000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.227730000) (2023-05-09T21:28:07.227750000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.269350000) (2023-05-09T21:28:07.269369000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.309945000) (2023-05-09T21:28:07.309964000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.350514000) (2023-05-09T21:28:07.350533000) [GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
(2023-05-09T21:28:07.418588000) (2023-05-09T21:28:07.418605000) [GUI] [Wrn] [Application.cc:859] [QT] file::/WorldStats/WorldStats.qml:53:3: QML RowLayout: Binding loop detected for property "x"
(2023-05-09T21:28:07.420530000) (2023-05-09T21:28:07.420546000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:07.420620000) (2023-05-09T21:28:07.420632000) [GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
(2023-05-09T21:28:07.420971000) (2023-05-09T21:28:07.420984000) [GUI] [Wrn] [Application.cc:859] [QT] qUncompress: Z_DATA_ERROR: Input data is corrupted
(2023-05-09T21:28:07.421044000) (2023-05-09T21:28:07.421057000) [GUI] [Wrn] [Application.cc:859] [QT] Attempted to deserialize QShader with unknown version 0.
(2023-05-09T21:28:07.421103000) (2023-05-09T21:28:07.421115000) [GUI] [Wrn] [Application.cc:859] [QT] ShaderEffect: Failed to deserialize QShader from :/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag
(2023-05-09T21:28:07.421155000) (2023-05-09T21:28:07.421166000) [GUI] [Wrn] [Application.cc:859] [QT] ShaderEffect: shader preparation failed for qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag
(2023-05-09T21:28:07.446890000) (2023-05-09T21:28:07.446910000) [GUI] [Dbg] [MinimalScene.cc:664] Creating gz-renderering interface for Metal
(2023-05-09T21:28:07.446957000) (2023-05-09T21:28:07.446969000) [GUI] [Dbg] [MinimalScene.cc:819] Creating render thread interface for Metal
Description
Expected behavior:
Ran 'gz sim -v 4 shapes.sdf -s' in one terminal ,No errors
Ran gz sim -v 4 -g in another terminal
Actual behavior:
Gui Crashed with segmentation fault
[GUI] [Dbg] [Application.cc:621] Applying config
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v135WorldE], which doesn't have
operator>>
. Component will not be deserialized.[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Application.cc:859] [QT] file::/WorldStats/WorldStats.qml:53:3: QML RowLayout: Binding loop detected for property "x"
[GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:859] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:859] [QT] qUncompress: Z_DATA_ERROR: Input data is corrupted
[GUI] [Wrn] [Application.cc:859] [QT] Attempted to deserialize QShader with unknown version 0.
[GUI] [Wrn] [Application.cc:859] [QT] ShaderEffect: Failed to deserialize QShader from :/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag
[GUI] [Wrn] [Application.cc:859] [QT] ShaderEffect: shader preparation failed for qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/gammaadjust.frag
[GUI] [Dbg] [MinimalScene.cc:664] Creating gz-renderering interface for Metal
[GUI] [Dbg] [MinimalScene.cc:819] Creating render thread interface for Metal
Stack trace (most recent call last) in thread 123145455476736:
#15 Object "libsystem_pthread.dylib", at 0x7fff2078d8fc, in _pthread_start + 224
#14 Object "QtCore", at 0x10e570da0, in QThread::qt_metacall(QMetaObject::Call, int, void**) + 1168
#13 Object "QtQuick", at 0x10c38a17f, in QSGOpenGLLayer::qt_metacall(QMetaObject::Call, int, void**) + 21951
#12 Object "QtQuick", at 0x10c388f3c, in QSGOpenGLLayer::qt_metacall(QMetaObject::Call, int, void**) + 17276
#11 Object "QtQuick", at 0x10c3e1a8a, in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 954
#10 Object "QtQuick", at 0x10c319d7a, in QSGRenderer::renderScene(unsigned int) + 58
#9 Object "QtQuick", at 0x10c319fab, in QSGRenderer::renderScene(QSGBindable const&) + 539
#8 Object "QtQuick", at 0x10c332fd6, in QSGBatchRenderer::Renderer::render() + 1958
#7 Object "QtQuick", at 0x10c330c65, in QSGBatchRenderer::Renderer::renderBatches() + 1125
#6 Object "QtQuick", at 0x10c32e444, in QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 1076
#5 Object "QtQuick", at 0x10c32d80a, in QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>, QSGBatchRenderer::Batch const, int, int) + 122
#4 Object "QtQuick", at 0x10c36fa0f, in QSGRenderLoop::metaObject() const + 16815
#3 Object "QtQuick", at 0x10c36f870, in QSGRenderLoop::metaObject() const + 16400
#2 Object "libsystem_platform.dylib", at 0x7fff207d2d7c, in _sigtramp + 28
#1 Object "libgz-tools2-backward.dylib", at 0x109ab5fad, in backward::SignalHandling::sig_handler(int, __siginfo*, void*) + 13
#0 Object "libgz-tools2-backward.dylib", at 0x109ab6016, in backward::SignalHandling::handleSignal(int, __siginfo*, void*) + 70
[1] 26969 segmentation fault
Steps to reproduce
Output
The text was updated successfully, but these errors were encountered: