h5ls cores

Greetings,

I cannot reach a group within my hdf. I tried h5ls and it cores. The file is rather big, so I cannot attach it. Below is the log from gdb. It provides some info re program arguments and a version.
The only "unusual" thing about this group is that it contains a vector attribute with nan's, but I believe it shouldn't be an issue.
Please advise.

Thanks,

Slava Mazur

gdb h5ls /appdata/cores/core.h5ls.nj1dqtslab01.1365537655.11.9898
GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Reading symbols from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7...(no debugging symbols found)...done.
Loaded symbols for /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
Reading symbols from /data/home/smazur/szip/szip-2.1/szip/lib/libsz.so.2...(no debugging symbols found)...done.
Loaded symbols for /home/smazur/szip/szip-2.1/szip/lib/libsz.so.2
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.5.so.debug...done.
done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.5.so.debug...done.
done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.5.so.debug...done.
done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.5.so.debug...done.
done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.5.so.debug...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2

Core was generated by `h5ls -v /data/h5data/20130405.h5/20130405/IVN_RWI/voltcurve'.
Program terminated with signal 11, Segmentation fault.
[New process 9898]
#0 0x00002ac0e179317c in H5S_close ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
(gdb) bt
#0 0x00002ac0e179317c in H5S_close ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#1 0x00002ac0e1667be9 in H5A_free ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#2 0x00002ac0e174dfa0 in H5O_attr_shared_decode ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#3 0x00002ac0e1767f2a in H5O_msg_iterate_real ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#4 0x00002ac0e1676b0d in H5A_compact_build_table ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#5 0x00002ac0e174ff78 in H5O_attr_iterate_real ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#6 0x00002ac0e1750327 in H5O_attr_iterate ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7
#7 0x00002ac0e166a5b2 in H5Aiterate2 ()
   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so---Type <return> to continue, or q <return> to quit---
.7
#8 0x0000000000405f02 in list_obj ()
#9 0x000000000040628a in visit_obj ()
#10 0x0000000000409f5e in main ()

Hi Slava,

Thank you for reporting the problem.

We need the file to reproduce the problem.

Could you run h5ls file_name/object_path to identify which object
(group or dataset) crashes? If you identify the object, could copy
the object to a separate file (use h5copy) and send it to us?

or you can put the file somewhere for us to download it?

Thanks
--pc

···

On 4/9/2013 3:20 PM, Slava Mazur wrote:

Greetings,

I cannot reach a group within my hdf. I tried h5ls and it cores. The file is rather big, so I cannot attach it. Below is the log from gdb. It provides some info re program arguments and a version.

The only "unusual" thing about this group is that it contains a vector attribute with nan's, but I believe it shouldn't be an issue.

Please advise.

Thanks,

Slava Mazur

gdb h5ls /appdata/cores/core.h5ls.nj1dqtslab01.1365537655.11.9898

GNU gdb Fedora (6.8-37.el5)

Copyright (C) 2008 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-redhat-linux-gnu"...

(no debugging symbols found)

Reading symbols from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7...(no debugging symbols found)...done.

Loaded symbols for /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

Reading symbols from /data/home/smazur/szip/szip-2.1/szip/lib/libsz.so.2...(no debugging symbols found)...done.

Loaded symbols for /home/smazur/szip/szip-2.1/szip/lib/libsz.so.2

Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.5.so.debug...done.

done.

Loaded symbols for /lib64/librt.so.1

Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.5.so.debug...done.

done.

Loaded symbols for /lib64/libm.so.6

Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.5.so.debug...done.

done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.5.so.debug...done.

done.

Loaded symbols for /lib64/libpthread.so.0

Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.5.so.debug...done.

done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

Core was generated by `h5ls -v /data/h5data/20130405.h5/20130405/IVN_RWI/voltcurve'.

Program terminated with signal 11, Segmentation fault.

[New process 9898]

#0 0x00002ac0e179317c in H5S_close ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

(gdb) bt

#0 0x00002ac0e179317c in H5S_close ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#1 0x00002ac0e1667be9 in H5A_free ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#2 0x00002ac0e174dfa0 in H5O_attr_shared_decode ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#3 0x00002ac0e1767f2a in H5O_msg_iterate_real ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#4 0x00002ac0e1676b0d in H5A_compact_build_table ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#5 0x00002ac0e174ff78 in H5O_attr_iterate_real ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#6 0x00002ac0e1750327 in H5O_attr_iterate ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so.7

#7 0x00002ac0e166a5b2 in H5Aiterate2 ()

   from /appdata/packages/shareware/hdf5/hdf5-1.8.10-patch1/lib.share/libhdf5.so---Type <return> to continue, or q <return> to quit---

.7

#8 0x0000000000405f02 in list_obj ()

#9 0x000000000040628a in visit_obj ()

#10 0x0000000000409f5e in main ()

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