[MXS-3877] Kafkacdc memory leak Created: 2021-11-15  Updated: 2022-01-04  Resolved: 2022-01-04

Status: Closed
Project: MariaDB MaxScale
Component/s: cdc
Affects Version/s: 2.5.16
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Cannot Reproduce Votes: 1
Labels: None

Sprint: MXS-SPRINT-145, MXS-SPRINT-146

 Description   

Something in the Kafka client library leaks memory.

=================================================================
==30086==ERROR: LeakSanitizer: detected memory leaks
 
Direct leak of 112 byte(s) in 1 object(s) allocated from:
    #0 0x7f8273eb88a0 in malloc (/lib64/libasan.so.4+0xde8a0)
    #1 0x7f825fa47cef in rd_malloc /home/vagrant/build/librdkafka/src/rd.h:127
    #2 0x7f825fa47cef in rd_tmpabuf_new /home/vagrant/build/librdkafka/src/rdkafka_buf.h:59
    #3 0x7f825fa47cef in rd_kafka_metadata_cache_insert /home/vagrant/build/librdkafka/src/rdkafka_metadata_cache.c:215
 
SUMMARY: AddressSanitizer: 112 byte(s) leaked in 1 allocation(s).

I ran into this when running the kafkacdc system tests.



 Comments   
Comment by markus makela [ 2022-01-04 ]

Haven't been able to reproduce this since.

Generated at Thu Feb 08 04:24:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.