CMB issueshttps://gitlab.kitware.com/cmb/cmb/-/issues2018-12-18T17:09:05-05:00https://gitlab.kitware.com/cmb/cmb/-/issues/202Modelbuilder seg fault when closing attribute resource (linux build only)2018-12-18T17:09:05-05:00John TourtellottModelbuilder 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
1. Load attribute template, e.g., .../smtk/data/simulation-workflows/ACE3P/ACE3P.sbt
2. In the resource panel, s...A repeatable crash occurs on linux builds of modelbuilder. I am running Ubuntu 16.04 with gcc 5.4. To reproduce the failure
1. Load attribute template, e.g., .../smtk/data/simulation-workflows/ACE3P/ACE3P.sbt
2. 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.)
[valgrind.log](/uploads/f89c4f916215731e6c91309186fc8982/valgrind.log)CMB 6.0John TourtellottJohn Tourtellott