[MDEV-29579] Connect engine ASAN failures Created: 2022-09-20  Updated: 2022-09-26  Resolved: 2022-09-26

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.3
Fix Version/s: 10.3.37

Type: Bug Priority: Major
Reporter: Andrew Hutchings Assignee: Andrew Hutchings
Resolution: Fixed Votes: 0
Labels: None


 Description   

ASAN failures reported by marko / buildbot (http://buildbot.askmonty.org/buildbot/builders/kvm-asan/builds/9035):

***Warnings generated in error logs during shutdown after running tests: connect.mysql_exec connect.mysql_discovery connect.zip connect.mrr connect.xml_mdev5261 connect.bson_udf connect.odbc_postgresql connect.fix connect.alter connect.ini connect.xml2_mult connect.odbc connect.tbl connect.alter_xml2 connect.vcol connect.xml2_mdev5261 connect.infoschema-9739 connect.mysql_grant connect.xcol connect.temporary connect.json_udf_bin connect.grant connect.datest connect.odbc_sqlite3_grant connect.xml_grant connect.rest connect.grant2 connect.xml2 connect.updelx2 connect.xml2_html connect.odbc_firebird connect.mul_new connect.xml2_zip connect.dir connect.infoschema2-9739 connect.dbf connect.xml_zip connect.odbc_sqlite3 connect.xml_html connect.occur connect.general connect.xml connect.pivot connect.fmt connect.mysql_new connect.mul connect.json_udf connect.xml_mult connect.null connect.bin connect.updelx connect.mysql_index connect.odbc_xls connect.csv connect.vec connect.odbc_oracle connect.upd connect.grant3 connect.ini_grant connect.unsigned connect.xml2_grant connect.alter_xml connect.endian connect.misc connect.index connect.mysql
 
==123608==ERROR: LeakSanitizer: detected memory leaks
SUMMARY: AddressSanitizer: 465 byte(s) leaked in 15 allocation(s).

This appears to be unrelated to the JSON leaks fixed previously.



 Comments   
Comment by Andrew Hutchings [ 2022-09-21 ]

Leak is due to a custom libXML2 cleanup function to work around a problem which no longer seems to exist.

Comment by Andrew Hutchings [ 2022-09-22 ]

Fix in https://github.com/MariaDB/server/pull/2277

Generated at Thu Feb 08 10:09:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.