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

Malloc error: pointer being freed was not allocated #6

Closed
cant-access-rediska0123 opened this issue Mar 20, 2023 · 2 comments
Closed

Comments

@cant-access-rediska0123

Hi!

I tried to run this tool on Mac OS (Monterey) and have problems running provided test examples.

I had some problems with conda on my computer, so I compiled it myself.

Running make resulted in clang: error: unsupported option '-static-libgcc'. After I deleted this flag from Makefile it compiled. When I tried to test it using your instructions, I got this error:

> ./colord compress-ont ./../test/M.bovis.fastq ont.default 
colord(28784,0x1064c6600) malloc: *** error for object 0xb43ac010120: pointer being freed was not allocated
colord(28784,0x1064c6600) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort      ./colord compress-ont ./../test/M.bovis.fastq ont.default

I have the same problem for all other test examples.

Is there anything you can suggest? Thanks in advance

@marekkokot
Copy link
Collaborator

Hi,

thanks for reporting this!
I think I have fixed that. Could you please try again?
Use git clone --recurse-submodules https://github.com/refresh-bio/colord to get a fresh clone.
I would really appreciate the feedback.

@cant-access-rediska0123
Copy link
Author

This helped, now the examples work fine. Thanks!

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