celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] pnoltes commented on issue #177: Memory leak fixes
Date Fri, 27 Mar 2020 12:21:39 GMT
pnoltes commented on issue #177: Memory leak fixes
URL: https://github.com/apache/celix/pull/177#issuecomment-604970120
 
 
   > There's still one remaining in avrobin_serializer.c. Idzard and I both couldn't easily
figure it out.
   > 
   > ```
   > 11: Direct leak of 2016 byte(s) in 63 object(s) allocated from:
   > 11:     #0 0x7ff3d8eb2d28 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded28)
   > 11:     #1 0x7ff3d8b9c4cb in dynType_sequence_alloc /home/runner/work/celix/celix/libs/dfi/src/dyn_type.c:656
   > 11:     #2 0x7ff3d8bb7ba3 in avrobinSerializer_parseSequence /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:497
   > 11:     #3 0x7ff3d8bb6d8e in avrobinSerializer_parseAny /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:364
   > 11:     #4 0x7ff3d8bb7973 in avrobinSerializer_parseSequence /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:477
   > 11:     #5 0x7ff3d8bb6d8e in avrobinSerializer_parseAny /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:364
   > 11:     #6 0x7ff3d8bb6182 in avrobinSerializer_createType /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:231
   > 11:     #7 0x7ff3d8bb55e6 in avrobinSerializer_deserialize /home/runner/work/celix/celix/libs/dfi/src/avrobin_serializer.c:77
   > 11:     #8 0x5648e495923b in generalTests /home/runner/work/celix/celix/libs/dfi/test/avrobin_serialization_tests.cpp:451
   > 11:     #9 0x5648e4963ec6 in TEST_AvrobinSerializerTests_GeneralTests_Test::testBody()
/home/runner/work/celix/celix/libs/dfi/test/avrobin_serialization_tests.cpp:603
   > 11:     #10 0x5648e4972761 in PlatformSpecificSetJmpImplementation src/Platforms/Gcc/UtestPlatform.cpp:144
   > ```
   
   I do not understand this. on travis the build are fine. Also using asan and ubuntu 18,
but for the GitHub workflows the asan build is failing ....

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message