mantidproject / mslice

Source code for Mantid MSlice
http://mantidproject.github.io/mslice
1 stars 1 forks source link

mslice plot options causes mantid hard crash when using waterfall and log scale #777

Closed MialLewis closed 1 year ago

MialLewis commented 2 years ago

Describe the bug When using waterfall and log scale, opening plot options can cause mantid to hard crash

To Reproduce Steps to reproduce the behavior:

  1. From mantid nightly open mslice (also in mslice standalone)
  2. Load data MAR21335_Ei60meV.nxs used
  3. On cut tab, type from 0 to 10 in along |Q| and -5 to 5 in over DeltaE
  4. Click plot over (the more lines overplotted, seems to induce crash faster)
  5. Click Waterfall on the cut plot toolbar
  6. Right click y axis, set to logarithmic
  7. Click settings until it opens (usually crashes on first click).

Exits with code 0xC0000005 (access violation).

Expected behavior No crash.

Mantid nightly 6.3.20220601.1641

MialLewis commented 2 years ago

It looks like this hard crash has been inadvertently fixed by #778. It can not currently be reproduced on release-next in the same way.

It is not completely clear why this PR fixes the bug due to the following inconsistencies:

We will keep an eye on this one going forward, and in the next mantid nightly with an updated mslice SHA.

MialLewis commented 1 year ago

I think this can close now, as we have not seen this since?