Re: HDF5 crash on macOS [message #70090] |
Fri, 12 March 2010 06:36 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
MC writes:
> While the HDF5 file was produced by a very recent version of the HDF
> library with SciPy, I really don't think something as simple as
> getting a handle (H5F_OPEN) to the data should ever cause such a
> catastrophic crash (but then again I'm an 'old school' programmer)...
> Has anyone else been able to open recent HDF5 in IDL 7 or do I need to
> pay for a new license to fix this bug (or even abandon IDL and learn
> Python and its extensions)?
There may well be good reasons to learn Python and its
extensions, but this probably isn't one of them. It is
a tough, thankless task to incorporate someone else's
buggy, poorly documented code into your own. The fact
that ITTVIS has attempted it at all is testament to
their commitment to their customer's needs. These
are just the usual growing pains of working on the edge
of new software development. I'm not saying they don't
make mistakes. I'm just saying that in this case, I would
be willing to cut them a LOT of slack. No one in their
right mind would be willing to make old versions of their
software compatible with future changes of a library
they don't control.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: HDF5 crash on macOS [message #70091 is a reply to message #70090] |
Fri, 12 March 2010 05:56  |
MC
Messages: 50 Registered: September 1996
|
Member |
|
|
On Mar 12, 11:44 am, Carsten Lechte <c...@toppoint.de> wrote:
> MC wrote:
>> When I query the file (H5F_IS_HDF5(fname)) all is OK but the moment I
>> try to get a handle ( file_id = H5F_OPEN(fname) ) IDL generates a
>> fatal error and dies completely (needing me to kill it).
>
> I remember having a similar problem with IDL 6.4. There are two API versions
> for HDF5: 1.6.x and 1.8.x. The help file for IDL 6.4 states that it uses HDF5
> library version 1.6.3.
>
> IDL simply crashed when trying to read a file written by version 1.8.x of the
> HDF5 library (the file was generated by a C program in my case). Maybe this is
> a worthwhile line of inquiry for you.
>
While the HDF5 file was produced by a very recent version of the HDF
library with SciPy, I really don't think something as simple as
getting a handle (H5F_OPEN) to the data should ever cause such a
catastrophic crash (but then again I'm an 'old school' programmer)...
Has anyone else been able to open recent HDF5 in IDL 7 or do I need to
pay for a new license to fix this bug (or even abandon IDL and learn
Python and its extensions)?
Cheers
|
|
|
Re: HDF5 crash on macOS [message #70099 is a reply to message #70091] |
Thu, 11 March 2010 14:44  |
Carsten Lechte
Messages: 124 Registered: August 2006
|
Senior Member |
|
|
MC wrote:
> When I query the file (H5F_IS_HDF5(fname)) all is OK but the moment I
> try to get a handle ( file_id = H5F_OPEN(fname) ) IDL generates a
> fatal error and dies completely (needing me to kill it).
I remember having a similar problem with IDL 6.4. There are two API versions
for HDF5: 1.6.x and 1.8.x. The help file for IDL 6.4 states that it uses HDF5
library version 1.6.3.
IDL simply crashed when trying to read a file written by version 1.8.x of the
HDF5 library (the file was generated by a C program in my case). Maybe this is
a worthwhile line of inquiry for you.
chl
|
|
|