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

gz sim -g fails on Windows with error "wglMakeCurrent failed: The pixel format is invalid." #2089

Closed
6 of 19 tasks
traversaro opened this issue Aug 24, 2023 · 2 comments · Fixed by #2382
Closed
6 of 19 tasks
Labels
bug Something isn't working

Comments

@traversaro
Copy link
Contributor

I'll open a new issue for gz sim -g support on Windows as #168 is a a bit generic and contains a lot of confusing information.

Environment

  • OS Version: Microsoft Windows [Version 10.0.22000.2176]

  • Source or binary build?
    Binary from conda-forge, mamba list included in details

  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.

    • Rendering plugin: [ogre2].

      • Sensor rendering error.
      • GUI rendering error.
    • EGL headless mode:

      • Running in EGL headless mode
    • Generally, mention all circumstances that might affect rendering capabilities:

      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on a multi-GPU machine (it has multiple discrete GPUs)
      • running on real hardware
      • running in virtual machine
      • running in Docker/Singularity
      • running remotely (e.g. via SSH)
      • running in a cloud
      • using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
        • multiple simulators running at the same time
      • other...
    • Rendering system info:

      • On Windows, run dxdiag and report the GPU-related information.
    • Please, attach the ogre.log or ogre2.log file from ~/.gz/rendering

The logs were to big for an issue, see them at https://gist.github.com/traversaro/bb1adcc11ce1a3baf7e1a712c226fb31 .

Description

  • Expected behavior: gz sim -s crashes, while gz sim -g crashes
  • Actual behavior: gz sim -s followed by gz sim -g opens the simulation Windows

Steps to reproduce

  1. Install gz-sim7 with mamba create -n gzsim7 gz-sim7
  2. Manually comment these lines https://github.com/gazebosim/gz-sim/blob/gz-sim7_7.5.0/src/cmd/cmdsim.rb.in#L497-L501 in the file %CONDA_PREFIX%\Library\lib\ruby\gz\cmdsim7.rb
  3. Run gz sim -s followed by gz sim -g

Output

(gzsim7) C:\Users\STraversaro>gz sim -g --verbose
[Msg] Gazebo Sim GUI    v7.5.0
[GUI] [Msg] Loading config [C:\Users\STraversaro\.gz\sim\7\gui.config]
[GUI] [Msg] Added plugin [3D View] to main window
[GUI] [Msg] Loaded plugin [MinimalScene] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\MinimalScene.dll]
[GUI] [Wrn] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [Msg] Added plugin [Entity Context Menu] to main window
[GUI] [Msg] Loaded plugin [EntityContextMenuPlugin] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\EntityContextMenuPlugin.dll]
[GUI] [Msg] Added plugin [Scene Manager] to main window
[GUI] [Msg] Loaded plugin [GzSceneManager] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\GzSceneManager.dll]
[GUI] [Msg] Camera view controller topic advertised on [/gui/camera/view_control]
[GUI] [Msg] Camera reference visual topic advertised on [/gui/camera/view_control/reference_visual]
[GUI] [Msg] Camera view control sensitivity advertised on [/gui/camera/view_control/sensitivity]
[GUI] [Msg] Added plugin [Interactive view control] to main window
[GUI] [Msg] Loaded plugin [InteractiveViewControl] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\InteractiveViewControl.dll]
[GUI] [Msg] Added plugin [Camera tracking] to main window
[GUI] [Msg] Loaded plugin [CameraTracking] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\CameraTracking.dll]
[GUI] [Msg] Listening to stats on [/world/default/stats]
[GUI] [Msg] Added plugin [Marker Manager] to main window
[GUI] [Msg] Loaded plugin [MarkerManager] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\MarkerManager.dll]
[GUI] [Msg] Added plugin [Select entities] to main window
[GUI] [Msg] Loaded plugin [SelectEntities] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\SelectEntities.dll]
[GUI] [Msg] Added plugin [Spawn] to main window
[GUI] [Msg] Loaded plugin [Spawn] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\Spawn.dll]
[GUI] [Msg] View as transparent service on [/gui/view/transparent]
[GUI] [Msg] View as wireframes service on [/gui/view/wireframes]
[GUI] [Msg] View center of mass service on [/gui/view/com]
[GUI] [Msg] View inertia service on [/gui/view/inertia]
[GUI] [Msg] View collisions service on [/gui/view/collisions]
[GUI] [Msg] View joints service on [/gui/view/joints]
[GUI] [Msg] View frames service on [/gui/view/frames]
[GUI] [Msg] Added plugin [Visualization capabilities] to main window
[GUI] [Msg] Loaded plugin [VisualizationCapabilities] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\VisualizationCapabilities.dll]
[GUI] [Msg] Using world control service [/world/default/control]
[GUI] [Msg] Listening to stats on [/world/default/stats]
[GUI] [Msg] Added plugin [World control] to main window
[GUI] [Msg] Loaded plugin [WorldControl] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\WorldControl.dll]
[GUI] [Msg] Listening to stats on [/world/default/stats]
[GUI] [Msg] Added plugin [World stats] to main window
[GUI] [Msg] Loaded plugin [WorldStats] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\WorldStats.dll]
[GUI] [Msg] Added plugin [Shapes] to main window
[GUI] [Msg] Loaded plugin [Shapes] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\Shapes.dll]
[GUI] [Msg] Added plugin [Lights] to main window
[GUI] [Msg] Loaded plugin [Lights] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\Lights.dll]
[GUI] [Msg] Added plugin [Transform control] to main window
[GUI] [Msg] Loaded plugin [TransformControl] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\TransformControl.dll]
[GUI] [Msg] Screenshot service on [/gui/screenshot]
[GUI] [Msg] Added plugin [Screenshot] to main window
[GUI] [Msg] Loaded plugin [Screenshot] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\Screenshot.dll]
[GUI] [Msg] Added plugin [Copy/Paste] to main window
[GUI] [Msg] Loaded plugin [CopyPaste] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\CopyPaste.dll]
[GUI] [Msg] Added plugin [Component inspector] to main window
[GUI] [Msg] Loaded plugin [ComponentInspector] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\ComponentInspector.dll]
[GUI] [Wrn] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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.
[GUI] [Msg] Added plugin [Entity tree] to main window
[GUI] [Msg] Loaded plugin [EntityTree] from path [C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-sim-7\plugins\gui\EntityTree.dll]
[GUI] [Msg] Using server control service [/server_control]
[GUI] [Wrn] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [QT] QWindowsWindow::setGeometry: Unable to set geometry 3000x2535+15+72 (frame: 3032x2623-1+0) on Main_QMLTYPE_165/"window" on "\\.\DISPLAY1". Resulting geometry: 3000x2348+15+72 (frame: 3032x2436-1+0) margins: 16, 72, 16, 16 minimum size: 300x300 MINMAXINFO maxSize=0,0 maxpos=0,0 mintrack=932,988 maxtrack=0,0)
[GUI] [Wrn] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [QT] file::/WorldStats/WorldStats.qml:53:3: QML RowLayout: Binding loop detected for property "x"
[GUI] [Wrn] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [D:\bld\gz-gui7_1688332124286\work\src\Application.cc:860] [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] [Component.hh:189] Trying to deserialize component with data type [class sdf::v13::World], which doesn't have `operator>>`. Component will not be deserialized.
[GUI] [Msg] Loading plugin [gz-rendering-ogre2]
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): wglMakeCurrent failed: The pixel format is invalid.
 in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 624)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1131]  Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in Win32Window::create at D:\bld\ogre-next_1684687719477\work\RenderSystems\GL3Plus\src\windowing\win32\OgreWin32Window.cpp (line 230)
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1139] Unable to create the rendering window after [11] attempts.
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1048] Failed to create dummy render window.
[GUI] [Err] [D:\bld\gz-rendering7_1688495782970\work\ogre2\src\Ogre2RenderEngine.cc:1049] Please see the troubleshooting page for possible fixes: https://gazebosim.org/docs/fortress/troubleshooting
C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:478: [BUG] Segmentation fault
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mswin64_140]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0056 e:000055 CFUNC  :call
c:0004 p:0016 s:0048 e:000047 METHOD C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:478
c:0003 p:0705 s:0042 e:000041 METHOD C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:554
c:0002 p:0511 s:0020 E:002280 EVAL   C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/bin//gz:308 [FINISH]
c:0001 p:0000 s:0003 E:000890 DUMMY  [FINISH]

