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

usage of curl and memory leaks #1

Closed
leopnt opened this issue Jan 30, 2022 · 1 comment
Closed

usage of curl and memory leaks #1

leopnt opened this issue Jan 30, 2022 · 1 comment

Comments

@leopnt
Copy link
Owner

leopnt commented Jan 30, 2022

Usage of curl does a leak on each call according to

$ leaks -atExit -- ./bbcbot | grep LEAK:

Leak report without email sending

Process 14947 is not debuggable. Due to security restrictions, leaks can only show or save contents of readonly memory of restricted processes.

    9 (336 bytes) ROOT LEAK: <NSDictionary 0x6000021df9e0> [32]

Leak report with email sending

Process 14947 is not debuggable. Due to security restrictions, leaks can only show or save contents of readonly memory of restricted processes.

      9 (336 bytes) ROOT LEAK: <NSDictionary 0x6000011643a0> [32]
      9 (336 bytes) ROOT LEAK: <NSDictionary 0x60000116c060> [32]
      2 (144 bytes) ROOT LEAK: 0x60000114c900 [32]
      1 (80 bytes) ROOT LEAK: 0x60000327c230 [80]
      1 (80 bytes) ROOT LEAK: 0x60000327c280 [80]
@leopnt leopnt pinned this issue Mar 18, 2022
@leopnt leopnt unpinned this issue Mar 18, 2022
@leopnt
Copy link
Owner Author

leopnt commented Mar 18, 2022

Fixed by porting to Rust

@leopnt leopnt closed this as completed Mar 18, 2022
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

1 participant