octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48375] HDF5 is broken


From: anonymous
Subject: [Octave-bug-tracker] [bug #48375] HDF5 is broken
Date: Sat, 2 Jul 2016 11:11:59 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

URL:
  <http://savannah.gnu.org/bugs/?48375>

                 Summary: HDF5 is broken
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 02 Jul 2016 11:11:56 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Claude Lacoursiere
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

It appears that the new definition of  octave_hdf5_id is wrong since loading
any file results in

warning: the size of octave_hdf5_id is smaller than the size of HDF5 hid_t

This is followed by segfault upon exit.



The problem appears to be in oct-hdf5-id.h  where
 
typedef int octave_hdf5_id;

this is then compared in length with hid_t    which is a 64 bit signed
integers.  

Attached is a patch file to redefine octave_hdf5_id  which is working for me,
as well as a small hdf5 file containing one array illustrating the problem.  





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 02 Jul 2016 11:11:56 AM UTC  Name: mm.h5.gz  Size: 1kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=37664>
-------------------------------------------------------
Date: Sat 02 Jul 2016 11:11:56 AM UTC  Name: octave-hdf5type.patch  Size: 496B
  By: None

<http://savannah.gnu.org/bugs/download.php?file_id=37665>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48375>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]