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

Memory leak in OmemoManager #604

Open
lnjX opened this issue Mar 10, 2024 · 0 comments
Open

Memory leak in OmemoManager #604

lnjX opened this issue Mar 10, 2024 · 0 comments
Labels

Comments

@lnjX
Copy link
Member

lnjX commented Mar 10, 2024

$ ./tests/tst_qxmppomemomanager
********* Start testing of tst_QXmppOmemoManager *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), debian unknown
PASS   : tst_QXmppOmemoManager::initTestCase()
PASS   : tst_QXmppOmemoManager::testSecurityPolicies()
PASS   : tst_QXmppOmemoManager::testTrustLevels()
PASS   : tst_QXmppOmemoManager::testInit()
SKIP   : tst_QXmppOmemoManager::testSetUp() Export 'QXMPP_TESTS_INTEGRATION_ENABLED=1' to enable.
   Loc: [/home/lnj/dev/qxmpp/tests/qxmppomemomanager/tst_qxmppomemomanager.cpp(172)]
PASS   : tst_QXmppOmemoManager::testLoad()
SKIP   : tst_QXmppOmemoManager::testSendMessage() Export 'QXMPP_TESTS_INTEGRATION_ENABLED=1' to enable.
   Loc: [/home/lnj/dev/qxmpp/tests/qxmppomemomanager/tst_qxmppomemomanager.cpp(238)]
SKIP   : tst_QXmppOmemoManager::testSendIq() Export 'QXMPP_TESTS_INTEGRATION_ENABLED=1' to enable.
   Loc: [/home/lnj/dev/qxmpp/tests/qxmppomemomanager/tst_qxmppomemomanager.cpp(361)]
PASS   : tst_QXmppOmemoManager::cleanupTestCase()
Totals: 6 passed, 0 failed, 3 skipped, 0 blacklisted, 4ms
********* Finished testing of tst_QXmppOmemoManager *********

=================================================================
==433382==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x7fb6518d7f97 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
    #1 0x7fb6501f9dca in signal_context_create (/lib/x86_64-linux-gnu/libomemo-c.so.0+0x13dca) (BuildId: b6d84f2884f9b9de7b1974374a1bfcaa16182743)

SUMMARY: AddressSanitizer: 128 byte(s) leaked in 1 allocation(s).
@lnjX lnjX added the type:bug label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant