You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2023/04/08 08:16:00 UTC

[jira] [Commented] (QPID-8627) [broker-cpp] Valgrind leak in acl_tests

    [ https://issues.apache.org/jira/browse/QPID-8627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709849#comment-17709849 ] 

Jiri Daněk commented on QPID-8627:
----------------------------------

same issue in different tests, https://github.com/jiridanek/qpid-cpp/actions/runs/4643790486/jobs/8218645048#step:14:607

> [broker-cpp] Valgrind leak in acl_tests
> ---------------------------------------
>
>                 Key: QPID-8627
>                 URL: https://issues.apache.org/jira/browse/QPID-8627
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: qpid-cpp-1.40.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> https://github.com/jiridanek/qpid-cpp/actions/runs/4641006391/jobs/8213532048#step:14:2350
> {noformat}
> 24: run_acl_tests: Error: Broker(port=44561, pid=14117, exit=100) exited with code 100
> 24: Valgrind reported errors:
> 24: ==14117== Memcheck, a memory error detector
> 24: ==14117== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
> 24: ==14117== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
> 24: ==14117== Command: qpidd --port 0 --interface localhost --no-module-dir --log-enable info+ --log-source yes --log-to-stderr no --log-to-file /home/runner/work/qpid-cpp/qpid-cpp/BLD/run_acl_tests_582c/broker_1/log --config /home/runner/work/qpid-cpp/qpid-cpp/BLD/src/tests/qpidd-empty.conf --data-dir /home/runner/work/qpid-cpp/qpid-cpp/BLD/run_acl_tests_582c/broker_1/data --auth no
> 24: ==14117== Parent PID: 13871
> 24: ==14117== 
> 24: ==14117== 
> 24: ==14117== HEAP SUMMARY:
> 24: ==14117==     in use at exit: 3,049 bytes in 20 blocks
> 24: ==14117==   total heap usage: 59,028 allocs, 59,008 frees, 15,457,816 bytes allocated
> 24: ==14117== 
> 24: ==14117== 3,049 (16 direct, 3,033 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 20
> 24: ==14117==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> 24: ==14117==    by 0x4AEB1E2: qpid::broker::Broker::Broker(qpid::broker::BrokerOptions const&) (Broker.cpp:227)
> 24: ==14117==    by 0x110A3B: qpid::broker::QpiddBroker::execute(qpid::broker::QpiddOptions*) (QpiddBroker.cpp:229)
> 24: ==14117==    by 0x113DF7: qpid::broker::run_broker(int, char**, bool) (qpidd.cpp:108)
> 24: ==14117==    by 0x51ED082: (below main) (libc-start.c:308)
> 24: ==14117== 
> 24: {
> 24:    <insert_a_suppression_name_here>
> 24:    Memcheck:Leak
> 24:    match-leak-kinds: definite
> 24:    fun:_Znwm
> 24:    fun:_ZN4qpid6broker6BrokerC1ERKNS0_13BrokerOptionsE
> 24:    fun:_ZN4qpid6broker11QpiddBroker7executeEPNS0_12QpiddOptionsE
> 24:    fun:_ZN4qpid6broker10run_brokerEiPPcb
> 24:    fun:(below main)
> 24: }
> 24: ==14117== LEAK SUMMARY:
> 24: ==14117==    definitely lost: 16 bytes in 1 blocks
> 24: ==14117==    indirectly lost: 3,033 bytes in 19 blocks
> 24: ==14117==      possibly lost: 0 bytes in 0 blocks
> 24: ==14117==    still reachable: 0 bytes in 0 blocks
> 24: ==14117==         suppressed: 0 bytes in 0 blocks
> 24: ==14117== 
> 24: ==14117== For lists of detected and suppressed errors, rerun with: -s
> 24: ==14117== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
> {noformat}
> {noformat}
> 24/26 Test #24: acl_tests ........................***Failed   75.73 sec
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org