mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 123 forks source link

InstrumentView causes crash when closing on IDAaaS GPU instance #35843

Closed robertapplin closed 1 year ago

robertapplin commented 1 year ago

Original reporter: @mducle

Describe the bug Mantid crashes when the InstrumentView interface is closed on an IDAaaS GPU instance. This only happens in 6.7 and the nightly. The same crash happens for the ALFView interface because it uses the InstrumentView.

To Reproduce

Open Mantid 6.7 or nightly on an IDAaaS workspace with a GPU. Load data and open InstrumentView, or Interfaces -> Direct -> ALFView Close the InstrumentView or ALFView window It crashes with:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-xxxxxx'
[VGL] ERROR: in getGLXDrawable--
[VGL]    184: Window has been deleted by window manager
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-xxxxxx'

Crash does not happen on Mantid 6.6 or 6.5

Expected behavior Mantid should not crash

Platform/Version (please complete the following information):

robertapplin commented 1 year ago

The crash may be caused by thinlinc https://github.com/mantidproject/mantid/issues/34505

robertapplin commented 1 year ago

The same crash happens when you open the InstrumentView on a workspace and then close the InstrumentView

robertapplin commented 1 year ago

This has been fixed by contacting the IDAaaS team and asking them to upgrade virtualgl from 2.5.2 to 3.1