szcompressor / SZ

Error-bounded Lossy Data Compressor (for floating-point/integer datasets)
http://szcompressor.org
Other
151 stars 56 forks source link

h5repack pointer being freed was not allocated #73

Closed BinDong314 closed 3 years ago

BinDong314 commented 3 years ago

Hello SZ, When to run the h5repack code and it failed with below error. Could anyone help to look it?

Thanks. Bin

h5repack(11138,0x10bd43e00) malloc: error for object 0x7f926e922030: pointer being freed was not allocated h5repack(11138,0x10bd43e00) malloc: set a breakpoint in malloc_error_break to debug ./h5repack.sh: line 12: 11138 Abort trap: 6 h5repack -f UD=32017,0 -i $inputFile -o $outputFile

When running it via lldb, it has below info.

% lldb h5repack (lldb) run -f UD=32017,0 -i testfloat_8_8_128.h5 -o testfloat_8_8_128_sz.h5 Process 11129 launched: '/Users/dbin/work/soft/hdf5-1.12.0/build/bin/h5repack' (x86_64) h5repack(11129,0x10013be00) malloc: error for object 0x101fbd030: pointer being freed was not allocated h5repack(11129,0x10013be00) malloc: set a breakpoint in malloc_error_break to debug Process 11129 stopped

disheng222 commented 3 years ago

Hi, I noted that H5Z-SZ cannot work normally with hdf5-1.12.0. I tested other filters with hdf5-1.12.0, and they all work abnormally. For other filters, the compressed data have exactly the same size as the original .h5 data file, which obviously means that the filter was not called correctly. If I use the hdf5-1.10.x version, all filters (including H5Z-SZ) work very well. Could you use hdf5-1.10.x to try it again?

Best, Sheng

On Mon, Jul 26, 2021 at 4:47 PM dbinlbl @.***> wrote:

Hello SZ, When to run the h5repack code and it failed with below error. Could anyone help to look it? Thanks. Bin

h5repack(11138,0x10bd43e00) malloc: error for object 0x7f926e922030: pointer being freed was not allocated h5repack(11138,0x10bd43e00) malloc: set a breakpoint in malloc_error_break to debug ./h5repack.sh: line 12: 11138 Abort trap: 6 h5repack -f UD=32017,0 -i $inputFile -o $outputFile When running it via lldb, it has below info.

% lldb h5repack (lldb) run -f UD=32017,0 -i testfloat_8_8_128.h5 -o testfloat_8_8_128_sz.h5 Process 11129 launched: '/Users/dbin/work/soft/hdf5-1.12.0/build/bin/h5repack' (x86_64) h5repack(11129,0x10013be00) malloc: error for object 0x101fbd030: pointer being freed was not allocated h5repack(11129,0x10013be00) malloc: set a breakpoint in malloc_error_break to debug Process 11129 stopped

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/szcompressor/SZ/issues/73, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACK3KSPWHCS533O2BYUEFRDTZXJWFANCNFSM5BA6L2YA .