-- Ruby level backtrace information ----------------------------------------
C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/bin//gz:308:in `<main>'
C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:554:in `execute'
C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:478:in `runGui'
C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb:478:in `call'

-- C level backtrace information -------------------------------------------
C:\WINDOWS\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007FFDBD8C3C84]
C:\WINDOWS\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x8e) [0x00007FFDBAE40E6E]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_print_backtrace+0x34) [0x00007FFD9C8F1710]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_vm_bugreport+0x138) [0x00007FFD9C8F1850]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_bug_for_fatal_signal+0x65) [0x00007FFD9C8143B9]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(ruby_signal_name+0x782) [0x00007FFD9C9232B6]
C:\WINDOWS\System32\ucrtbase.dll(exp2f+0xcb92) [0x00007FFDBB5B1A82]
 [0x00007FF6C0BC1B9C]
C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll(_C_specific_handler+0xa0) [0x00007FFD9CC9EFC0]
C:\WINDOWS\SYSTEM32\ntdll.dll(_chkstk+0x12f) [0x00007FFDBD8C8BEF]
C:\WINDOWS\SYSTEM32\ntdll.dll(RtlRestoreContext+0x85a) [0x00007FFDBD855BEA]
C:\WINDOWS\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007FFDBD8C7BDE]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::Hlms::createDatablock+0x58) [0x00007FFD82E42EB8]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::Pass::Pass+0x341) [0x00007FFD82EFF151]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::Technique::createPass+0x37) [0x00007FFD82FE62C7]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::PassTranslator::translate+0xa5) [0x00007FFD82F95C55]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ScriptTranslator::processNode+0x68) [0x00007FFD82F82D98]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::TechniqueTranslator::translate+0x15df) [0x00007FFD82F9CADF]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ScriptTranslator::processNode+0x68) [0x00007FFD82F82D98]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::MaterialTranslator::translate+0x1032) [0x00007FFD82F940D2]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ScriptCompiler::compile+0x19d) [0x00007FFD82F6B71D]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ScriptCompiler::compile+0xb2) [0x00007FFD82F6B8D2]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ScriptCompilerManager::parseScript+0x54) [0x00007FFD82F73FA4]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ResourceGroupManager::parseResourceGroupScripts+0x8dc) [0x00007FFD82F3EC0C]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\OgreNextMain.dll(Ogre::ResourceGroupManager::initialiseAllResourceGroups+0xb9) [0x00007FFD82F3C719]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-rendering-7\engine-plugins\gz-rendering-ogre2.dll(gz::rendering::v7::Ogre2RenderEngine::InitAttempt+0x30) [0x00007FFD87821EF0]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-rendering-7\engine-plugins\gz-rendering-ogre2.dll(gz::rendering::v7::Ogre2RenderEngine::InitImpl+0x1f) [0x00007FFD8781B77F]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\gz-rendering7.dll(gz::rendering::v7::BaseRenderEngine::Init+0x244) [0x00007FFD87D23714]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\gz-rendering7.dll(gz::rendering::v7::RenderEngineManager::Instance+0x283) [0x00007FFD87D16473]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\gz-rendering7.dll(gz::rendering::v7::RenderEngineManager::Engine+0xfc) [0x00007FFD87D1506C]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\MinimalScene.dll(GzPluginHook+0x1608) [0x00007FFD87D833E8]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\MinimalScene.dll(GzPluginHook+0xd3d9) [0x00007FFD87D8F1B9]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\lib\gz-gui-7\plugins\MinimalScene.dll(GzPluginHook+0x3b4e) [0x00007FFD87D8592E]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QObject::event+0x171) [0x00007FFD93C6CA11]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Widgets_conda.dll(QApplicationPrivate::notify_helper+0x111) [0x00007FFD94D44941]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Widgets_conda.dll(QApplication::notify+0x18aa) [0x00007FFD94D439CA]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QCoreApplication::notifyInternal2+0xbb) [0x00007FFD93C459FB]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QCoreApplicationPrivate::sendPostedEvents+0x1e2) [0x00007FFD93C47752]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\plugins\platforms\qwindows.dll(qt_plugin_query_metadata+0x1f0f) [0x00007FFD88AA36EF]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QEventDispatcherWin32::processEvents+0x74) [0x00007FFD93C8EA84]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\plugins\platforms\qwindows.dll(qt_plugin_query_metadata+0x1ee9) [0x00007FFD88AA36C9]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QEventLoop::exec+0x1bf) [0x00007FFD93C41E4F]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\Qt5Core_conda.dll(QCoreApplication::exec+0x155) [0x00007FFD93C449C5]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\gz-sim7-gui.dll(gz::sim::v7::gui::runGui+0x6d) [0x00007FFD9C62175D]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\gz-sim7-gz.dll(runGui+0x2e) [0x00007FFDB7985BFE]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\ffi-8.dll(ffi_call_win64+0x41) [0x00007FFDB7AD4541]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\ffi-8.dll(ffi_call+0x132) [0x00007FFDB7AD4332]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\Library\bin\ffi-8.dll(ffi_call+0x12) [0x00007FFDB7AD4212]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\lib\ruby\3.2.0\x64-mswin64_140\fiddle.so(Init_fiddle+0x14b5) [0x00007FFDB7AE389D]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_nogvl+0xc5) [0x00007FFD9C8B58F1]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_thread_call_without_gvl+0xe) [0x00007FFD9C8B63D6]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\lib\ruby\3.2.0\x64-mswin64_140\fiddle.so(Init_fiddle+0xf51) [0x00007FFDB7AE3339]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(ruby_vm_special_exception_copy+0x292a) [0x00007FFD9C82884E]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(ruby_vm_special_exception_copy+0xcfa2) [0x00007FFD9C832EC6]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(ruby_vm_special_exception_copy+0x7c4a) [0x00007FFD9C82DB6E]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_vm_exec+0x13c) [0x00007FFD9C8240D0]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(rb_ec_error_print+0x587) [0x00007FFD9C80D9F7]
C:\Users\STraversaro\AppData\Local\mambaforge\envs\gzsim7\bin\x64-vcruntime140-ruby320.dll(ruby_run_node+0x46) [0x00007FFD9C810202]
 [0x00007FF6C0BC104A]
 [0x00007FF6C0BC1264]
C:\WINDOWS\System32\KERNEL32.DLL(BaseThreadInitThunk+0x10) [0x00007FFDBC8955A0]

-- Other runtime information -----------------------------------------------

* Loaded script: C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/bin//gz

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 fiber.so
    3 rational.so
    4 complex.so
    5 ruby2_keywords.rb
    6 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/enc/encdb.so
    7 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/enc/trans/transdb.so
    8 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/rbconfig.rb
    9 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/compatibility.rb
   10 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/defaults.rb
   11 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/deprecate.rb
   12 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/errors.rb
   13 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/unknown_command_spell_checker.rb
   14 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/exceptions.rb
   15 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/basic_specification.rb
   16 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/stub_specification.rb
   17 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/platform.rb
   18 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/util/list.rb
   19 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/version.rb
   20 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/requirement.rb
   21 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/specification.rb
   22 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/util.rb
   23 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/dependency.rb
   24 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/core_ext/kernel_gem.rb
   25 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/monitor.so
   26 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/monitor.rb
   27 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems.rb
   28 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/rubygems/path_support.rb
   29 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/error_highlight/version.rb
   30 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/error_highlight/base.rb
   31 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/error_highlight/formatter.rb
   32 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/error_highlight/core_ext.rb
   33 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/error_highlight.rb
   34 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/version.rb
   35 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/core_ext/name_error.rb
   36 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/levenshtein.rb
   37 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/jaro_winkler.rb
   38 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checker.rb
   39 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   40 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   41 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/name_error_checkers.rb
   42 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/method_name_checker.rb
   43 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/key_error_checker.rb
   44 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/null_checker.rb
   45 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/tree_spell_checker.rb
   46 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/require_path_checker.rb
   47 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/spell_checkers/pattern_key_name_checker.rb
   48 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean/formatter.rb
   49 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/did_you_mean.rb
   50 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/syntax_suggest/core_ext.rb
   51 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/optparse.rb
   52 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/versions.rb
   53 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/exception.rb
   54 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/syntax_error.rb
   55 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/psych.so
   56 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/stringio.so
   57 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/omap.rb
   58 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/set.rb
   59 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/class_loader.rb
   60 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/scalar_scanner.rb
   61 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/node.rb
   62 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/stream.rb
   63 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/document.rb
   64 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/sequence.rb
   65 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/scalar.rb
   66 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/mapping.rb
   67 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes/alias.rb
   68 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/nodes.rb
   69 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/streaming.rb
   70 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/visitor.rb
   71 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/to_ruby.rb
   72 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/emitter.rb
   73 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/handler.rb
   74 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/tree_builder.rb
   75 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/yaml_tree.rb
   76 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/json/ruby_events.rb
   77 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/json_tree.rb
   78 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors/depth_first.rb
   79 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/visitors.rb
   80 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/parser.rb
   81 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/coder.rb
   82 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/core_ext.rb
   83 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/stream.rb
   84 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/json/yaml_events.rb
   85 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/json/tree_builder.rb
   86 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/json/stream.rb
   87 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych/handlers/document_stream.rb
   88 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/forwardable/impl.rb
   89 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/forwardable.rb
   90 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/psych.rb
   91 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/yaml.rb
   92 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/fiddle.so
   93 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/closure.rb
   94 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/function.rb
   95 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/version.rb
   96 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle.rb
   97 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/value.rb
   98 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/pack.rb
   99 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/struct.rb
  100 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/cparser.rb
  101 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/fiddle/import.rb
  102 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/cgi/escape.so
  103 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/cgi/util.rb
  104 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/erb/version.rb
  105 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/strscan.so
  106 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/erb/compiler.rb
  107 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/erb/def_method.rb
  108 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/erb/escape.so
  109 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/erb/util.rb
  110 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/erb.rb
  111 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/x64-mswin64_140/pathname.so
  112 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/lib/ruby/3.2.0/pathname.rb
  113 C:/Users/STraversaro/AppData/Local/mambaforge/envs/gzsim7/Library/lib/ruby/gz/cmdsim7.rb

Stack trace (most recent call last):
#31   Object "", at 00007FFD93C6CA11, in QObject::event
#30   Object "", at 00007FFD87D8592E, in GzPluginHook
#29   Object "", at 00007FFD87D8F1B9, in GzPluginHook
#28   Object "", at 00007FFD87D833E8, in GzPluginHook
#27   Object "", at 00007FFD87D1506C, in gz::rendering::v7::RenderEngineManager::Engine
#26   Object "", at 00007FFD87D16473, in gz::rendering::v7::RenderEngineManager::Instance
#25   Object "", at 00007FFD87D23714, in gz::rendering::v7::BaseRenderEngine::Init
#24   Object "", at 00007FFD8781B77F, in gz::rendering::v7::Ogre2RenderEngine::InitImpl
#23   Object "", at 00007FFD87821EF0, in gz::rendering::v7::Ogre2RenderEngine::InitAttempt
#22   Object "", at 00007FFD82F3C719, in Ogre::ResourceGroupManager::initialiseAllResourceGroups
#21   Object "", at 00007FFD82F3EC0C, in Ogre::ResourceGroupManager::parseResourceGroupScripts
#20   Object "", at 00007FFD82F73FA4, in Ogre::ScriptCompilerManager::parseScript
#19   Object "", at 00007FFD82F6B8D2, in Ogre::ScriptCompiler::compile
#18   Object "", at 00007FFD82F6B71D, in Ogre::ScriptCompiler::compile
#17   Object "", at 00007FFD82F940D2, in Ogre::MaterialTranslator::translate
#16   Object "", at 00007FFD82F82D98, in Ogre::ScriptTranslator::processNode
#15   Object "", at 00007FFD82F9CADF, in Ogre::TechniqueTranslator::translate
#14   Object "", at 00007FFD82F82D98, in Ogre::ScriptTranslator::processNode
#13   Object "", at 00007FFD82F95C55, in Ogre::PassTranslator::translate
#12   Object "", at 00007FFD82FE62C7, in Ogre::Technique::createPass
#11   Object "", at 00007FFD82EFF151, in Ogre::Pass::Pass
#10   Object "", at 00007FFD82E42EB8, in Ogre::Hlms::createDatablock
#9    Object "", at 00007FFDBD8C7BDE, in KiUserExceptionDispatcher
#8    Object "", at 00007FFDBD855BEA, in RtlRestoreContext
#7    Object "", at 00007FFDBD8C8BEF, in _chkstk
#6    Object "", at 00007FFD9CC9EFC0, in _C_specific_handler
Attempt to access invalid address.

#5    Object "", at 00007FF6C0BC1B9C, in  ??
#4    Object "", at 00007FFDBB5B1A82, in exp2f
#3    Object "", at 00007FFD9C9232B6, in ruby_signal_name
#2    Object "", at 00007FFD9C8143CF, in rb_bug_for_fatal_signal
#1    Object "", at 00007FFD9C812C7B, in ruby_stop
#0    Object "", at 00007FFDBB5CDD61, in abort
@traversaro traversaro added the bug Something isn't working label Aug 24, 2023
@traversaro traversaro changed the title gz sim -g fails on Windows with error OGRE EXCEPTION(3:RenderingAPIException): wglMakeCurrent failed: The pixel format is invalid. gz sim -g fails on Windows with error "wglMakeCurrent failed: The pixel format is invalid." Aug 24, 2023
@peci1
Copy link
Contributor

peci1 commented Sep 3, 2023

The same happens to me with Intel HD Graphics 4600 and ogre2 (GPU should have OpenGL 4.3) on Harmonic.

@traversaro
Copy link
Contributor Author

To progress on this issue, I backtracked down to gz-rendering . I am tring some gz-rendering examples, and while some do not work on Windows, some work. In particular simple_demo and simple_demo_qml do not work, while https://github.com/gazebosim/gz-rendering/tree/gz-rendering8/examples/wide_angle_camera works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants