Commit 75cfe64
Attempt to resolve a valgrind issue (CppMicroServices#1066) (CppMicroServices#1188)
trying to resolve this valgrind reported issue:
26: ==24460== at 0x484DA83: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
26: ==24460== by 0x40147D9: calloc (rtld-malloc.h:44)
26: ==24460== by 0x40147D9: allocate_dtv (dl-tls.c:375)
26: ==24460== by 0x40147D9: _dl_allocate_tls (dl-tls.c:634)
26: ==24460== by 0x4E5B7B4: allocate_stack (allocatestack.c:430)
26: ==24460== by 0x4E5B7B4: pthread_create@@GLIBC_2.34 (pthread_create.c:647)
26: ==24460== by 0x91D5EE: boost::asio::thread_pool::thread_pool(unsigned long) (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/bin/usDeclarativeServicesTests)
26: ==24460== by 0x916EDF: test::AsyncWorkServiceThreadPool::AsyncWorkServiceThreadPool(int) (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/bin/usDeclarativeServicesTests)
26: ==24460== by 0x53FCF9: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<test::AsyncWorkServiceThreadPool, std::allocator<test::AsyncWorkServiceThreadPool>, int>(test::AsyncWorkServiceThreadPool*&, std::_Sp_alloc_shared_tag<std::allocator<test::AsyncWorkServiceThreadPool> >, int&&) (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/bin/usDeclarativeServicesTests)
26: ==24460== by 0x52906B: test::TestAsyncWorkServiceEndToEnd_testUpdateConfigFromWithinModifiedCallback_Test::TestBody() (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/bin/usDeclarativeServicesTests)
26: ==24460== by 0x491AEC0: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/lib/libgtest.so.1.14.0)
26: ==24460== by 0x48FB4E5: testing::Test::Run() (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/lib/libgtest.so.1.14.0)
26: ==24460== by 0x48FB6A4: testing::TestInfo::Run() (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/lib/libgtest.so.1.14.0)
26: ==24460== by 0x48FB868: testing::TestSuite::Run() (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/lib/libgtest.so.1.14.0)
26: ==24460== by 0x491015E: testing::internal::UnitTestImpl::RunAllTests() (in /home/runner/work/CppMicroServices/CppMicroServices/build_0/lib/libgtest.so.1.14.0)
Signed-off-by: The MathWorks, Inc. <jdicleme@mathworks.com>
Co-authored-by: Jeff DiClemente <jeffdiclemente@users.noreply.github.com>1 parent 92e3c8c commit 75cfe64
3 files changed
Lines changed: 10 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 284 | + | |
299 | 285 | | |
300 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
301 | 289 | | |
302 | 290 | | |
303 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | 435 | | |
437 | 436 | | |
438 | 437 | | |
| |||
466 | 465 | | |
467 | 466 | | |
468 | 467 | | |
| 468 | + | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
0 commit comments