EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with HDF5 plugin for areaDetector
From: Mark Rivers <[email protected]>
To: "Wilkins, Stuart" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 4 Mar 2015 23:31:46 +0000
Hi Stuart,

I just loaded and built ADCore 2.0.

I ran the simDetector with UInt8 data, RGB1 color mode, 1024x1024 frame size, which seemed like what you were using.  It worked fine.

However, I just looked more closely at your output:

2015/03/04 17:16:23.570 NDFileHDF5::createXMLFileLayout Default dataset name: /entry/instrument/detector/data
2015/03/04 17:16:23.570 NDFileHDF5::createAttributeDataset Creating attribute datasets. extradims=0 attribute count=1
2015/03/04 17:16:23.570 NDFileHDF5::writeFile getting attribute list
2015/03/04 17:16:23.570 NDFileHDF5::writeFile copying attribute list
2015/03/04 17:16:23.570 NDFileHDF5::writeFile: set_extent dims={1024,1024,3}

This output tells me that you are not actually running ADCore 2.0.  
2015/03/04 17:16:23.570 NDFileHDF5::createXMLFileLayout Default dataset name: /entry/instrument/detector/data

The createXMLFileLayout method was not present in ACCore 2.0, so you must be running a more recent version.

Can you tell me what version you are running?

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Wilkins, Stuart [[email protected]]
Sent: Wednesday, March 04, 2015 4:21 PM
To: [email protected]
Subject: Problem with HDF5 plugin for areaDetector

Hi,

I am having problems with the simdetector in Areadetector 2.0. I am running the HDF5 plugin and on trying to write a frame to disk, it segfaults. I have tried to start from a fresh state by taking away the save/restore files but nothing seems to fix it. Turning on traceback gives the errors below. Has anyone had this problem?

Thanks,
Stuart

2015/03/04 17:16:23.543 XF:23ID1-ES{Tst-Cam:1}HDF1:PoolFreeBuffers devAsynInt32 process value=0
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:ArrayCounter_RBV devAsynInt32::interruptCallbackInput new value=1
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:UniqueId_RBV devAsynInt32::interruptCallbackInput new value=4
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:TimeStamp_RBV devAsynFloat64::interruptCallbackInput new value=794355383.558608
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:EpicsTSSec_RBV devAsynInt32::interruptCallbackInput new value=794355383
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:EpicsTSNsec_RBV devAsynInt32::interruptCallbackInput new value=565638532
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:WriteStatus devAsynInt32::interruptCallbackInput new value=0
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:ArrayCounter_RBV devAsynInt32::getCallbackValue from ringBuffer value=1
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:UniqueId_RBV devAsynInt32::getCallbackValue from ringBuffer value=4
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:WriteFile devAsynBusy::interruptCallback new value=1
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:TimeStamp_RBV devAsynFloat64::getCallbackValue from ringBuffer value=794355383.558608
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:EpicsTSSec_RBV devAsynInt32::getCallbackValue from ringBuffer value=794355383
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:EpicsTSNsec_RBV devAsynInt32::getCallbackValue from ringBuffer value=565638532
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:WriteStatus devAsynInt32::getCallbackValue from ringBuffer value=0
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:WriteFile_RBV devAsynInt32::interruptCallbackInput new value=1
2015/03/04 17:16:23.566 XF:23ID1-ES{Tst-Cam:1}HDF1:WriteFile_RBV devAsynInt32::getCallbackValue from ringBuffer value=1
2015/03/04 17:16:23.566 NDFileHDF5::openFile Filename: /GPFS/xf23id/xf23id1/ccdtestdata/2015/3/4/4848c262-131d-49bb-b76a-db72c2ede134_000000.h5
2015/03/04 17:16:23.567 NDFileHDF5::openFile attribute list copied. num pArray attributes = 1 local copy = 1
2015/03/04 17:16:23.567 NDFileHDF5::configureDims  NDArray:   {     3, 1024, 1024, }
2015/03/04 17:16:23.567 NDFileHDF5::configureDims dimension report:
 framesize   1024,  1024,     3,
 chunkdims   1024,  1024,     3,
   maxdims   1024,  1024,     3,
      dims   1024,  1024,     3,
    offset      0,     0,     0,
   virtual      0,
