Ticket #4470 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Segfault for dumb plotting call

Reported by: Janik Zikovsky Owned by: Russell Taylor
Priority: minor Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

Refs #2653. This segfaulted because I tried to make a pie plot with 100 000 slices:

LoadEventNexus(Filename=r'CNCS_7850_event.nxs',OutputWorkspace='cncs2')
plotBin('cncs2', 0, type=Layer.Pie)

... which is a dumb thing to try to do. :)

Change History

comment:1 Changed 9 years ago by Russell Taylor

  • Status changed from new to accepted
  • Priority changed from major to minor

I can manage up to 20,000 at least (it baulks at 50,000 though). I'll just limit pie charts to 1000 data points - can't see anyone complaining about that.

comment:2 Changed 9 years ago by Russell Taylor

Indentation fixes only. No code changed. Re #4470.

Changeset: ad82cb507a97381646ad967c7319e645df5124ae

comment:3 Changed 9 years ago by Russell Taylor

Limit pie charts to 1000 segments. Re #4470.

Changeset: a16246e0e81232dad48048083a1fc51847b8518d

comment:4 Changed 9 years ago by Russell Taylor

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

comment:5 Changed 8 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:6 Changed 8 years ago by Janik Zikovsky

  • Status changed from verifying to closed

plotBin() does not currently work (see #5181) but I remember this being fixed.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5317

Note: See TracTickets for help on using tickets.