Ticket #5964 (closed: fixed)
Crash when clicking near title on graphs
Reported by: | Nick Draper | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.3 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Wenduo Zhou |
Description
This is a tough one to reproduce, but has haunted some of our users since day one.
Ann Terry, claims she can reproduce the bug, so let's squash it.
Attachments
Change History
comment:3 Changed 8 years ago by Roman Tolchenov
Dereck has become an expert in this crash. To reproduce it:
- create a 1d plot
- make it full screen
- double-click on the spot marked by an X on the attached picture.
- if unsuccessful try again
comment:4 Changed 8 years ago by Roman Tolchenov
Access violation exception in
void ApplicationWindow::enableTextEditor(Graph *g)
comment:5 Changed 8 years ago by Roman Tolchenov
Re #5964. Clear a pointer after text editor is deleted.
Crash happens because of a dangling pointer left in ApplicationWindow after a Graph is closed with a text editor still open. The editor is open when you edit the title, the axis captions or the legend.
Changeset: 9db18b71c9e9929a856070d79f770d6709fcf962
comment:6 Changed 8 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
To test:
- open a 1d graph
- double-click the title to open a text editor
- close the graph with the editor active
- open another graph
- click on the title (or anywhere on the graph)
comment:7 Changed 8 years ago by Wenduo Zhou
- Status changed from verify to verifying
- Tester set to Wenduo Zhou
comment:9 Changed 8 years ago by Roman Tolchenov
Re #5964. Clear a pointer after text editor is deleted.
Crash happens because of a dangling pointer left in ApplicationWindow after a Graph is closed with a text editor still open. The editor is open when you edit the title, the axis captions or the legend.
Changeset: 9db18b71c9e9929a856070d79f770d6709fcf962
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6810