Ticket #911 (closed: fixed)
Deleting a workspace or using clear memory option when a MantidMatrix is open, can cause a crash
Reported by: | Martyn Gigg | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Iteration 19 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Having a plot on screen when deleting a workspace can cause a crash. This also happened when having many workspaces with plots and using the clear Memory option. Unfortunately it did not happen every time
Change History
comment:2 Changed 11 years ago by Martyn Gigg
- Summary changed from Deleting a workspace or using clear memory option when a plot is open, can cause a crash to Deleting a workspace or using clear memory option when a MantidMatrix is open, can cause a crash
Note that this actually seems to be related to closing MantidMatrix objects rather than the plots, so I've changed the title
comment:3 Changed 11 years ago by Martyn Gigg
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.
I managed to get a backtrace when a crash happened:
#1 0x0000000000867efa in MantidMatrix::removeWindow (this=0x7f4040720de0)
#2 0x0000000000852a1d in MantidUI::removeWindowFromLists (this=0x2e49e90, m=0x7f4040720de0)
#3 0x000000000053b542 in ApplicationWindow::removeWindowFromLists (this=0x2e7def0,
#4 0x000000000054100a in ApplicationWindow::closeWindow (this=0x2e7def0, window=0x7f4040720de0)
#5 0x000000000097288e in ApplicationWindow::qt_metacall (this=0x2e7def0,
#6 0x00007f40c0b88134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #7 0x0000000000992845 in MdiSubWindow::closedWindow (this=0x7f4040720de0, _t1=0x7f4040720de0)
#8 0x000000000074eb4a in MdiSubWindow::closeEvent (this=0x7f4040720de0, e=0x7fffcd96bc30)
#9 0x00007f40c1380d77 in QWidget::event () from /usr/lib/libQtGui.so.4 #10 0x00007f40c16b7ccb in QMdiSubWindow::event () from /usr/lib/libQtGui.so.4 #11 0x00007f40c132ec3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #12 0x00007f40c13369ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #13 0x000000000082672b in MantidApplication::notify (this=0x7fffcd96de00, receiver=0x7f4040720de0,
#14 0x00007f40c0b73d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #15 0x000000000056ec1b in QCoreApplication::sendEvent (receiver=0x7f4040720de0,
#16 0x00007f40c1383c1b in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4 #17 0x00000000008496fa in MantidUI::clearAllMemory (this=0x2e49e90) at src/Mantid/MantidUI.cpp:1464