[hdf-forum] fortran problem with "h5ltget_dataset_info_f"
Pedro Vicente
pvn at hdfgroup.org
Tue Mar 31 14:55:10 EDT 2009
At 12:38 PM 3/31/2009, cyril giraudon wrote:
>Pedro,
>
>I thank you for the link, I will try very soon.
>However, I'm afraid there is another problem with the function
>"h5ltget_attribute_info_f " (in 1.8.2)
>I receive the same type of error message (see below).
>
>
>Regards,
>
>Cyril.
>
yes, we also noticed issues with that function (and h5ltread_dataset_string_f ).
At this moment we are still figuring out what's the problem, something related to memory corruption. The problem only shows up with the fortran g95 compiler, with the Intel fortran compiler the problem is not shown.
also, it seems that the automatic snapshot I mentioned earlier is not being generated, we are looking at that too
Pedro
>"""
>*** glibc detected *** /yyyy/read-attribute: malloc(): memory corruption
>(fast): 0x08074538 ***
>======= Backtrace: =========
>/lib/i686/libc.so.6[0xb794ad3d]
>/lib/i686/libc.so.6(malloc+0x85)[0xb794bcf5]
>/xxxxx/macrocompat_local/lib/libhdf5.so.6[0xb7c307cb]
>/yyyy/read-attribute[0x8048d02]
>/yyyy/read-attribute[0x8048d47]
>/lib/i686/libc.so.6(__libc_start_main+0xdc)[0xb78fa75c]
>/yyyy/read-attribute[0x8048a91]
>======= Memory map: ========
>08048000-08049000 r-xp 00000000 08:06 13554556 /yyyy/read-attribute
>08049000-0804a000 rwxp 00001000 08:06 13554556 /yyyy/read-attribute
>0804a000-0808c000 rwxp 0804a000 00:00 0 [heap]
>b7700000-b7721000 rwxp b7700000 00:00 0
>b7721000-b7800000 ---p b7721000 00:00 0
>b788f000-b78d2000 rwxp b788f000 00:00 0
>b78d2000-b78e4000 r-xp 00000000 08:01 939064 /lib/libz.so.1.2.3
>b78e4000-b78e5000 rwxp 00011000 08:01 939064 /lib/libz.so.1.2.3
>b78e5000-b7a0c000 r-xp 00000000 08:01 939458 /lib/i686/libc-2.4.so
>b7a0c000-b7a0d000 r-xp 00126000 08:01 939458 /lib/i686/libc-2.4.so
>b7a0d000-b7a0f000 rwxp 00127000 08:01 939458 /lib/i686/libc-2.4.so
>b7a0f000-b7a12000 rwxp b7a0f000 00:00 0
>b7a12000-b7a1c000 r-xp 00000000 08:01 951749 /lib/libgcc_s-4.1.1.so.1
>b7a1c000-b7a1d000 rwxp 0000a000 08:01 951749 /lib/libgcc_s-4.1.1.so.1
>b7a1d000-b7a40000 r-xp 00000000 08:01 939015 /lib/i686/libm-2.4.so
>b7a40000-b7a42000 rwxp 00023000 08:01 939015 /lib/i686/libm-2.4.so
>b7a42000-b7aba000 r-xp 00000000 08:01 194225
>/usr/lib/libgfortran.so.1.0.0
>b7aba000-b7abb000 rwxp 00078000 08:01 194225
>/usr/lib/libgfortran.so.1.0.0
>b7ad7000-b7af5000 r-xp 00000000 08:06 8462747
>/xxxxx/macrocompat_local/lib/libhdf5_hl.so.0.0.0
>b7af5000-b7af6000 rwxp 0001e000 08:06 8462747
>/xxxxx/macrocompat_local/lib/libhdf5_hl.so.0.0.0
>b7af6000-b7b08000 rwxp b7af6000 00:00 0
>b7b08000-b7b14000 r-xp 00000000 08:06 8462757
>/xxxxx/macrocompat_local/lib/libhdf5hl_fortran.so.0.0.0
>b7b14000-b7b15000 rwxp 0000c000 08:06 8462757
>/xxxxx/macrocompat_local/lib/libhdf5hl_fortran.so.0.0.0
>b7b15000-b7f4e000 r-xp 00000000 08:06 8462732
>/xxxxx/macrocompat_local/lib/libhdf5.so.6.0.1
>b7f4e000-b7f53000 rwxp 00439000 08:06 8462732
>/xxxxx/macrocompat_local/lib/libhdf5.so.6.0.1
>b7f53000-b7f54000 rwxp b7f53000 00:00 0
>b7f54000-b7f86000 r-xp 00000000 08:06 8462742
>/xxxxx/macrocompat_local/lib/libhdf5_fortran.so.0.0.0
>b7f86000-b7f88000 rwxp 00031000 08:06 8462742
>/xxxxx/macrocompat_local/lib/libhdf5_fortran.so.0.0.0
>b7f88000-b7f89000 rwxp b7f88000 00:00 0
>b7f89000-b7fa1000 r-xp 00000000 08:01 939023 /lib/ld-2.4.so
>b7fa1000-b7fa2000 r-xp 00017000 08:01 939023 /lib/ld-2.4.so
>b7fa2000-b7fa3000 rwxp 00018000 08:01 939023 /lib/ld-2.4.so
>bf9e3000-bf9f9000 rw-p bf9e3000 00:00 0 [stack]
>bfffe000-bffff000 r-xp bfffe000 00:00 0
>
>"""
>
>
>
>----------------------------------------------------------------------
>This mailing list is for HDF software users discussion.
>To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
>To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
--------------------------------------------------------------
Pedro Vicente (T) 217.265-0311
pvn at hdfgroup.org
The HDF Group. 1901 S. First. Champaign, IL 61820
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
More information about the Hdf-forum
mailing list