jiridanek commented on a change in pull request #1048:
URL: https://github.com/apache/qpid-dispatch/pull/1048#discussion_r581312963



##########
File path: tests/lsan.supp
##########
@@ -10,6 +10,27 @@ leak:qd_policy_c_counts_alloc
 leak:qd_policy_open_fetch_settings
 leak:qdr_error_description
 
+# to be triaged; unit_tests
+leak:http-libwebsockets.c

Review comment:
       I'd be happy to fix this in a subsequent step, or at least make an 
attempt at it, but for now, currently there _are_ leaks coming from 
`http-libwebsockets.c` so the suppression needs to stay here:
   
   
https://github.com/jiridanek/qpid-dispatch/runs/1964063810?check_suite_focus=true#step:9:593
   
   ```
   9: =================================================================
   9: ==2292==ERROR: LeakSanitizer: detected memory leaks
   9: 
   9: Indirect leak of 216 byte(s) in 1 object(s) allocated from:
   9:     #0 0x7fa3b6a8bdc6 in calloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10ddc6)
   9:     #1 0x7fa3b63ce928 in qd_http_server ../src/http-libwebsockets.c:963
   9:     #2 0x7fa3b63b5ec7 in qd_server ../src/server.c:1364
   9:     #3 0x7fa3b6207fff in qd_dispatch_prepare ../src/dispatch.c:330
   9:     #4 0x7fa3b1208ff4  (/lib/x86_64-linux-gnu/libffi.so.7+0x6ff4)
   9:     #5 0x7ffce6d1b37f  ([stack]+0x1f37f)
   9: 
   9: Indirect leak of 64 byte(s) in 1 object(s) allocated from:
   9:     #0 0x7fa3b6a8caa5 in posix_memalign 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10eaa5)
   9:     #1 0x7fa3b6270a94 in sys_cond ../src/posix/threading.c:77
   9:     #2 0x7fa3b63ce96d in work_queue_init ../src/http-libwebsockets.c:231
   9:     #3 0x7fa3b63ce96d in qd_http_server ../src/http-libwebsockets.c:965
   9:     #4 0x7fa3b63b5ec7 in qd_server ../src/server.c:1364
   9:     #5 0x7fa3b6207fff in qd_dispatch_prepare ../src/dispatch.c:330
   9:     #6 0x7fa3b1208ff4  (/lib/x86_64-linux-gnu/libffi.so.7+0x6ff4)
   9:     #7 0x7ffce6d1b37f  ([stack]+0x1f37f)
   9: 
   9: -----------------------------------------------------
   9: Suppressions used:
   9:   count      bytes template
   9:       1       1160 run_unit_tests.c
   9:       1         64 sys_mutex
   9:       1         56 qdr_core_subscribe
   9:       9       5080 ^_PyObject_Realloc
   9:     540     862547 ^PyObject_Malloc$
   9:       1         32 ^PyThread_allocate_lock$
   9:       4       9897 ^PyMem_Malloc$
   9:       1        856 ^_PyObject_GC_Resize$
   9:       1        295 ^_PyBytes_Resize$
   9:       5    1058064 /libwebsockets.so
   9: -----------------------------------------------------
   9: 
   9: SUMMARY: AddressSanitizer: 280 byte(s) leaked in 2 allocation(s).
    7/37 Test  #9: unit_tests .....................................***Failed    
2.03 sec
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to