Segmentation Fault: Load State with Saved Python Animation Track
Observed with ParaView 5.9.0 RC3 on macOS 10.14.6.
Summary
Loading a ParaView state .pvsm
file with a saved Python track crashes. I wonder whether this is because of "cruft" stored in the state file to deal with the editor (e.g., <Element index="0" value="def start_cue(self): pass

def tick(self): 
 print("Hello")

def end_cue(self): pass"/>
)...
Steps to Reproduce
- Launch ParaView 5.9.0 RC3
- Open View -> Animation View
- Add Python Track (click "+" next to Python selected in track dropdown)
- Double click on Python track to get code editor, enter:
def start_cue(self): pass
def tick(self):
print("Hello")
def end_cue(self): pass
- Click OK on code editor
- File -> Save State
- Quit ParaView
- Relaunch ParaView 5.9.0 RC3
- File -> Load State -> Select previously saved file
- crash
I see the attached log using the attached state file.
P.S.
When I open the code editor here (or another, e.g., Programmable Filter), I see:
warning: In unknown, line 0
warning: Populating font family aliases took 744 ms. Replace uses of missing font family "Monospace" with one that exists to avoid this cost.
This seems to be "new" behavior---is this expected?
Edited by Joel A. Kulesza