Ticket #3616 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Fix on exit crash in VatesSimpleGui

Reported by: Michael Reuter Owned by: Michael Reuter
Priority: major Milestone: Iteration 30
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

The VatesSimpleGui has a nasty problem of crashing when the program exits. This needs to be fixed.

Change History

comment:1 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

This has been traced to the code used to destroy all of the sources and the view before the view is switched from one to another. There is an issue that the view is made NULL by ParaView (for reasons I don't understand) before the other sources are destroyed. The crash happens when the view is accessed for information about the other sources. It seems that for on exit behavior, the view class destructor should just do nothing and leave well enough alone. However, the view switching still requires this code or else the old view tries to perform the same operations as the current view. A new function call will be created to handle the mode switch destruction.

comment:2 Changed 9 years ago by Michael Reuter

In [14212]:

New method to fix crash on exit. This refs #3616.

comment:3 Changed 9 years ago by Michael Reuter

To test, fire up VatesSimpleGui, load some data (any will do) and exit the program. It should no longer complain about program aborting or terminating abnormally. This is probably best seen on Linux as I don't know if this behavior was ever seen on Windows.

comment:4 Changed 9 years ago by Michael Reuter

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:5 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:6 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

This has been fixed for some time now. I've been using it without the crash on exit issue.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4463

Note: See TracTickets for help on using tickets.