Ticket #1379 (closed: fixed)
MantidPlot crash from "plot spectrum..." right click menu
Reported by: | Peter Peterson | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: | Janik Zikovsky |
Description
This was observed on ubuntu, but I'm suspicious it is universal. LoadRaw Test/Data/Full point detector CRISP dataset/csp79590.raw with Monitors Include. In the workspace list right click on the workspace group csp79590 and plot spectrum... and just click ok to have it crash with an error:
MantidPlot: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = const Mantid::API::MatrixWorkspace]: Assertion `px != 0' failed. Aborted
Change History
Note: See
TracTickets for help on using
tickets.
Don't have a fix yet, but I know what the problem is.....
We recently changed the workspace display widget (MantidDock class) to only populating the tree when an item is expanded. Hence the bad news if you try to plot without expanding the members of the group (you'll see things are fine if you do).
This is probably easy to fix - I'll take a look tomorrow.