Skip to content

Draft: Add missing GIL lock to SetMathTextFont

David Gobbi requested to merge dgobbi/vtk:18733-matplotlib-gil into master

The SetMathTextFont() method of vtkMatplotlibMathTextUtilities was missing missing a call to PyGILState_Ensure() on builds with VTK_PYTHON_FULL_THREADSAFE before the import of the matplotlib module. This resulted in a segfault in Paraview when matplotlib was used to render latex fonts.

Closes #18733 (closed)

backport: release

backport: paraview/release

Edited by David Gobbi

Merge request reports