This is interesting and may indicate an issue specific to Fedora (or
the versions of dependent libraries on Fedora) as the Travis CI runs an
ASAN job on Ubuntu 20.04 with the clang compiler which does not see any
failure. It also runs a TSAN job but there the python tests are
disabled for some reason so no failure information for this test from
there.

Andrew

On Mon, 2022-02-28 at 10:29 -0500, Ken Giusti wrote:
> +- "?"
> 
> Just want to rule out any error that may be creeping in between my
> grey
> matter and my keyboard,  but I'm hitting errors running the
> python-integration-tests.
> Anyone else getting these?
> 
> $ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kgiusti
> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DRUNTIME_CHECK=asan
> ...
> 
> - 27:
> =================================================================
> - 27: ==30317==ERROR: LeakSanitizer: detected memory leaks
> - 27:
> - 27: Indirect leak of 128 byte(s) in 4 object(s) allocated from:
> - 27:     #0 0x7f125fa7491f in __interceptor_malloc
> (/lib64/libasan.so.6+0xae91f)
> - 27:     #1 0x7f124d14100a in tls1_set_raw_sigalgs ssl/t1_lib.c:2083
> - 27:     #2 0x7f124d14100a in tls1_set_sigalgs_list
> ssl/t1_lib.c:2075
> - 27:
> - 27: -----------------------------------------------------
> - 27: Suppressions used:
> - 27:   count      bytes template
> - 27:      14        448 ^pn_buffer$
> - 27:       2        256 ^pn_buffer_ensure$
> - 27:      12       1536 ^pn_list$
> - 27:       8       4096 ^pni_map_allocate$
> - 27:     178      12720 ^pn_object_new$
> - 27:      18        720 ^pni_record_create$
> - 27:      23        368 ^pn_stringn$
> - 27:       7        668 ^pn_string_grow$
> - 27:       4        224 ^pn_ssl_domain$
> - 27:   41760    2520512 libcrypto.so
> - 27:     652     751961 libpython
> - 27: -----------------------------------------------------
> - 27:
> - 27: SUMMARY: AddressSanitizer: 128 byte(s) leaked in 4
> allocation(s).
> - 1/1 Test #27: python-integration-test ..........***Failed   30.96
> sec
> 
> And with TSAN:
> 
> 
> $ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kgiusti
> -DCMAKE_BUILD_TYPE=RelWithDebInfo -DRUNTIME_CHECK=tsan
> ...
> $ctest -V -R python-integration-test
> ...
> 
> 27: test_application_event_no_object_leaks
> (test_PROTON_1709_application_event_object_leak.Proton1709Test) ...
> ok
> 
> 27: test_sync_request_response_blocking_connection_no_fd_leaks
> (test_PROTON_1800_syncrequestresponse_fd_leak.Proton1800Test) ... ok
> 
> 27: test_send_message_ssl_no_object_leaks
> (test_PROTON_2111_container_ssl_ssldomain_object_leak.Proton2111Test)
> 
> 27: Starts a broker with ssl acceptor, in a loop connects to it and
> sends
> message. ... ==================
> 
> 27: WARNING: ThreadSanitizer: data race (pid=34593)
> 
> 
> 27:   Read of size 8 at 0x7fa5b8327e20 by main thread:
> 
> 
> 27:     #0 _Py_INCREF /usr/include/python3.10/object.h:472
> (_cproton.so+0x3623e)
> 
> 27:     #1 SWIG_Py_Void
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1276
> (_cproton.so+0x3623e)
> 27:     #2 SWIG_Python_NewPointerObj
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:2364
> (_cproton.so+0x3623e)
> 27:     #3 _wrap_pn_collector_peek
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:1293
> 5
> (_cproton.so+0x3d0bc)
> 27:     #4 cfunction_vectorcall_O
> /usr/src/debug/python3.10-3.10.2-
> 1.fc34.x86_64/Objects/methodobject.c:516
> (libpython3.10.so.1.0+0x11eed6)
> 27:
> 
> 
> 27:   Previous write of size 8 at 0x7fa5b8327e20 by thread T3:
> 
> 
> 27:     #0 _Py_INCREF /usr/include/python3.10/object.h:472
> (_cproton.so+0x2107e)
> 
> 27:     #1 _Py_NewRef /usr/include/python3.10/object.h:582
> (_cproton.so+0x2107e)
> 
> 27:     #2 pn_void2py
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3336
> (_cproton.so+0x2107e)
> 27:     #3 pn_void2py
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:3328
> (_cproton.so+0x2107e)
> 27:     #4 _wrap_pn_void2py
> /home/kgiusti/tmp/proton/qpid-proton-
> 0.37.0/BUILD/python/CMakeFiles/_cproton.dir/cprotonPYTHON_wrap.c:4481
> (_cproton.so+0x2107e)
> 27:     #5 cfunction_vectorcall_O
> /usr/src/debug/python3.10-3.10.2-
> 1.fc34.x86_64/Objects/methodobject.c:516
> (libpython3.10.so.1.0+0x11eed6)
> 27:
> 
> 
> 27:   Location is global '_Py_NoneStruct' of size 16 at
> 0x7fa5b8327e20
> (libpython3.10.so.1.0+0x000000340e20)
> 
> 27:
> 
> 
> 27:   Thread T3 (tid=34606, running) created by main thread at:
> 
> 
> 27:     #0 pthread_create <null> (libtsan.so.0+0x5bef5)
> 
> 
> 27:     #1 PyThread_start_new_thread <null>
> (libpython3.10.so.1.0+0x1e006a)
> 
> 
> 27:
> 
> 
> 27: SUMMARY: ThreadSanitizer: data race
> /usr/include/python3.10/object.h:472 in _Py_INCREF
> ...
> 
> 27: -----------------------------------------------------------------
> -----
> 
> 
> 27: Ran 9 tests in 42.124s
> 
> 
> 27:
> 
> 
> 27: OK (expected failures=4)
> 
> 
> 27: ThreadSanitizer: reported 1 warnings
> 
> 
> 1/1 Test #27: python-integration-test ..........***Failed   45.48 sec
> 
> I'm running Fedora 34.
> 
> 
> On Thu, Feb 24, 2022 at 8:24 AM Robbie Gemmell
> <robbie.gemm...@gmail.com>
> wrote:
> 
> > Hi folks,
> > 
> > I have put together a first spin for a Qpid Proton 0.37.0 release,
> > please give it a test out and vote accordingly.
> > 
> > The files can be grabbed from:
> > https://dist.apache.org/repos/dist/dev/qpid/proton/0.37.0-rc1/
> > 
> > The JIRAs assigned are:
> > 
> > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12313720&version=12350731
> > 
> > It is tagged as 0.37.0-rc1.
> > 
> > Regards,
> > Robbie
> > 
> > -------------------------------------------------------------------
> > --
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > For additional commands, e-mail: users-h...@qpid.apache.org
> > 
> > 
> 


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

Reply via email to