Ticket #4343 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

MantidPlot Python: segfault for quick typists

Reported by: Janik Zikovsky Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.0
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

  1. Start MantidPlot
  2. Open Python Window
  3. Load/write a script with a lot of lines. Make the first line slow e.g. a Load() call.
  4. Start the script.
  5. While the script is running, delete the lines at the end
  6. Segfault when the little script interpreter arrow tries to reach a now-nonexistent line.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to assigned
  • Owner changed from Janik Zikovsky to Anyone

comment:2 Changed 9 years ago by Janik Zikovsky

  • Priority changed from major to blocker

comment:3 Changed 9 years ago by Martyn Gigg

  • Status changed from assigned to accepted
  • Owner changed from Anyone to Martyn Gigg

comment:4 Changed 9 years ago by Martyn Gigg

Refs #4343. Fix crash with script marker and missing lines.

The marker is deleted if the lines no longer exist after the script is executed.

Changeset: 4ace94ae69bb94660fdbb29d0c9a4e1080a8fccb

comment:5 Changed 9 years ago by Martyn Gigg

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

comment:6 Changed 9 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:7 Changed 9 years ago by Nick Draper

  • Status changed from verifying to closed

testing with LET4181 (large event file) and multiple rebin commands, removing 4 of them during execution. Testing using dev version locally built as checkin is too new to make it into the nightly build yet.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5190

Note: See TracTickets for help on using tickets.