Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5repack pointer being freed was not allocated #73

Closed
BinDong314 opened this issue Jul 26, 2021 · 1 comment
Closed

h5repack pointer being freed was not allocated #73

BinDong314 opened this issue Jul 26, 2021 · 1 comment

Comments

@BinDong314
Copy link

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

  • thread SZ 1.4.6-beta #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff203c1462 libsystem_kernel.dylib__pthread_kill + 10 libsystem_kernel.dylib__pthread_kill:
    -> 0x7fff203c1462 <+10>: jae 0x7fff203c146c ; <+20>
    0x7fff203c1464 <+12>: movq %rax, %rdi
    0x7fff203c1467 <+15>: jmp 0x7fff203bb6a1 ; cerror_nocancel
    0x7fff203c146c <+20>: retq
    Target 0: (h5repack) stopped.
    (lldb) bt
  • thread SZ 1.4.6-beta #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
@disheng222
Copy link
Collaborator

disheng222 commented Jul 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants