Modelbuilder seg fault when closing attribute resource (linux build only)
A repeatable crash occurs on linux builds of modelbuilder. I am running Ubuntu 16.04 with gcc 5.4. To reproduce the failure
- Load attribute template, e.g., .../smtk/data/simulation-workflows/ACE3P/ACE3P.sbt
- In the resource panel, select "ACE3P.sbt" then select menu item "File" --> "Close Resource" (or Control-W).
The application exits with the message "Segmentation fault (core dumped)", although I see no core file on the disk. So instead, I will attach a valgrind logfile that shows that the crash occurring at pqSMTKAttributePanel.cxx:129, in the observer code in the displayResource() method. In brief, the qtUIManager (m_attruUIMgr) seems to be corrupted when the delete is attempted. (Though I could not find that the qtUIManager is ever getting deleted.)