Repository navigation
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
Our C++ Valgrind CI job has started failing recently:
https://github.com/ursacomputing/crossbow/actions/runs/43781972234/job/133020982359
This is due to protobuf initialization routines allocating eternal memory area(s):
2026-11-16T01:15:47.8923787Z ==28498==
2026-11-16T01:15:47.8923848Z ==28498== HEAP SUMMARY:
2026-11-16T01:15:47.8923928Z ==28498== in use at exit: 8,824 bytes in 71 blocks
2026-11-16T01:15:47.8924054Z ==28498== total heap usage: 3,799,801 allocs, 3,799,730 frees, 4,547,832,108 bytes allocated
2026-11-16T01:15:47.8924110Z ==28498==
2026-11-16T01:15:47.8924218Z ==28498== 414 bytes in 16 blocks are possibly lost in loss record 22 of 26
2026-11-16T01:15:47.8924337Z ==28498== at 0x49BDF2F: operator new(unsigned long) (vg_replace_malloc.c:501)
2026-11-16T01:15:47.8924422Z ==28498== by 0x40DD229: allocate (new_allocator.h:151)
2026-11-16T01:15:47.8924501Z ==28498== by 0x40DD229: allocate (allocator.h:203)
2026-11-16T01:15:47.8924582Z ==28498== by 0x40DD229: allocate (alloc_traits.h:614)
2026-11-16T01:15:47.8924666Z ==28498== by 0x40DD229: _S_allocate (basic_string.h:142)
2026-11-16T01:15:47.8924922Z ==28498== by 0x40DD229: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long) (basic_string.tcc:164)
2026-11-16T01:15:47.8925310Z ==28498== by 0x7812D7A: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) [clone .isra.0] (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8925537Z ==28498== by 0x78468CE: google::protobuf::DescriptorPool::Tables::Tables() (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8925883Z ==28498== by 0x7846B42: google::protobuf::DescriptorPool::DescriptorPool(google::protobuf::DescriptorDatabase*, google::protobuf::DescriptorPool::ErrorCollector*) (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8926096Z ==28498== by 0x7846C02: google::protobuf::DescriptorPool::internal_generated_pool() (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8926339Z ==28498== by 0x7846D07: google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const*, int) (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8926608Z ==28498== by 0x78A85E8: google::protobuf::internal::AddDescriptors(google::protobuf::internal::DescriptorTable const*) (in /opt/conda/envs/arrow/lib/libprotobuf.so.28.3.0)
2026-11-16T01:15:47.8926698Z ==28498== by 0x417B71E: call_init.part.0 (dl-init.c:74)
2026-11-16T01:15:47.8926776Z ==28498== by 0x417B823: call_init (dl-init.c:120)
2026-11-16T01:15:47.8926851Z ==28498== by 0x417B823: _dl_init (dl-init.c:121)
2026-11-16T01:15:47.8926966Z ==28498== by 0x419559F: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
2026-11-16T01:15:47.8927020Z ==28498==
Component(s)
C++, Continuous Integration
Activity
apacheGH-55648: [C++][CI] Fix protobuf-induced Valgrind failures
GH-55648: [C++][CI] Fix protobuf-induced Valgrind failures (#55649)
pitrou commentedon Nov 17, 2026
Issue resolved by pull request 55649
#55649