Hi Roger,

We have fixed the crash at our current hdf-java source repository.

I think you used H5Tvlen_create(H5T_C_S1) to create variable length
strings in the packet table, which may cause problems. A better way to
create variable length strings is to use H5T_C_S1 directly, e.g.
        int tid = H5Tcopy(H5T_C_S1);
        H5Tset_size(tid, H5T_VARIABLE);
 (HDFView works fine if strings are created in this way)

Thanks
--pc


On 4/6/2011 3:04 PM, Roger Martin wrote:
Hi,

Running hdf5-1.8.6 with the downloaded HDFView 2.7 binary for linux-x86_64 on CentOS 5.4 as well as the HDFView 2.7 src compiled locally. Am seeing a crash while opening a packet table. The h5 is attached as PacketTableIssue.h5 and the java crash report is also attached.

The table is /rec/Events and its properties can be viewed in HDFView 2.7. It can be read by C++ code and h5dump reads and shows the table.

The jvm pid error report says:
.........
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  ncsa.hdf.hdf5lib.H5.H5DreadVL(IIIII[Ljava/lang/Object;)I+0
j  ncsa.hdf.object.h5.H5CompoundDS.read()Ljava/lang/Object;+470
j  ncsa.hdf.object.Dataset.getData()Ljava/lang/Object;+9
j ncsa.hdf.view.DefaultTableView.createTable(Lncsa/hdf/object/CompoundDS;)Ljavax/swing/JTable;+75 j ncsa.hdf.view.DefaultTableView.<init>(Lncsa/hdf/view/ViewManager;Ljava/util/HashMap;)V+566
..........

I was beginning to drill down but thought if anyone already has it working it would be helpful.





_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to