Jiri Daněk created DISPATCH-2051:
------------------------------------

             Summary: py_string_2_c leak on a PR branch from 
system_tests_management
                 Key: DISPATCH-2051
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2051
             Project: Qpid Dispatch
          Issue Type: Test
            Reporter: Jiri Daněk


This is a PR failure, I cannot be sure it is not something caused by the PR 
itself. On mainline, leaks from {{leak:^load_server_config$}} and 
{{leak:^qd_dispatch_configure_connector$}} are suppressed, so that gets me 
thinking this is something related to that is intentionally ignored.

I'll jira it so it may be found in the future.

https://github.com/apache/qpid-dispatch/pull/880/checks?check_run_id=2356027210#step:9:982

{noformat}
19: Process 2243 error: exit code 1, expected 0
19: qdrouterd -c solo.conf -I 
/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python
19: 
/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/system_test.dir/system_tests_management/ManagementTest/setUpClass/solo-1.cmd
19: >>>>
19: 
19: =================================================================
19: ==2243==ERROR: LeakSanitizer: detected memory leaks
19: 
19: Direct leak of 14 byte(s) in 1 object(s) allocated from:
19:     #0 0x7f46210783dd in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x963dd)
19:     #1 0x7f4620a1c1e0 in py_string_2_c ../src/python_utils.c:35
19:     #2 0x7f4620a1c1e0 in py_string_2_c ../src/python_utils.c:25
19:     #3 0x7f4620861021 in qd_entity_get_string ../src/entity.c:51
19:     #4 0x7f462085e074 in qd_dispatch_configure_router ../src/dispatch.c:220
19:     #5 0x7f461ad08ff4  (/lib/x86_64-linux-gnu/libffi.so.7+0x6ff4)
19:     #6 0x7ffc76cc526f  ([stack]+0x1e26f)
19: 
19: -----------------------------------------------------
19: Suppressions used:
19:   count      bytes template
19:       1         56 qdr_core_subscribe
19:      13       7184 ^_PyObject_Realloc
19:     575     888666 ^PyObject_Malloc$
19:       2         64 ^PyThread_allocate_lock$
19:       4       9897 ^PyMem_Malloc$
19:       1        856 ^_PyObject_GC_Resize$
19:       1        704 ^list_resize$
19: -----------------------------------------------------
19: 
19: SUMMARY: AddressSanitizer: 14 byte(s) leaked in 1 allocation(s).
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to