[OGRE][macOS]: catastrophic crash while displaying surface mesh
Summary
Using ogreviewer and displaying any mesh or the clipping box widget will make the computer crash inside GPU driver code. This error may only be recovered by rebooting (not always, hopefully).
Steps to reproduce
Build OgreViewer, load the well known sphere.vtk (available within sight-data), play a bit by moving the camera, place some landmarks, and fast enough you will experiment the crash/freeze. If you are lucky, it will really crash and regain access to you computer.
Dev environment
- OS: MacOS
- CMake version: 3.14.5
- Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
- Build type: NR
- Commit: e0da9667ef85a7e93c4e8d635e41ddab9e5928f6
Possible fixes
Not linked with ogre version or ogre directly since previous (tested) version also exhibit the crash and we can launch Ogre sample application well. The interesting things is that previous sight version also crash and I'm 100% sure that was not the case before (the crash is really easy to reproduce, it is impossible to miss it). Maybe linked with recent macOS update ?