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

'pointer being freed was not allocated' when run cargo run --release --bin kaspad #390

Closed
taokeqin opened this issue Jan 12, 2024 · 2 comments

Comments

@taokeqin
Copy link

Describe the bug
Failed to run release build.
error as bellow:
➜ rusty-kaspa git:(master) ✗ cargo run --release --bin kaspad
Finished release [optimized] target(s) in 2.24s
Running target/release/kaspad
2024-01-12 21:01:35.040+08:00 [INFO ] kaspad v0.13.3
2024-01-12 21:01:35.040+08:00 [INFO ] Application directory: /Users/xxx/.rusty-kaspa
2024-01-12 21:01:35.040+08:00 [INFO ] Data directory: /Users/xxx/.rusty-kaspa/kaspa-mainnet/datadir
2024-01-12 21:01:35.040+08:00 [INFO ] Logs directory: /Users/xx/.rusty-kaspa/kaspa-mainnet/logs
kaspad(52408,0x7ff84dc10680) malloc: *** error for object 0x50bea081040: pointer being freed was not allocated
kaspad(52408,0x7ff84dc10680) malloc: *** set a breakpoint in malloc_error_break to debug
[1] 52408 abort cargo run --release --bin kaspad

To Reproduce
Steps to reproduce the behavior:

  1. run cargo run --release --bin kaspad

Expected behavior
start release version of node successfully.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Darwin mbp.local 22.3.0 Darwin Kernel Version 22.3.0
  • Kaspad version: master at 6655478

Additional context
debug version works.

@coderofstuff
Copy link
Collaborator

@taokeqin can you try it after 63523be ?

@taokeqin
Copy link
Author

@coderofstuff Just gave d4ddaf3 a spin, and it's working perfectly. Appreciate your work!

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