Ticket #3001 (closed: worksforme)
StripVanadiumPeaks error
Reported by: | Vickie Lynch | Owned by: | Vickie Lynch |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | petersonpf@… | Blocked By: | |
Blocking: | Tester: | Michael Reuter |
Description
StripVanadiumPeaks works in our python algorithms if the binning is done in dSpacing, but not if binned in TOF and then converted to dSpacing. I just tested with the latest release on powgen.sns.gov and it worked with TOF binning so something has changed since the release. You can see the two calls below in my test:
Rebin-[Information] Algorithm: Rebin v1 Rebin-[Information] Parameters: Rebin-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input Rebin-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output Rebin-[Information] Name: Params, Value: 0.1,-0.004,10, Default?: No, Direction: Input Rebin-[Information] Name: PreserveEvents, Value: 1, Default?: Yes, Direction: Input Rebin-[Notice] Rebin successful, Duration 0.02 seconds ConvertToMatrixWorkspace-[Information] Algorithm: ConvertToMatrixWorkspace v1 ConvertToMatrixWorkspace-[Information] Parameters: ConvertToMatrixWorkspace-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input ConvertToMatrixWorkspace-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output ConvertToMatrixWorkspace-[Information] Converting EventWorkspace to Workspace2D. ConvertToMatrixWorkspace-[Notice] ConvertToMatrixWorkspace successful, Duration 0.38 seconds StripVanadiumPeaks-[Information] Algorithm: StripVanadiumPeaks v1 StripVanadiumPeaks-[Information] Parameters: StripVanadiumPeaks-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input StripVanadiumPeaks-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output StripVanadiumPeaks-[Information] Name: PeakWidthPercent, Value: 5, Default?: No, Direction: Input StripVanadiumPeaks-[Information] Name: AlternativePeakPositions, Value: , Default?: Yes, Direction: Input StripVanadiumPeaks-[Information] Name: WorkspaceIndex, Value: 2147483647, Default?: Yes, Direction: Input StripVanadiumPeaks-[Notice] StripVanadiumPeaks successful, Duration 0.00 seconds ConvertUnits-[Information] Algorithm: ConvertUnits v1 ConvertUnits-[Information] Parameters: ConvertUnits-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input ConvertUnits-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output ConvertUnits-[Information] Name: Target, Value: TOF, Default?: No, Direction: Input ConvertUnits-[Information] Name: EMode, Value: Elastic, Default?: Yes, Direction: Input ConvertUnits-[Information] Name: EFixed, Value: 8.9884656743115785e+307, Default?: Yes, Direction: Input ConvertUnits-[Information] Name: AlignBins, Value: 0, Default?: Yes, Direction: Input ConvertUnits-[Notice] ConvertUnits successful, Duration 3.93 seconds Rebin-[Information] Algorithm: Rebin v1 Rebin-[Information] Parameters: Rebin-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input Rebin-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output Rebin-[Information] Name: Params, Value: 1000,-0.004,16666, Default?: No, Direction: Input Rebin-[Information] Name: PreserveEvents, Value: 1, Default?: Yes, Direction: Input Rebin-[Notice] Rebin successful, Duration 0.04 seconds ConvertUnits-[Information] Algorithm: ConvertUnits v1 ConvertUnits-[Information] Parameters: ConvertUnits-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input ConvertUnits-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output ConvertUnits-[Information] Name: Target, Value: dSpacing, Default?: No, Direction: Input ConvertUnits-[Information] Name: EMode, Value: Elastic, Default?: Yes, Direction: Input ConvertUnits-[Information] Name: EFixed, Value: 8.9884656743115785e+307, Default?: Yes, Direction: Input ConvertUnits-[Information] Name: AlignBins, Value: 0, Default?: Yes, Direction: Input ConvertUnits-[Notice] ConvertUnits successful, Duration 3.93 seconds StripVanadiumPeaks-[Information] Algorithm: StripVanadiumPeaks v1 StripVanadiumPeaks-[Information] Parameters: StripVanadiumPeaks-[Information] Name: InputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Input StripVanadiumPeaks-[Information] Name: OutputWorkspace, Value: TOPAZ_2503, Default?: No, Direction: Output StripVanadiumPeaks-[Information] Name: PeakWidthPercent, Value: 5, Default?: No, Direction: Input StripVanadiumPeaks-[Information] Name: AlternativePeakPositions, Value: , Default?: Yes, Direction: Input StripVanadiumPeaks-[Information] Name: WorkspaceIndex, Value: 2147483647, Default?: Yes, Direction: Input * glibc detected * ./MantidPlot: double free or corruption (!prev): 0x00007f844058b770 * ======= Backtrace: ========= /lib/libc.so.6(+0x775b6)[0x7f84d39705b6] /lib/libc.so.6(cfree+0x73)[0x7f84d3976e83] /home/vel/Mantid/Code/Mantid/release/binlibMantidAlgorithms.so(_ZN6Mantid10Algorithms18StripVanadiumPeaks4execEv+0xd88)[0x7f84bc147568] /home/vel/Mantid/Code/Mantid/release/bin/libMantidAPI.so(_ZN6Mantid3API9Algorithm7executeEv+0x73b)[0x7f84ddd98d5b] /home/vel/Mantid/Code/Mantid/release/bin/libMantidAPI.so(_ZN6Mantid3API9Algorithm16executeAsyncImplERKN4Poco4VoidE+0x14)[0x7f84ddd92434] /home/vel/Mantid/Code/Mantid/release/bin/libMantidAPI.so(_ZN6Mantid3API14AlgorithmProxy16executeAsyncImplERKN4Poco4VoidE+0x27)[0x7f84dddb3d27] /home/vel/Mantid/Code/Mantid/release/bin/libMantidAPI.so(_ZN4Poco14ActiveRunnableIbNS_4VoidEN6Mantid3API14AlgorithmProxyEE3runEv+0x35)[0x7f84dddb4f55] /home/vel/lib/libPocoFoundation.so.11(_ZN4Poco12PooledThread3runEv+0x1bd)[0x7f84d515e7ed] /home/vel/lib/libPocoFoundation.so.11(_ZN4Poco10ThreadImpl13runnableEntryEPv+0xb7)[0x7f84d515a147] /lib/libpthread.so.0(+0x69ca)[0x7f84d8ac69ca] /lib/libc.so.6(clone+0x6d)[0x7f84d39df70d] ======= Memory map: ======== 00400000-00b9e000 r-xp 00000000 fc:01 3279721 /home/vel/Mantid/Code/Mantid/release/bin/MantidPlot 00d9e000-00d9f000 r--p 0079e000 fc:01 3279721 /home/vel/Mantid/Code/Mantid/release/bin/MantidPlot 00d9f000-00dca000 rw-p 0079f000 fc:01 3279721 /home/vel/Mantid/Code/Mantid/release/bin/MantidPlot 00dca000-00dcf000 rw-p 00000000 00:00 0 01af2000-0673c000 rw-p 00000000 00:00 0 [heap] 20000000-203e8000 rw-p 00000000 00:05 1252 /dev/zero 7f839471c000-7f839c71d000 rw-p 00000000 00:00 0 7f83b3fef000-7f83dbff4000 rw-p 00000000 00:00 0 7f83dfff5000-7f83f3ffa000 rw-p 00000000 00:00 0 7f83f7ffb000-7f8403ffe000 rw-p 00000000 00:00 0 7f8408000000-7f8409dde000 rw-p 00000000 00:00 0 7f8409dde000-7f840c000000 ---p 00000000 00:00 0 7f8410000000-7f8413874000 rw-p 00000000 00:00 0 7f8413874000-7f8414000000 ---p 00000000 00:00 0 7f8414000000-7f8418000000 rw-p 00000000 00:00 0 7f8418000000-7f841c000000 rw-p 00000000 00:00 0 7f841ceff000-7f8420000000 rw-p 00000000 00:00 0 7f8420000000-7f8428000000 rw-p 00000000 00:00 0 7f8428000000-7f842c000000 rw-p 00000000 00:00 0 7f842c000000-7f8430000000 rw-p 00000000 00:00 0 7f8430000000-7f8434000000 rw-p 00000000 00:00 0 7f8434eff000-7f8438000000 rw-p 00000000 00:00 0 7f8438000000-7f843c000000 rw-p 00000000 00:00 0 7f843ceff000-7f8440000000 rw-p 00000000 00:00 0 7f8440000000-7f8444000000 rw-p 00000000 00:00 0 7f8444000000-7f8448000000 rw-p 00000000 00:00 0 7f8448000000-7f844c000000 rw-p 00000000 00:00 0 7f844c000000-7f8450000000 rw-p 00000000 00:00 0 7f8450000000-7f8458000000 rw-p 00000000 00:00 0 7f8458000000-7f8460000000 rw-p 00000000 00:00 0 7f8460000000-7f8464000000 rw-p 00000000 00:00 0 7f8464000000-7f8468000000 rw-p 00000000 00:00 0 7f8468000000-7f8470000000 rw-p 00000000 00:00 0 7f8470000000-7f8474000000 rw-p 00000000 00:00 0 7f84746fe000-7f84746ff000 ---p 00000000 00:00 0 7f84746ff000-7f8478000000 rw-p 00000000 00:00 0 7f8478000000-7f847c000000 rw-p 00000000 00:00 0 7f847c000000-7f8480000000 rw-p 00000000 00:00 0 7f84807f9000-7f84807fa000 ---p 00000000 00:00 0 7f84807fa000-7f8480ffa000 rw-p 00000000 00:00 0 7f8480ffa000-7f8480ffb000 ---p 00000000 00:00 0 7f8480ffb000-7f84817fb000 rw-p 00000000 00:00 0 7f84817fb000-7f84817fc000 ---p 00000000 00:00 0 7f84817fc000-7f8481ffc000 rw-p 00000000 00:00 0 7f8481ffc000-7f8481ffd000 ---p 00000000 00:00 0 7f8481ffd000-7f84827fd000 rw-p 00000000 00:00 0 7f84827fd000-7f84827fe000 ---p 00000000 00:00 0 7f84827fe000-7f8482ffe000 rw-p 00000000 00:00 0 7f8482ffe000-7f8482fff000 ---p 00000000 00:00 0 7f8482fff000-7f84837ff000 rw-p 00000000 00:00 0 7f84837ff000-7f8483800000 ---p 00000000 00:00 0 7f8483800000-7f8484000000 rw-p 00000000 00:00 0 7f8484000000-7f848c000000 rw-p 00000000 00:00 0 7f848c000000-7f8490000000 rw-p 00000000 00:00 0 7f8490000000-7f8494000000 rw-p 00000000 00:00 0 7f8494000000-7f849c000000 rw-p 00000000 00:00 0 7f849c000000-7f84a4000000 rw-p 00000000 00:00 0 7f84a4000000-7f84a8000000 rw-p 00000000 00:00 0 7f84a8000000-7f84ac000000 rw-p 00000000 00:00 0 7f84ac000000-7f84b0000000 rw-p 00000000 00:00 0 7f84b058f000-7f84b0910000 rw-p 00000000 00:00 0 7f84b0b91000-7f84b1293000 rw-p 00000000 00:00 0 7f84b1293000-7f84b1294000 ---p 00000000 00:00 0 7f84b1294000-7f84b1a94000 rw-p 00000000 00:00 0 7f84b1a94000-7f84b1a95000 ---p 00000000 00:00 0 7f84b1a95000-7f84b2295000 rw-p 00000000 00:00 0 7f84b2494000-7f84b3297000 rw-p 00000000 00:00 0 7f84b3816000-7f84b4299000 rw-p 00000000 00:00 0 7f84b4299000-7f84b429a000 ---p 00000000 00:00 0 7f84b429a000-7f84b4a9a000 rw-p 00000000 00:00 0 7f84b4a9a000-7f84b4aaa000 r-xp 00000000 fc:01 39321644 /lib/libbz2.so.1.0.4 7f84b4aaa000-7f84b4ca9000 ---p 00010000 fc:01 39321644 /lib/libbz2.so.1.0.4 7f84b4ca9000-7f84b4caa000 r--p 0000f000 fc:01 39321644 /lib/libbz2.so.1.0.4 7f84b4caa000-7f84b4cab000 rw-p 00010000 fc:01 39321644 /lib/libbz2.so.1.0.4 7f84b4cab000-7f84b4ce1000 r-xp 00000000 fc:01 50236925 /home/vel/lib/libcroco-0.6.so.3 7f84b4ce1000-7f84b4ee0000 ---p 00036000 fc:01 50236925 /home/vel/lib/libcroco-0.6.so.3 7f84b4ee0000-7f84b4ee1000 r--p 00035000 fc:01 50236925 /home/vel/lib/libcroco-0.6.so.3 7f84b4ee1000-7f84b4ee4000 rw-p 00036000 fc:01 50236925 /home/vel/lib/libcroco-0.6.so.3 7f84b4ee4000-7f84b5335000 r--p 00000000 fc:01 36061590 /usr/share/icons/hicolor/icon-theme.cache 7f84b5335000-7f84b5a20000 r--p 00000000 fc:01 36053201 /usr/share/icons/gnome/icon-theme.cache 7f84b5a20000-7f84b5aa2000 rw-p 00000000 00:00 0 7f84b5aad000-7f84b5aee000 rw-p 00000000 00:00 0 7f84b5b7a000-7f84b5bb4000 r-xp 00000000 fc:01 50237314 /home/vel/lib/libgsf-1.so.114 7f84b5bb4000-7f84b5db3000 ---p 0003a000 fc:01 50237314 /home/vel/lib/libgsf-1.so.114 7f84b5db3000-7f84b5db6000 r--p 00039000 fc:01 50237314 /home/vel/lib/libgsf-1.so.114 7f84b5db6000-7f84b5db7000 rw-p 0003c000 fc:01 50237314 /home/vel/lib/libgsf-1.so.114 7f84b5db7000-7f84b5dfa000 rw-p 00000000 00:00 0 7f84b5f29000-7f84b5fb5000 r--p 00000000 fc:01 34997946 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 7f84b5fb5000-7f84b6015000 rw-s 00000000 00:04 34045978 /SYSV00000000 (deleted) 7f84b6015000-7f84b604a000 r-xp 00000000 fc:01 50238030 /home/vel/lib/librsvg-2.so.2 7f84b604a000-7f84b624a000 ---p 00035000 fc:01 50238030 /home/vel/lib/librsvg-2.so.2 7f84b624a000-7f84b624b000 r--p 00035000 fc:01 50238030 /home/vel/lib/librsvg-2.so.2Aborted
Attachments
Change History
comment:1 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 29 to Iteration 30
"New" tickets moved at the code freeze of iteration 29
comment:2 Changed 9 years ago by Nick Draper
- Owner set to Vickie Lynch
- Status changed from new to assigned
comment:4 Changed 9 years ago by Vickie Lynch
- Status changed from accepted to verify
- Resolution set to worksforme
I originally got this error running SNSSingleCrystalReduction using input that worked in the past. Now I no longer gets an error with this input.
comment:5 Changed 9 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter