Ticket #3734 (assigned)
Calling the "insertCurve" Python function more than once on a graph causes a crash when closing the graphs.
Reported by: | Peter Parker | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
To reproduce the error:
- Load some data (for example "focussed.nxs" in Test/AutoTestData.
- Run the following:
plotBin('focussed',[0,1],True) g = plotBin('focussed',0,True) g.insertCurve(plotBin('focussed',1,True),0) g.insertCurve(plotBin('focussed',2,True),0)
- Close down the graphs. Depending on the order in which you close the graphs down, Mantid will crash. I have not tested all combinations but closing down the graph with the most curves on it first seems to cause the error. Other combinations cause an error too.
Error reported by Windows 7:
Files that help describe the problem: C:\Users\stv04463\AppData\Local\Temp\WER44BF.tmp.WERInternalMetadata.xml C:\Users\stv04463\AppData\Local\Temp\WER5083.tmp.appcompat.txt C:\Users\stv04463\AppData\Local\Temp\WER50B3.tmp.hdmp
Change History
comment:1 Changed 9 years ago by Nick Draper
- Owner set to Roman Tolchenov
- Status changed from new to assigned
comment:2 Changed 9 years ago by Roman Tolchenov
- Milestone changed from Iteration 30 to Iteration 31
The curves added with insertCurve(...) are being deleted twice, since the crash. I couldn't find a quick fix. Possible solution: record the ownership of curves.
comment:3 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 32 to Iteration 33
Moved to iteration 33 at iteration 32 code freeze
comment:4 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.1 to Release 2.2
Moved at end of release 2.1
comment:5 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.2 to Release 2.3
Moved at the end of release 2.2
comment:6 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.3 to Release 2.4
Moved to milestone 2.4
comment:7 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.4 to Release 2.5
Moved at the code freeze for release 2.4
comment:11 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to backlog at the code freeze for R2.6
comment:12 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
Bulk move to assigned at the introduction of the triage step
comment:13 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 4581
Note: See
TracTickets for help on using
tickets.
Take a look at this and see if there is a quick solution, otherwise move to the next iteration