[go: nahoru, domu]

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

Valgrind detected a memory leak when the program exits #332

Open
nqf opened this issue May 7, 2024 · 0 comments
Open

Valgrind detected a memory leak when the program exits #332

nqf opened this issue May 7, 2024 · 0 comments

Comments

@nqf
Copy link
nqf commented May 7, 2024
==11921== 80 (24 direct, 56 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3
==11921==    at 0x4C2B067: malloc (vg_replace_malloc.c:380)
==11921==    by 0x983D0D: ares_malloc_zero (in /home/fantasy-peak/build/service)
==11921==    by 0x9828F3: ares_getaddrinfo (in /home/fantasy-peak/build/service)
==11921==    by 0x615D1D: trantor::AresResolver::resolveInLoop(std::string const&, std::function<void (std::vector<trantor::InetAddress, std::allocator<trantor::InetAddress> > const&)> const&) (in /home/fantasy-peak/build/service)
==11921==    by 0x618CCF: trantor::AresResolver::resolve(std::string const&, std::function<void (trantor::InetAddress const&)> const&) (in /home/fantasy-peak/build/service)
==11921==    by 0x5559E6: drogon::HttpClientImpl::sendRequestInLoop(std::shared_ptr<drogon::HttpRequest> const&, std::function<void (drogon::ReqResult, std::shared_ptr<drogon::HttpResponse> const&)>&&) (in /home/fantasy-peak/build/service)
==11921==    by 0x556510: drogon::HttpClientImpl::sendRequestInLoop(std::shared_ptr<drogon::HttpRequest> const&, std::function<void (drogon::ReqResult, std::shared_ptr<drogon::HttpResponse> const&)>&&, double) (in /home/fantasy-peak/build/service)
==11921==    by 0x5EDF68: trantor::EventLoop::doRunInLoopFuncs() (in /home/fantasy-peak/build/service)
==11921==    by 0x5EEC99: trantor::EventLoop::loop() (in /home/fantasy-peak/build/service)
==11921==    by 0x5F0503: trantor::EventLoopThread::loopFuncs() (in /home/fantasy-peak/build/service)
==11921==    by 0x534AE02: execute_native_thread_routine (in /usr/lib64/libstdc++.so.6.0.31)
==11921==    by 0x4E42EA4: start_thread (in /usr/lib64/libpthread-2.17.so)
==11921== 
==11921== LEAK SUMMARY:
==11921==    definitely lost: 24 bytes in 1 blocks
==11921==    indirectly lost: 56 bytes in 2 blocks
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