2015/03/04 17:16:23.567 NDFileHDF5::createNewFile Setting istorek=1
2015/03/04 17:16:23.568 NDFileHDF5::createFileLayout Creating dataspace with given dimensions
2015/03/04 17:16:23.568 NDFileHDF5::createFileLayout Configuring chunking
2015/03/04 17:16:23.568 NDFileHDF5::createFileLayout Setting fillvalue
2015/03/04 17:16:23.568 NDFileHDF5::createFileLayout Empty layout file, use default layout
2015/03/04 17:16:23.569 NDFileHDF5::createXMLFileLayout Root tree: < Group: '' groups=1 dsets=0 attr=0>
                                  < Group: '/entry' groups=2 dsets=0 attr=1>
                                  < Group: '/entry/data' groups=0 dsets=0 attr=1>
                                  < Group: '/entry/instrument' groups=3 dsets=0 attr=1>
                                    < Group: '/entry/instrument/NDAttributes' groups=0 dsets=0 attr=1>
                                    < Group: '/entry/instrument/detector' groups=1 dsets=1 attr=1>
                                      < Group: '/entry/instrument/detector/NDAttributes' groups=0 dsets=1 attr=1>
                                    < Group: '/entry/instrument/performance' groups=0 dsets=1 attr=0>
2015/03/04 17:16:23.569 NDFileHDF5::writeH5attrStr name=NX_class value=NXentry
2015/03/04 17:16:23.569 NDFileHDF5::writeH5attrStr name=NX_class value=NXdata
2015/03/04 17:16:23.569 NDFileHDF5::writeH5attrStr name=NX_class value=NXinstrument
2015/03/04 17:16:23.569 NDFileHDF5::writeH5attrStr name=NX_class value=NXcollection
2015/03/04 17:16:23.569 NDFileHDF5::writeH5attrStr name=NX_class value=NXdetector
2015/03/04 17:16:23.569 NDFileHDF5::createDatasetDetector Setting cache size=3145728 slots=0
2015/03/04 17:16:23.569 NDFileHDF5::createDatasetDetector Creating first empty dataset called "data"
2015/03/04 17:16:23.570 NDFileHDF5::writeH5attrStr name=NX_class value=SDS
2015/03/04 17:16:23.570 NDFileHDF5::writeH5attrInt32 name=signal value=1
2015/03/04 17:16:23.570 NDFileHDF5::writeH5attrStr name=NX_class value=NXcollection
2015/03/04 17:16:23.570 NDFileHDF5::createXMLFileLayout Default dataset name: /entry/instrument/detector/data
2015/03/04 17:16:23.570 NDFileHDF5::createAttributeDataset Creating attribute datasets. extradims=0 attribute count=1
2015/03/04 17:16:23.570 NDFileHDF5::writeFile getting attribute list
2015/03/04 17:16:23.570 NDFileHDF5::writeFile copying attribute list
2015/03/04 17:16:23.570 NDFileHDF5::writeFile: set_extent dims={1024,1024,3}
HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 139838595618560:
  #000: ../../../src/H5Dio.c line 245 in H5Dwrite(): file selection+offset not within extent
    major: Dataspace
    minor: Out of range
Segmentation fault




References:
Problem with HDF5 plugin for areaDetector Wilkins, Stuart

Navigate by Date:
Prev: Re: Problem with HDF5 plugin for areaDetector Wilkins, Stuart
Next: Re: error on the IOC shell for asyn driver Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problem with HDF5 plugin for areaDetector Mark Rivers
Next: acalcout subarray indices jon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·