Ticket #8294 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

SANS mantid crash

Reported by: Gesner Passos Owned by: Gesner Passos
Priority: blocker Milestone: Release 3.0
Component: SANS Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description

Introduced in Septempter 27th.

Run the ticket #8245 twice and mantid crashes.

Change History

comment:1 Changed 7 years ago by Gesner Passos

This is a quite strange error. I wander how to explain it. The crash was first seen in the commit https://github.com/mantidproject/mantid/commit/212816a712e70926fedeb2fdfebf2047fb041d6a.

The connection on how that code could allow the system to crash is obscure.

comment:2 Changed 7 years ago by Gesner Passos

How to reproduce the error:

Run 1D reduction.

Mantid crashes.

comment:3 Changed 7 years ago by Gesner Passos

It was found that the problem is related to the m_delete_observer, a Poco::NObserver<SANSRunWindow, Mantid::API::WorkspacePostDeleteNotification>. It was added to added to the notificationCenter twice but removed just once. Due to this, it might be that after closing the interface, the notificationCenter may try to get an invalid callback.

comment:4 Changed 7 years ago by Gesner Passos

  • Status changed from new to inprogress

re #8294: SANS window remove double addition of delete observer

This cause the Mantid to crash when you close and reopen the SANS interface and perform some reduction.

Changeset: db98ba3b3d9c766828d0bab641a05b37d2a16f68

comment:5 Changed 7 years ago by Gesner Passos

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

comment:6 Changed 7 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:7 Changed 7 years ago by Karl Palmen

  • Status changed from verifying to closed

There is no crash when I reproduce the error as described above, but the 1D reduction does cause a python error.

comment:8 Changed 7 years ago by Karl Palmen

Merge remote-tracking branch 'origin/bugfix/8294_sans_crash_deleting_wks'

Full changeset: 0310fa2efe256093a7ca9482c4dae35cfd53eae9

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9139

Note: See TracTickets for help on using tickets.