Closed psmskelton closed 1 year ago
This and #116 are solved by bringing the src/thirdparty/lua-protobuf
library up-to-date. Specifically, https://github.com/starwing/lua-protobuf/issues/156 and https://github.com/starwing/lua-protobuf/pull/181 both identified the leak in 2022 caused by a missing delete on the oneof_decl
.
@tsaubergine Any ideas how the CI missed this?
The CI doesn't run the unit tests on arm builds as these are cross-compile builds. Now that CircleCI supports ARM builds natively I can consider running the unit tests for arm64 automatically: https://circleci.com/docs/using-arm/
Oh, this is on amd64. Hmm...quick look suggests this should run the same test: https://app.circleci.com/pipelines/github/GobySoft/dccl/221/workflows/6225951e-b4a0-4fea-9340-4f67989182c2/jobs/4164
Yes I can easily replicate what you see on my laptop, but it doesn't fail on CircleCI ... that's annoying...
Ah, apparently I was suppressing leaks from liblua5.3.so: https://github.com/GobySoft/dccl/blob/4.0/.circleci/config.yml#L198
I probably thought this was a false positive in Lua but actually comes from lua-protobuf
Ahhh, yes, that would explain the whole CI missing it part :)
While trying to trace down the source of some issues on
armhf
andarm64
platforms, I thought I'd check myamd64
development platform first. While doing so, I noticed the4.0
repository is failing anlsan
test, although the CI*san
tests are passing.Horribly mangled Dockerfile for easy testing:
EDIT 1: Fixed
cmake
call typo.