gazebosim / gazebosim/gz-rendering
:farmer: Segfaults in macOS Monterey (mac.five.monterey)
- Dominant language
- C++
- Stars
- 81
- Forks
- 90
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 10
Description
## Environment
* OS Version: macOS Monterey
* Source gz-rendering6 gz-redndering3 homebrew build
## Description
* Expected behavior: All tests should pass
* Actual behavior: 33 tests fail by segfaulting
## Steps to reproduce
1. Run a build in [gz-rendering6-homebrew](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering6-homebrew-amd64/) or [ignition_rendering-ci-ign-rendering3-homebrew](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/) with [mac.five.monterey](https://build.osrfoundation.org/computer/mac-five.monterey/) machine
2. See 33 test regressions that segfault.
## Output
Reference build: https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering6-homebrew-amd64/104/
Test regressions:
Fortress:
```
The following tests FAILED:
1 - UNIT_ArrowVisual_TEST (SEGFAULT)
3 - UNIT_AxisVisual_TEST (SEGFAULT)
11 - UNIT_Camera_TEST (SEGFAULT)
13 - UNIT_Capsule_TEST (SEGFAULT)
21 - UNIT_Grid_TEST (SEGFAULT)
23 - UNIT_Heightmap_TEST (SEGFAULT)
27 - UNIT_JointVisual_TEST (SEGFAULT)
29 - UNIT_LidarVisual_TEST (SEGFAULT)
31 - UNIT_LightVisual_TEST (SEGFAULT)
33 - UNIT_Light_TEST (SEGFAULT)
35 - UNIT_Marker_TEST (SEGFAULT)
37 - UNIT_Material_TEST (SEGFAULT)
41 - UNIT_Mesh_TEST (SEGFAULT)
43 - UNIT_MoveToHelper_TEST (SEGFAULT)
45 - UNIT_Node_TEST (SEGFAULT)
47 - UNIT_OrbitViewController_TEST (SEGFAULT)
49 - UNIT_OrthoViewController_TEST (SEGFAULT)
55 - UNIT_RayQuery_TEST (SEGFAULT)
63 - UNIT_RenderTarget_TEST (SEGFAULT)
65 - UNIT_RenderingIface_TEST (SEGFAULT)
67 - UNIT_Scene_TEST (SEGFAULT)
77 - UNIT_Text_TEST (SEGFAULT)
79 - UNIT_ThermalCamera_TEST (SEGFAULT)
81 - UNIT_TransformController_TEST (SEGFAULT)
85 - UNIT_Visual_TEST (SEGFAULT)
87 - UNIT_WireBox_TEST (SEGFAULT)
89 - INTEGRATION_gpu_rays (SEGFAULT)
93 - INTEGRATION_depth_camera (SEGFAULT)
95 - INTEGRATION_camera (SEGFAULT)
97 - INTEGRATION_render_pass (SEGFAULT)
99 - INTEGRATION_shadows (SEGFAULT)
101 - INTEGRATION_scene (SEGFAULT)
109 - INTEGRATION_lidar_visual (SEGFAULT)
```
Citadel:
* [INTEGRATION_camera.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_camera/test_ran/)
* [INTEGRATION_depth_camera.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_depth_camera/test_ran/)
* [INTEGRATION_render_pass.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_render_pass/test_ran/)
* [INTEGRATION_scene.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_scene/test_ran/)
* [INTEGRATION_shadows.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_shadows/test_ran/)
* [INTEGRATION_thermal_camera.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/INTEGRATION_thermal_camera/test_ran/)
* [UNIT_ArrowVisual_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_ArrowVisual_TEST/test_ran/)
* [UNIT_AxisVisual_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_AxisVisual_TEST/test_ran/)
* [UNIT_Camera_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Camera_TEST/test_ran/)
* [UNIT_Grid_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Grid_TEST/test_ran/)
* [UNIT_Light_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Light_TEST/test_ran/)
* [UNIT_Marker_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Marker_TEST/test_ran/)
* [UNIT_Material_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Material_TEST/test_ran/)
* [UNIT_Mesh_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Mesh_TEST/test_ran/)
*[UNIT_MoveToHelper_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_MoveToHelper_TEST/test_ran/)
* [UNIT_Node_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Node_TEST/test_ran/)
* [UNIT_OrbitViewController_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_OrbitViewController_TEST/test_ran/)
* [UNIT_RayQuery_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_RayQuery_TEST/test_ran/)
* [UNIT_RenderTarget_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_RenderTarget_TEST/test_ran/)
* [UNIT_RenderingIface_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_RenderingIface_TEST/test_ran/)
* [UNIT_Scene_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Scene_TEST/test_ran/)
* [UNIT_ThermalCamera_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_ThermalCamera_TEST/test_ran/)
* [UNIT_TransformController_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_TransformController_TEST/test_ran/)
* [UNIT_Visual_TEST.test_ran](https://build.osrfoundation.org/job/ignition_rendering-ci-ign-rendering3-homebrew-amd64/136/testReport/junit/(root)/UNIT_Visual_TEST/test_ran/)
```
Contributor guide
Research direction
Start with the gz-rendering6-homebrew and ignition_rendering-ci-ign-rendering3-homebrew jobs on mac.five.monterey, using the referenced reference builds and test reports. Reproduce a representative failing unit and integration test, then inspect the common failure path across the listed regressions. Done means the 33 reported tests no longer segfault and the builds pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- computer-graphics, operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100