ID 540263 - Mari crashes on shutdown due to actions = widget.actions() being used to add an action to the Tools Toolbar

Follow

Problem summary
Mari crashes on shutdown when actions = widget.actions() has been used to add an action to the Tools Toolbar.
 
Customer reported version
Mari 5.0v4
 
Customer reported platform
CentOS
 
Steps to reproduce

  1. Launch Mari.
  2. In the Python Console palette, run the Python script attached.
  3. Close Mari.
  4. Open the MariLog.txt file and notice there is a crash message at the end.
 
Expected behaviour
There should be no crash when during shutdown when a actions = widget.actions() function is being used.
 
Actual behaviour
Mari crashes on shutdown if actions = widget.actions() is used to add an Action to the Tools Toolbar.
 
Workaround
Unknown.
 
Reproduced by support
Reproduced by the engineering team.
 

    We're sorry to hear that

    Please tell us why