Ticket #5638 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Segmentation fault in Integration

Reported by: Andrei Savici Owned by: Andrei Savici
Priority: blocker Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: #2483 Tester: Martyn Gigg

Description

If one tries to do Integration when the upper limit and the lower limit are within the same bin, one gets a segmentation fault. I tried this on an event workspace (CNCS from autotest), with limits 45000 to 48000. The same result happens if you use a histogram workspace.

Suggested outcome of integration if within the same bin:

  1. For events use rebin
  2. For histograms either return 0, or intensity/fractional bin width

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Priority changed from critical to blocker
  • Owner changed from Nick Draper to Andrei Savici
  • Status changed from new to assigned

The answer for histograms is 2. Intensity / fraction bin width, this is what rebin would do.

comment:2 Changed 8 years ago by Andrei Savici

  • Status changed from assigned to accepted

comment:3 Changed 8 years ago by Andrei Savici

Fix seg fault in integration. Refs #5638

Changeset: 2fe8708797d5024f5b491a3a6dc2349400e6442e

comment:4 Changed 8 years ago by Andrei Savici

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

comment:5 Changed 8 years ago by Andrei Savici

Segmentation fault problem is fixed. However, the error in partial bins is different from the rebin result.This will be solved in #5662

comment:6 Changed 8 years ago by Andrei Savici

Fix seg fault in integration. Refs #5638

Changeset: 2fe8708797d5024f5b491a3a6dc2349400e6442e

comment:7 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:8 Changed 8 years ago by Martyn Gigg

  • Status changed from verifying to closed

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6484

Note: See TracTickets for help on using tickets.